11.2 Constructs
259 questions in this subtopic. Open a question to solve it and check the official answer.
Constructs · 1 mark · official answer ready
(ii) abc := cba Reason .............................................................................................................................. .............................…
Constructs · 1 mark · official answer ready
(iii) bc < 49 Reason .............................................................................................................................. ...............................…
Constructs · 3 marks · official answer ready
(b) State three characteristics of massively parallel computers. 1 ................................................................................................................…
Constructs · 1 mark · official answer ready
(i) 35 > 24 Reason .............................................................................................................................. .................................…
Constructs · 1 mark · official answer ready
(ii) abc := cba Reason .............................................................................................................................. .............................…
Constructs · 1 mark · official answer ready
(iii) bc < 49 Reason .............................................................................................................................. ...............................…
Constructs · 3 marks · official answer ready
(b) State three characteristics of massively parallel computers. 1 ................................................................................................................…
Constructs · 4 marks · official answer ready
(ii) Complete the rules for the actions in the following decision table. Rules Document printed but the quality Y Y Y Y N N N N is poor Conditions Error light is flashing on print…
Constructs · 3 marks
4 The following table contains definitions related to testing terminology. Complete the table with the correct testing term to match the definition. Definition Term Software is te…
Constructs · 4 marks · official answer ready
(b) Describe how a number is removed from the circular queue to be processed. .....................................................................................................…
Constructs · 2 marks · official answer ready
(i) Two debugging features are described in the table. Write the correct name for each debugging feature. Description Name of debugging feature A point where the program can be ha…
Constructs · 4 marks · official answer ready
(ii) Complete the rules for the actions in the following decision table. Rules Document printed but the quality Y Y Y Y N N N N is poor Conditions Error light is flashing on print…
Constructs · 3 marks
4 The following table contains definitions related to testing terminology. Complete the table with the correct testing term to match the definition. Definition Term Software is te…
Constructs · 4 marks · official answer ready
(i) Describe two advantages of using library routines in the program. 1 ...........................................................................................................…
Constructs · 2 marks · official answer ready
(ii) Explain how the sampling rate and sampling resolution affect the file size of the sound track. Sampling rate .................................................................…
Constructs · 2 marks · official answer ready
(c) The sound track has a sampling rate of 88.2 kHz and a sampling resolution of 32 bits. State what is meant by a sampling rate of 88.2 kHz and a sampling resolution of 32 bits. …
Constructs · 5 marks · official answer ready
(i) Evaluate each expression in the following table. If an expression is invalid, write ERROR. For the built-in functions list, refer to the Appendix on page 16. Expression Evalua…
Constructs · 3 marks · official answer ready
(b) Chris is asked to work on a program that has been coded in a language he is not familiar with. He has identified that the program contains the constructs: sequence, iteration …
Constructs · 3 marks · official answer ready
(c) The following lines of code are taken from a program in a high-level language. ON x { 15: Call ProcA 20: y := 0 25: y := 99 NONE: Call ProcError } Identify the type of control…
Constructs · 7 marks · official answer ready
3 (a) A student is developing an algorithm to search through a 1D array of 100 elements. Each element of the array, Result, contains a REAL value. The algorithm will output: • the…
