Programming
101 questions. Open a question to solve it and check the official answer.
Constructs · 4 marks
(i) The model aeroplane needs memory to allow: • the designer to store fixed data such as the factory settings • the operator to use one of the pre-programmed manoeuvres • the ope…
Constructs · 5 marks · official answer ready
4 At a supermarket, automatic stock control is used. The barcode on each item sold is read at a point-of-sale (POS) terminal. The following steps, when put into the correct sequen…
Programming basics · 4 marks
(i) Give the denary value if the byte contains: 7 6 5 4 3 2 1 0 0 1 1 1 1 0 0 0 ...................................................................................................…
Programming basics · 4 marks · official answer ready
(ii) Show what binary value must be stored in the byte to represent the denary value 43. 7 6 5 4 3 2 1 0 [1]
Programming basics · 5 marks · official answer ready
(i) The data are sent using half-duplex, serial transmission. Explain these terms: Half-duplex ....................................................................................…
Programming basics · 4 marks · official answer ready
(i) Identify the byte that contains the incorrect bit. ............................................................................................................................…
Programming basics · 4 marks
(ii) Identify the bit position that contains the incorrect bit. ...................................................................................................................…
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…
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. ...........................................................................…
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. ....................................................................…
Constructs · 2 marks
(i) Describe two features of spreadsheet software which make it suitable for this task. Feature 1 .................................................................................…
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…
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 ....................................................................................…
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 ........................................................…
Programming basics · 1 mark
(ii) Give the expected result from the sum of the numbers 3, 5, 2, 1. .............................................................................................................…
Programming basics · 1 mark
(iii) What is the error in the given pseudocode? ..................................................................................................................................…
Programming basics · 1 mark
(iv) State the type of error. ...................................................................................................................................... [1]
Programming basics · 3 marks
(b) Rewrite the pseudocode so that it works correctly. ............................................................................................................................…
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 ..................…
Constructs · 1 mark · official answer ready
(i) Identify one feature in the above pseudocode which indicates that top-down design has been used. ..............................................................................…
