Past-paper question · 2016 October-November · Paper 42 · Q4(b)(ii)

Question 4(b)(ii) 2016 · October-November · Paper 42 · 2 marks

Original past-paper question for 4(B)(II)
Original past-paper question for 4(B)(II)
Original past-paper question for 4(B)(II)
Original past-paper question for 4(B)(II)
Reveal official mark-scheme answer Official mark-scheme answer for 4(B)(II)

Official answer for Question 4

Part (b)

(ii)

(ii)

1 mark for naming error, 1 mark for line number and correction

✓
A Logic error
✓
B Logic error
✓
C Logic error
[1]

Question 7

Question 10

Question 7

[1]
✓
NoMoreSwaps = False
✓
NoMoreSwaps :=
✓
NoMoreSwaps =
✓
FALSE;
✓
False

Mark scheme 9608_w16_ms_42.pdf →

Show text version of question

Question 4

Part (b)

(ii)

Question 4

Circle the programming language that you have studied:

Visual Basic (console mode) Python Pascal Delphi (console mode)

(ii)

A programmer corrects the syntax error and tests the function. It does not perform as

expected. The items are not fully in order.

State the type of error .......................................................................................................

Write the line number where the error occurs.

...........................................................................................................................................

Write the correct code for this line.

.......................................................................................................................................[2]

Topic relevance

Why this question appears here

71% assigned-topic match · Hardware › Logic gates and logic circuits

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 9608_w16_qp_42.pdf

Keep practising this topic