Computer Science 2210 · 8

Programming

28 questions. Open a question to solve it and check the official answer.

Reset
2016 May-June · Paper 21 · Q1(a)(ii)

Programming concepts · 2 marks · official answer ready

(ii) State two constants that you could have used for Task 1. Give the value that would be assigned to each one. Constant 1 name ..................................................…

2016 May-June · Paper 21 · Q1(d)

Programming · 4 marks · official answer ready

(d) Explain how your program calculates the price for a consignment (part of Task 3). You may include programming statements as part of your explanation. .........................…

2016 May-June · Paper 21 · Q2

Programming concepts · 0 marks · official answer ready

2 Read this section of program code that inputs 10 positive numbers and then outputs the smallest number input. 1 Small = 1000 2 Counter = 0

2016 May-June · Paper 21 · Q5

Programming concepts · 0 marks

5 IF Num < Small THEN Small = Num

2016 May-June · Paper 22 · Q1(a)(i)

Programming concepts · 3 marks · official answer ready

(i) For three of the variables that you have used in Task 2, state the name, type and its use. Variable 1 name ....................................................................…

2016 May-June · Paper 22 · Q1(a)(ii)

Programming concepts · 3 marks · official answer ready

(ii) State three constants that you could have used for Task 1. Give the value that would be assigned to each one. Constant 1 name ................................................…

2016 May-June · Paper 22 · Q1(d)

Programming · 5 marks · official answer ready

(d) Explain how your program calculates the price for an order (Task 3). You may include programming statements as part of your explanation. ......................................…

2016 May-June · Paper 22 · Q2

Programming concepts · 0 marks · official answer ready

2 Read this section of program code that inputs 10 positive numbers and then outputs the total. 1 Total = 0 2 Counter = 0