Quelpr

CSEC Information Technology · January 2013 · Paper 2 · Question 9(c)

State the specific purpose of the writeln command.

The mark scheme is shown once you've answered.

Practise this question

Other parts of this question

  1. 9(a)State the name of the programming language used to write the code.[1 mark]
  2. 9(b)Explain whether the code in lines 5 to 10 represents a loop, selection, or sequence of statements.[2 marks]
  3. 9(d)Write the output from the program when Num1 = 3 and Num2 = 4.[8 marks]
  4. 9(e)(i)For EACH set of values, state whether a logic error, syntax error or no error is produced.[2 marks]
  5. 9(e)(ii)If an error is produced, indicate whether the value in Num1 or Num2 has caused the error.[1 mark]

More practice: the rest of this paper · more Programming Languages questions · all CSEC Information Technology past papers