Quelpr

CSEC Information Technology · January 2010 · Paper 1 · Question 12(a)

Programming concepts and conditional statements.

Explain the difference between a 'syntax error' and a 'logic error'.

The mark scheme is shown once you've answered.

Practise this question

Other parts of this question

  1. 12(b)(i)Explain the execution of Line 1: 'If MARK > 50 Then print "Good"'.[1 mark]
  2. 12(b)(ii)Explain the execution of Line 2: 'If MARK >= 50 Then print "Day"'.[1 mark]
  3. 12(c)(i)Given that MARK is 50, state the line number corresponding to the code above that would print a result.[1 mark]
  4. 12(c)(ii)Write the result that would be printed when MARK is 50.[1 mark]

More practice: the rest of this paper · more Program Checks and Tests questions · all CSEC Information Technology past papers