Quelpr

CSEC Information Technology · 2011 · Paper 2 · Question 9(a)

Two arrays containing numbers: List1: [2, 4, 5, 8], List2: [1, 3, 5, 7].

Write code in Pascal to declare the array List1.

The mark scheme is shown once you've answered.

Practise this question

Other parts of this question

  1. 9(b)Write the contents of the two arrays after execution of the following fragment of code: for x := 1 to 4 do List1[x] := List1[x] - List2[x][5 marks]

More practice: the rest of this paper · more Declaring Variables and Constants questions · all CSEC Information Technology past papers