Past-paper question · 2012 October-November · Paper 21 · Q8(b)(iii)

Question 8(b)(iii) 2012 · October-November · Paper 21 · 18 marks

Original past-paper question for 8(B)(III)
Original past-paper question for 8(B)(III)
Original past-paper question for 8(B)(III)
Original past-paper question for 8(B)(III)
Original past-paper question for 8(B)(III)
Original past-paper question for 8(B)(III)
Original past-paper question for 8(B)(III)
Original past-paper question for 8(B)(III)
Original past-paper question for 8(B)(III)
Reveal official mark-scheme answer

The answer for this question is in the official mark scheme: open the mark scheme.

Mark scheme 9691_w12_ms_21.pdf →

Show text version of question

Question 8

Part (b)

(iii)

Question 8

[10]

Question 5

(ii)

Explain why Bike46 is an invalid bike ID. For

Examiner's Use

State the line number of your code in part (f)(i) which detects that it is invalid.

Line Number

[2]

Part (g)

(i)

Soni will need to test the logic of this program module.

State whether this is black box testing or white box testing.

[1]

(ii)

Soni is also planning to use alpha testing of the software.

Explain who will do the testing, when the testing would be carried out, and what will be the purpose of this testing stage.

who

when

purpose

[3]

Question 6

2 The company stores the bikes in bike racks. The bike racks are in 30 rows, each with 3 For places. Each bike is always kept in the same place. Examiner's Use

The array BikePlace[30,3] stores the bike ID. Soni uses a flowchart to help him design a module to populate the array with bike IDs.

Row ← 1

No Row <= 30? To rest of program

Yes

Position ← 1

No Position <= 3?

Yes

Input BikeID

BikePlace[Row, Position] ← BikeID

Position ← Position + 1

Row ← Row + 1

Question 7

(iii)

Write down two reserved words from your code in (i).

Programming language

Words

[2]

Question 10

Topic relevance

Why this question appears here

75% assigned-topic match · Programming

Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.

Permanent source page: Educate A Change · From 9691_w12_qp_21.pdf

Keep practising this topic