Quelpr

Other parts of this question

  1. 13(a)(i)Write the line number(s) that contain code to identify input.[1 mark]
  2. 13(a)(ii)Write the line number(s) that contain code to identify declaration.[2 marks]
  3. 13(a)(iii)Write the line number(s) that contain code to identify output.[1 mark]
  4. 13(b)The program contains FOUR errors. For EACH error, write the line number and the corrected line of code.[4 marks]
  5. 13(c)(ii)Identify a conditional statement from the program segment.[1 mark]
  6. 13(c)(iii)Identify a data type from the program segment.[1 mark]
  7. 13(d)Explain the purpose of the program segment.[3 marks]
  8. 13(e)(i)State the result when value1 = 40, value2 = 50 is used in the corrected program.[2 marks]
  9. 13(e)(ii)State the result when value1 = 50, value2 = 40 is used in the corrected program.[2 marks]
  10. 13(e)(iii)State the result when value1 = 50, value2 = 50 is used in the corrected program.[2 marks]

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