Computing 9691 · 11

Programming

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

Reset
2015 May-June · Paper 11 · Q6(d)(ii)

Programming basics · 4 marks

(ii) Identify the bit position that contains the incorrect bit. ...................................................................................................................…

2015 May-June · Paper 11 · Q7(b)

Constructs · 4 marks · official answer ready

(b) The website contains pages showing photos of the products and product details. Name two types of software that could have been used in the development of the website. Give a r…

2015 May-June · Paper 12 · Q8(a)(ii)

Programming basics · 1 mark · official answer ready

(ii) Study the output in your answer to part (a)(i). State what could replace this whole logic circuit. ...........................................................................…

2015 May-June · Paper 12 · Q10(d)

Constructs · 4 marks · official answer ready

(d) Describe how the sensors and microprocessor are used to measure a runner’s time to cover the 20 km course. ....................................................................…

2015 May-June · Paper 13 · Q3(b)(i)

Constructs · 2 marks

(i) Describe two features of spreadsheet software which make it suitable for this task. Feature 1 .................................................................................…

2015 May-June · Paper 13 · Q5(a)

Constructs · 4 marks · official answer ready

5 (a) A local area network has four computers. Star, ring and bus are network topologies. Complete the diagrams to show how the computers are connected in each of these topologies…

2015 May-June · Paper 13 · Q6(c)

Constructs · 1 mark · official answer ready

(c) Describe what could happen if the handset transmits the following selection: 1 0 1 0 1 0 0 ....................................................................................…

2015 May-June · Paper 21 · Q2(a)(i)

Programming basics · 4 marks

(i) The sequence of numbers 3, 5, 2, 1 is input and terminated with −1. Complete the trace table. x Result x -1 0 0 Output ........................................................…

2015 May-June · Paper 21 · Q2(a)(ii)

Programming basics · 1 mark

(ii) Give the expected result from the sum of the numbers 3, 5, 2, 1. .............................................................................................................…

2015 May-June · Paper 21 · Q2(a)(iii)

Programming basics · 1 mark

(iii) What is the error in the given pseudocode? ..................................................................................................................................…

2015 May-June · Paper 21 · Q2(a)(iv)

Programming basics · 1 mark

(iv) State the type of error. ...................................................................................................................................... [1]

2015 May-June · Paper 21 · Q2(b)

Programming basics · 3 marks

(b) Rewrite the pseudocode so that it works correctly. ............................................................................................................................…

2015 May-June · Paper 21 · Q3(a)(iii)

Constructs · 7 marks · official answer ready

(iii) In a high-level programming language, write statements to: • declare the array Grid • assign the value for an empty cell to all cells Programming language ..................…

2015 May-June · Paper 21 · Q3(c)(i)

Constructs · 1 mark · official answer ready

(i) Identify one feature in the above pseudocode which indicates that top-down design has been used. ..............................................................................…

2015 May-June · Paper 21 · Q3(c)(ii)

Constructs · 1 mark

(ii) State one benefit of top-down design. ........................................................................................................................................…

2015 May-June · Paper 21 · Q3(c)(iii)

Constructs · 5 marks · official answer ready

(iii) Give the line number of a statement which shows: Assignment .................................................................................................................…

2015 May-June · Paper 21 · Q3(c)(iv)

Constructs · 2 marks

(iv) Ali has written the pseudocode with features that make it easier to understand. State two such features. Feature 1 ...........................................................…

2015 May-June · Paper 21 · Q3(c)(v)

Constructs · 5 marks

(v) Complete the identifier table below. Variable or Procedure Identifier Data type Description or Function or Array FALSE if game in progress GameEnd Variable BOOLEAN TRUE if the…

2015 May-June · Paper 21 · Q3(h)

Constructs · 2 marks

(h) When Ali has tested all individual modules he plans to do further testing. Give two types of testing Ali should do. 1 .........................................................…

2015 May-June · Paper 21 · Q4(c)(i)

Constructs · 1 mark

(c) Ali uses the top-down design approach for his overall program solution. His design is as follows: 01 GameEnd ← FALSE 02 CurrentPlayer ← 'O' 03 CALL DisplayGrid() 04 05 REPEAT …