Programming
468 questions. Open a question to solve it and check the official answer.
Programming basics · 19 marks · official answer ready
4 [8] 6 2 Gina is developing her programming skills in string handling. For She is going to input one string. Examiner's Use The string contains letters and zero or more '*' chara…
Structured programming · 9 marks · official answer ready
(i) State the parameter of the function. [1]
Constructs · 15 marks
(iii) State why Gina uses a function rather than a procedure. [1] 8 3 Liliane wants to write a program to play chess. She will represent the board of 8 x 8 For squares, using the …
Programming basics · 13 marks
4 [8] 6 2 Gina is developing her programming skills in string handling. For She is going to input one string. Examiner's Use The string contains letters and zero or more '*' chara…
Programming basics · 13 marks
(ii) 7 MOD 4
Programming basics · 20 marks
(iii) 7 DIV 4 [3] (b) Raul has Y litres of oil to put into drums. Each drum can hold X litres of oil. Write expressions to calculate: (i) the number of full drums [1] (ii) the num…
Programming basics · 4 marks · official answer ready
(i) Explain what is meant by these terms and give a typical application of each. Processor bound Application which is processor bound Input/Output bound Application which is I/O b…
Programming basics · 4 marks · official answer ready
(i) Explain what is meant by these terms and give a typical application of each. Processor bound Application which is processor bound Input/Output bound Application which is I/O b…
Constructs · 3 marks · official answer ready
(b) The following pseudocode uses the linked list to output all country names which are For alphabetically before a requested country. Examiner's Use For example, the user inputs …
Constructs · 2 marks · official answer ready
1 (a) Describe the purpose of storage devices. For Examiner's Use [2]
Constructs · 4 marks · official answer ready
(b) Describe how a stack is implemented using an array. [4] 6
Constructs · 4 marks · official answer ready
(b) When data is passed around a network it can be corrupted. Explain how check sums can be used to detect errors in transmitted data. [4] 9
Constructs · 2 marks · official answer ready
(ii) Spreadsheet [2]
Constructs · 5 marks · official answer ready
(d) The firm has a warehouse where all materials used in the building work are stored. Explain how a stock control system can be used to monitor the stock in the warehouse. It sho…
Constructs · 1 mark · official answer ready
(b) State a possible use for this circuit in a processor. [1] 11 12 reasonable effort has been made by the publisher (UCLES) to trace copyright holders, but if any items requiring…
Constructs · 2 marks · official answer ready
(i) parallel implementation [2]
Constructs · 2 marks · official answer ready
(ii) pilot implementation [2] 5
Constructs · 0 marks · official answer ready
(i) Explain why taking back-ups of the information collected is necessary.
Structured programming · 0 marks · official answer ready
(i) Local variable
Structured programming · 0 marks · official answer ready
(iii) Parameter passed by value
