Computer Science 9608 · 9

9.2 Algorithms

47 questions in this subtopic. Open a question to solve it and check the official answer.

Reset
2016 October-November · Paper 31 · Q4(b)(i)

Algorithms · 13 marks · official answer ready

(i) Write the Boolean expression corresponding to the following logic circuit: A B X C ............................................................................................…

2015 October-November · Paper 21 · Q4

Algorithms · 13 marks · official answer ready

4 FALSE FALSE [4] 5 (b) The selection statement (lines 03 – 08) could have been written with more simplified logic. Rewrite this section of the algorithm in pseudocode. ..........…

2015 October-November · Paper 22 · Q2(b)

Algorithms · 3 marks · official answer ready

(b) The selection statement (lines 03 – 08) could have been written with more simplified logic. Rewrite this section of the algorithm in pseudocode. ..............................…

2015 October-November · Paper 22 · Q3

Algorithms · 6 marks · official answer ready

3 Regular customers at a supermarket use a rewards card at the point-of-sale. Points are calculated from every transaction and added to the points total stored on the card. One re…

2015 October-November · Paper 23 · Q4

Algorithms · 13 marks · official answer ready

4 FALSE FALSE [4] 5 (b) The selection statement (lines 03 – 08) could have been written with more simplified logic. Rewrite this section of the algorithm in pseudocode. ..........…

2015 May-June · Paper 41 · Q5(b)(ii)

Algorithms · 5 marks · official answer ready

(ii) Rewrite the algorithm in part (b), using pseudocode, to reduce the number of unnecessary comparisons. Use the same variable names where appropriate. .........................…

2015 May-June · Paper 42 · Q5(b)(ii)

Algorithms · 5 marks · official answer ready

(ii) Rewrite the algorithm in part (b), using pseudocode, to reduce the number of unnecessary comparisons. Use the same variable names where appropriate. .........................…