11.1 Programming basics
104 questions in this subtopic. Open a question to solve it and check the official answer.
Programming basics · 9 marks
3 [6] 6 2 Philipe is trying different ways of designing the process of entering data into an array. For He declares a variable called ArraySize and sets it to 3. Examiner's Use He…
Programming basics · 19 marks
(i) State the parameters of the function. [2]
Programming basics · 19 marks
(ii) Write the function header in the language you used in part (a). [2]
Programming basics · 16 marks
(a) Using a high-level programming language, write the code to perform this task. (Ensure that you use meaningful variable names and lay the code out clearly.) Programming languag…
Programming basics · 16 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…
Programming basics · 16 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…
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…
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…
Programming basics · 4 marks · official answer ready
(a) State two output peripherals that would be used for the HCI. Justify your answers. [4]
Programming basics · 4 marks · official answer ready
(a) State two output peripherals that would be used for the HCI. Justify your answers. [4]
Programming basics · 1 mark · official answer ready
(i) State what is meant by a real-time application. [1]
Programming basics · 1 mark · official answer ready
(i) State what is meant by verification of data. [1]
Programming basics · 3 marks
(a) State the output values of B, C and F for the following input test data 4, 6, 3, 7, 0 [3]
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]
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]
Programming basics · 2 marks · official answer ready
(i) State what is meant by the term spooling. [2]
