Programming
19 questions. Open a question to solve it and check the official answer.
Constructs · 2 marks · official answer ready
(i) Explain what is meant by a sequential file. [2]
Constructs · 2 marks · official answer ready
(ii) State two reasons why a sequential file is a sensible choice of file type in this case. [2]
Programming basics · 2 marks · official answer ready
(c) Give an example of a computer application which would need to be processed in real time. Justify your choice. [2]
Constructs · 2 marks · official answer ready
(i) hard copy form; [2]
Constructs · 2 marks · official answer ready
(ii) electronic form on a disk. [2]
Constructs · 2 marks · official answer ready
(i) the company; [2]
Constructs · 2 marks · official answer ready
(iii) society. [2] 4
Programming basics · 4 marks · official answer ready
(a) The robot is designed to travel around the floor of a factory. State two input and two output devices that would be necessary for the robot to move safely. [4]
Constructs · 2 marks · official answer ready
(c) Each of the robots can be controlled by a human being. Explain why one robot would be controlled in real-time while the other is given instructions as a batch. [2]
Structured programming · 4 marks · official answer ready
10 (a) Explain how the use of procedures and functions can assist a programming team when a piece of software is being developed. [4]
Structured programming · 0 marks · official answer ready
(i) a local variable;
Structured programming · 0 marks · official answer ready
(iii) a parameter passed by value;
Structured programming · 4 marks · official answer ready
(iv) a parameter passed by reference. [4]
Structured programming · 4 marks · official answer ready
(c) Explain how a stack is used to handle procedure calling and parameter passing. [4] [TOTAL 90] reasonable effort has been made by the publisher (UCLES) to trace copyright holde…
Constructs · 6 marks · official answer ready
(ii) The computer has a hard drive, a CD-RW drive and a DVD drive. State a different use, by the shopkeeper, for each of these three storage media. In each case say why it is appr…
Constructs · 6 marks · official answer ready
10 The computer system that controls the shirt printer is capable of producing management information at both the operational and strategic levels. Discuss the different types of …
Constructs · 5 marks · official answer ready
(ii) In whatever form you choose, describe an algorithm for finding the location in the array of a specific name ‘X’, using a serial search. [5]
Programming basics · 2 marks · official answer ready
(i) State what is meant by the term spooling. [2]
Constructs · 8 marks · official answer ready
10 Explain the need for standardisation in modern computer systems and give examples where standardisation is important. [8] [Total 90] 4 reasonable effort has been made by the pu…
