Programming
56 questions. Open a question to solve it and check the official answer.
Constructs · 3 marks · official answer ready
(c) Complete the rule below to determine if two countries are in the same continent. in_same_continent(Country1, Country2) IF [3] reasonable effort has been made by the publisher …
Constructs · 6 marks · official answer ready
4 Describe the following methods of automated data capture. Give an example, in each case, of an application where it would be used. (i) Optical Mark Recognition (OMR) [3] (ii) Op…
Constructs · 6 marks · official answer ready
(ii) The table shows three fields that are used in the records for data stored about students. Give the data type for each field. Give a reason for your choice in each case. Field…
Constructs · 6 marks · official answer ready
4 Describe the following methods of automated data capture. Give an example, in each case, of an application where it would be used. (i) Optical Mark Recognition (OMR) [3] (ii) Op…
Constructs · 6 marks · official answer ready
(ii) The table shows three fields that are used in the records for data stored about students. Give the data type for each field. Give a reason for your choice in each case. Field…
Constructs · 1 mark · official answer ready
(ii) generic applications software [1]
Constructs · 4 marks · official answer ready
(d) The salesmen each have a terminal on the stall in the mall and each terminal is connected to a single computer. The computer runs a multi-user operating system. Describe what …
Constructs · 6 marks · official answer ready
4 When data is to be entered into a computer system it is sometimes entered using manual methods and sometimes it is captured and entered automatically. Describe the following met…
Constructs · 6 marks · official answer ready
(ii) The table shows three fields that are used in the records for data stored about T-shirts. Give the data type for each field. Give a reason for your choice in each case. Field…
Constructs · 5 marks · official answer ready
(d) Anna is to write a program to analyse the responses. For Examiner's Use Using nested IF...THEN statements, complete the pseudocode to calculate the totals for each BookType (p…
Programming basics · 7 marks · official answer ready
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…
Constructs · 8 marks
(c) Philipe is not convinced that a WHILE loop was the best choice for this pseudocode. For Instead he considers using a REPEAT...UNTIL loop. Examiner's Use Rewrite the corrected …
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]
Structured programming · 18 marks
(iii) State why Gina used a function rather than a procedure. [1]
Constructs · 5 marks · official answer ready
(d) Anna is to write a program to analyse the responses. For Examiner's Use Using nested IF...THEN statements, complete the pseudocode to calculate the totals for each BookType (p…
Programming basics · 7 marks · official answer ready
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…
Constructs · 8 marks
(c) Philipe is not convinced that a WHILE loop was the best choice for this pseudocode. For Instead he considers using a REPEAT...UNTIL loop. Examiner's Use Rewrite the corrected …
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…
