11.1 Programming basics
7 questions in this subtopic. Open a question to solve it and check the official answer.
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…
