Programming
468 questions. Open a question to solve it and check the official answer.
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…
Constructs · 4 marks · official answer ready
(b) At the end of each day, the workers in a factory send, to the accounts department, the details of the time that they have been at work. They are paid at the end of each week. …
Structured programming · 4 marks · official answer ready
(b) Describe two methods of making the code of a piece of software more understandable to other programmers. [4]
Constructs · 38 marks
34 END PROCEDURE Validate The function Len(aString) returns the number of characters in aString. For example, if aString = "Computer", Len(aString) = 8. 4 When the procedure is ca…
Constructs · 22 marks
34 END PROCEDURE Validate The function Len(aString) returns the number of characters in aString. For example, if aString = "Computer", Len(aString) = 8. 4 When the procedure is ca…
Constructs · 22 marks
34 END PROCEDURE Validate The function Len(aString) returns the number of characters in aString. For example, if aString = "Computer", Len(aString) = 8. 4 When the procedure is ca…
Constructs · 22 marks
34 END PROCEDURE Validate The function Len(aString) returns the number of characters in aString. For example, if aString = "Computer", Len(aString) = 8. 4 When the procedure is ca…
Constructs · 21 marks
34 END PROCEDURE Validate The function Len(aString) returns the number of characters in aString. For example, if aString = "Computer", Len(aString) = 8. 4 When the procedure is ca…
