Quelpr

Declaring Variables and Constants · CSEC Information Technology

14 past-paper questions on Declaring Variables and Constants, part of Program Implementation, from every CSEC Information Technology paper on Quelpr.

  1. 9(a)5 marks· CSEC Information Technology · 2011 · Paper 2Write code in Pascal to declare the array List1.
  2. 10(a)3 marks· CSEC Information Technology · 2011 · Paper 2initialize the array
  3. 9(d)2 marks· CSEC Information Technology · 2015 · Paper 2State the name of the variable which contains tax paid by public servants for 2015, and what is its data type.
  4. 10(a)4 marks· CSEC Information Technology · 2015 · Paper 2Declare the array named OMEGA in Pascal code.
  5. 13(a)(ii)2 marks· CSEC Information Technology · January 2010 · Paper 1Write the line number(s) that contain code to identify declaration.
  6. 9(a)5 marks· CSEC Information Technology · January 2014 · Paper 2Write codes in PASCAL to declare the array TEST1.
  7. 12(a)2 marks· CSEC Information Technology · January 2014 · Paper 2Write PASCAL code to declare the duties rate and luxury tax rate.
  8. 12(c)3 marks· CSEC Information Technology · January 2014 · Paper 2Write PASCAL code to declare THREE variables with meaningful names to be used in the program.
  9. 12(d)2 marks· CSEC Information Technology · January 2014 · Paper 2Write PASCAL code to initialize the variable that will contain the total duties and taxes to 0.
  10. 10(b)(i)2 marks· CSEC Information Technology · May/June 2013 · Paper 2Write a statement to initialize the variable X to zero.
  11. 115 marks· CSEC Information Technology · May/June 2013 · Paper 2Rewrite the Pascal statement given below to declare an array called LIST, replacing letters (A), (B) and (C) with the appropriate term or value: VAR (A) : ARRAY [ (B) ] of (C) ;
  12. 12(b)4 marks· CSEC Information Technology · May/June 2013 · Paper 2Declare a variable named SUM to store whole numbers.
  13. Q601 mark · multiple choice· CSEC Information Technology · May/June 2017 · Paper 1A computer programmer is coding an algorithm which calculates the class average for a given exam. He creates a variable called class_avg. Which data type should he specify when declaring this variable?
  14. 12(a)(v)1 mark· CSEC Information Technology · May/June 2019 · Paper 2State the data type for the number of payments.