Computer Science 9608 · 11

11.2 Constructs

259 questions in this subtopic. Open a question to solve it and check the official answer.

Reset
2018 May-June · Paper 42 · Q5(c)

Constructs · 2 marks · official answer ready

(c) Explain how the project manager will use the GANTT chart to make sure the project is completed on time. .......................................................................…

2018 May-June · Paper 43 · Q3(a)

Constructs · 5 marks · official answer ready

(a) Complete the JSP structure diagram for this music service from the pseudocode given. Music Service [5] 7

2017 October-November · Paper 12 · Q5(b)

Constructs · 4 marks · official answer ready

(b) Consider each incident you have identified as ethical behaviour. Draw a line from each incident to indicate the IEEE category it maps to. [4] 10

2017 October-November · Paper 13 · Q7(e)

Constructs · 3 marks · official answer ready

(e) Write an SQL script to display the date and time of all appointments made by the patient with the PatientID of 556. ...........................................................…

2017 October-November · Paper 21 · Q1(c)

Constructs · 4 marks · official answer ready

(c) The following pseudocode is an example of nested IF statements. IF MyVar = 1 THEN CALL Proc1() ELSE IF MyVar = 2 THEN CALL Proc2() ELSE IF MyVar = 3 THEN CALL Proc3() ELSE OUT…

2017 October-November · Paper 22 · Q1(d)(i)

Constructs · 2 marks · official answer ready

(i) Describe what will happen if the pseudocode is tested when MyMark has the following values: 27 ................................................................................…

2017 October-November · Paper 22 · Q1(d)(ii)

Constructs · 5 marks · official answer ready

(ii) Use pseudocode to write an IF statement with the same functionality. .........................................................................................................…

2017 October-November · Paper 23 · Q1(c)

Constructs · 4 marks · official answer ready

(c) The following pseudocode is an example of nested IF statements. IF MyVar = 1 THEN CALL Proc1() ELSE IF MyVar = 2 THEN CALL Proc2() ELSE IF MyVar = 3 THEN CALL Proc3() ELSE OUT…

2017 October-November · Paper 31 · Q6(c)(iii)

Constructs · 3 marks · official answer ready

(iii) The code beginning at the instruction labelled HEATON must make the system turn on the heaters in those areas that are below the minimum temperature. Describe what this code…

2017 October-November · Paper 33 · Q6(c)(iii)

Constructs · 3 marks · official answer ready

(iii) The code beginning at the instruction labelled HEATON must make the system turn on the heaters in those areas that are below the minimum temperature. Describe what this code…

2017 October-November · Paper 41 · Q1

Constructs · 7 marks · official answer ready

1 A greenhouse has a window that automatically opens and closes depending on the internal temperature. If the temperature rises above 20 °C, the window half opens. If the temperat…

2017 October-November · Paper 41 · Q4(a)

Constructs · 11 marks · official answer ready

(a) A program stores a letter. The user is allowed nine attempts to guess the stored letter. The program outputs “?” and the user guesses a letter. If the user guesses the letter,…

2017 October-November · Paper 41 · Q4(b)

Constructs · 0 marks · official answer ready

(b) Five numbers are stored, starting in the location labelled NUMBERS. A program is needed to multiply each of the numbers by 4 and store them back in their original location. Wr…

2017 October-November · Paper 42 · Q1(c)

Constructs · 3 marks · official answer ready

(c) Show how the columns from part (a) were simplified to create the columns in part (b). For example, if columns 5, 6 and 7 were simplified to create column X, then you state thi…

2017 October-November · Paper 43 · Q1

Constructs · 7 marks · official answer ready

1 A greenhouse has a window that automatically opens and closes depending on the internal temperature. If the temperature rises above 20 °C, the window half opens. If the temperat…

2017 October-November · Paper 43 · Q4(a)

Constructs · 11 marks · official answer ready

(a) A program stores a letter. The user is allowed nine attempts to guess the stored letter. The program outputs “?” and the user guesses a letter. If the user guesses the letter,…

2017 October-November · Paper 43 · Q4(b)

Constructs · 0 marks · official answer ready

(b) Five numbers are stored, starting in the location labelled NUMBERS. A program is needed to multiply each of the numbers by 4 and store them back in their original location. Wr…

2017 May-June · Paper 11 · Q5(a)(iii)

Constructs · 2 marks · official answer ready

(iii) Describe how the computer uses the parity byte to perform a further check on the received data bytes. .......................................................................…

2017 May-June · Paper 11 · Q5(b)(ii)

Constructs · 3 marks · official answer ready

(ii) Explain how you arrived at your answers for part (b)(i). .....................................................................................................................…

2017 May-June · Paper 11 · Q11

Constructs · 9 marks · official answer ready

11 if (x == "") 12 { 13 alert(Message1) 14 } 15 else 16 { 17 alert(Message2) 18 } 19 } 20 21 22 23 24 25 Product code: 26 27 Number: 28 29 30 Submit order: 31 34 35 36 37 38 15 (i…