Computer Science 9608 · 11

11.2 Constructs

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

Reset
2015 October-November · Paper 43 · Q5(b)(v)

Constructs · 4 marks · official answer ready

(v) Write pseudocode to implement the method you described in part (b)(iv). Choose line numbers to indicate where your pseudocode should be inserted in the pseudocode of part (b)(…

2015 October-November · Paper 43 · Q8(b)(v)

Constructs · 6 marks

8 : : 0 96 0 97 0 98 0 99 [2] 15 (v) Write pseudocode to implement the method you described in part (b)(iv). Choose line numbers to indicate where your pseudocode should be insert…

2015 May-June · Paper 11 · Q6(a)

Constructs · 5 marks · official answer ready

6 (a) Name the most suitable input or output device for each of the following uses. Give a different device in each case. Description of use Input or output device input of credit…

2015 May-June · Paper 11 · Q9(c)(iii)

Constructs · 2 marks · official answer ready

(iii) Write the table definitions to give the database in 3NF. ....................................................................................................................…

2015 May-June · Paper 12 · Q6(a)

Constructs · 5 marks · official answer ready

6 (a) Name the most suitable input or output device for each of the following uses. Give a different device in each case. Description of use Input or output device input of credit…

2015 May-June · Paper 12 · Q9(c)(iii)

Constructs · 2 marks · official answer ready

(iii) Write the table definitions to give the database in 3NF. ....................................................................................................................…

2015 May-June · Paper 21 · Q5(c)(ii)

Constructs · 3 marks · official answer ready

(ii) Some of the following function calls may be invalid. Mark each call with: • a tick (✓), for a valid call • a cross (✗), for an invalid call For any function calls which are i…

2015 May-June · Paper 22 · Q5(c)(ii)

Constructs · 3 marks · official answer ready

(ii) Some of the following function calls may be invalid. Mark each call with: • a tick (✓), for a valid call • a cross (✗), for an invalid call For any function calls which are i…

2015 May-June · Paper 23 · Q4(b)(iii)

Constructs · 1 mark · official answer ready

(iii) The programmer coded this algorithm above and the user successfully entered 15 dispenser records into the text file. There is data for another 546 dispensers which needs to …

2015 May-June · Paper 23 · Q5(c)(iii)

Constructs · 1 mark · official answer ready

(iii) Write the statement for a procedure call which processes data for 7 days for 13 workers. ....................................................................................…

2015 May-June · Paper 33 · Q4(b)(ii)

Constructs · 3 marks · official answer ready

4 (b) Temperature data from a number of weather stations are to be processed by a program. The following data are to be stored: • weather station ID (a unique four-letter code) • …

2015 May-June · Paper 41 · Q1

Constructs · 5 marks · official answer ready

1 A turnstile is a gate which is in a locked state. To open it and pass through, a customer inserts a coin into a slot on the turnstile. The turnstile then unlocks and allows the …

2015 May-June · Paper 41 · Q5(a)(ii)

Constructs · 3 marks

(ii) A special case is when NameList is already in order. The algorithm in part (a)(i) is applied to this special case. Explain how many iterations are carried out for each of the…

2015 May-June · Paper 41 · Q5(b)(i)

Constructs · 2 marks · official answer ready

(i) As in part (a)(ii), a special case is when NameList is already in order. The algorithm in part (b) is applied to this special case. Explain how many iterations are carried out…

2015 May-June · Paper 42 · Q1

Constructs · 5 marks · official answer ready

1 A turnstile is a gate which is in a locked state. To open it and pass through, a customer inserts a coin into a slot on the turnstile. The turnstile then unlocks and allows the …

2015 May-June · Paper 42 · Q5(a)(ii)

Constructs · 3 marks

(ii) A special case is when NameList is already in order. The algorithm in part (a)(i) is applied to this special case. Explain how many iterations are carried out for each of the…

2015 May-June · Paper 42 · Q5(b)(i)

Constructs · 2 marks · official answer ready

(i) As in part (a)(ii), a special case is when NameList is already in order. The algorithm in part (b) is applied to this special case. Explain how many iterations are carried out…

2015 May-June · Paper 43 · Q1

Constructs · 9 marks · official answer ready

1 A petrol filling station has a single self-service petrol pump. A customer can use the petrol pump when it is ready to dispense petrol. The pump is in use when the customer take…

2015 May-June · Paper 43 · Q6(e)

Constructs · 5 marks · official answer ready

(e) Write program code for procedure X. Programming language ............................................................................................................. ........…