Quelpr

CSEC Information Technology · January 2014 · Paper 2 · Question 12(b)

Draw a flow chart to check the engine size of a car and compute the luxury tax to be paid. Use the variable car_val to store the value of the car and the variable engine to store the size of the car engine.

The mark scheme is shown once you've answered.

Practise this question

Other parts of this question

  1. 12(a)Write PASCAL code to declare the duties rate and luxury tax rate.[2 marks]
  2. 12(c)Write PASCAL code to declare THREE variables with meaningful names to be used in the program.[3 marks]
  3. 12(d)Write PASCAL code to initialize the variable that will contain the total duties and taxes to 0.[2 marks]
  4. 12(e)Write PASCAL code to calculate the duty to be paid on a car. Use the variables you declared.[3 marks]

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