Computing 9691 · 11

11.2 Constructs

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

Reset
2016 May-June · Paper 11 · Q9(b)

Constructs · 4 marks · official answer ready

(b) The factory stores cars in a 30-level warehouse that has separate storage areas, known as pods. A computer-controlled forklift system removes a car from its pod. Each pod has …

2016 May-June · Paper 12 · Q2(a)

Constructs · 4 marks · official answer ready

2 (a) A processor controls a heating system. To do this, it uses: • a temperature sensor • a device in which a small electrical input current switches a much larger current for th…

2016 May-June · Paper 12 · Q2(b)(i)

Constructs · 2 marks · official answer ready

(i) Intruder detection system Sensor ............................................................................................................................... Reason for cho…

2016 May-June · Paper 12 · Q2(b)(ii)

Constructs · 2 marks · official answer ready

(ii) Switching on a street lamp when it gets dark. Sensor .........................................................................................................................…

2016 May-June · Paper 12 · Q2(b)(iii)

Constructs · 2 marks · official answer ready

(iii) Counting people entering a building. Sensor ............................................................................................................................... R…

2016 May-June · Paper 12 · Q6(c)(iii)

Constructs · 3 marks · official answer ready

(iii) When the driver parked the car, the computer system stored the registration plate data in the appropriate element of the ParkingArea array. When paying the parking fee, the …

2016 May-June · Paper 12 · Q8(d)(v)

Constructs · 8 marks

8 ........................................................................................................................................... [4] (d) The car park has ten levels. …

2016 May-June · Paper 13 · Q10(e)

Constructs · 1 mark

(e) “A command line interface (CLI) uses icons to represent applications that are launched by a click of the mouse button.” .......................................................…

2016 May-June · Paper 21 · Q1(c)(i)

Constructs · 7 marks · official answer ready

(i) Rewrite the procedure PrintNameLine. Your solution should allow for the case when the name has an odd number of characters. Programming language ..............................…

2016 May-June · Paper 21 · Q1(c)(ii)

Constructs · 2 marks · official answer ready

(ii) Describe what happens when a name consists of 18 or more characters. .........................................................................................................…

2016 May-June · Paper 21 · Q3

Constructs · 0 marks

3 City Centre

2016 May-June · Paper 21 · Q5(c)

Constructs · 10 marks

(c) Use the flowchart opposite to write program code for the procedure TicketCalculator. Programming language .....................................................................…

2016 May-June · Paper 21 · Q5(e)

Constructs · 10 marks

5 [4] 8 (e) At the end of the day, the computer is shut down. Before the program stops, the array data from TableBookings must be saved to a new sequential file TableBookings.DAT …

2016 May-June · Paper 21 · Q12(a)

Constructs · 11 marks

(a) When a booking enquiry is made, the number of customers is given. Complete the pseudocode for the procedure TakeBooking: PROCEDURE TakeBooking DECLARE ……………………………………………………, ………

2016 May-June · Paper 21 · Q12(e)

Constructs · 6 marks

(e) At the end of the day, the computer is shut down. Before the program stops, the array data from TableBookings must be saved to a new sequential file TableBookings.DAT Write pr…

2016 May-June · Paper 22 · Q1

Constructs · 6 marks · official answer ready

1 A high-level programming language has built-in string handling functions specified as follows: ONECHAR(ThisString : STRING, x : INTEGER) RETURNS STRING returns a string value co…

2016 May-June · Paper 22 · Q3(f)

Constructs · 7 marks · official answer ready

(f) One of Zara’s friends suggests that the number of squares for a word should be counted. Zara decides that she needs a function to count the number of squares for a word going …

2016 May-June · Paper 23 · Q10(a)(ii)

Constructs · 8 marks

(ii) PROCEDURE UpdatePointsTotals( ......................................................................... ) DECLARE ............................................................…

2016 May-June · Paper 23 · Q10(d)

Constructs · 7 marks

(d) The social club want a facility to search for a competitor to find their current rank. This is done by searching the array CompetitorData for the competitor’s name. Complete t…

2016 May-June · Paper 23 · Q10(e)

Constructs · 5 marks

(e) At the end of the day, the computer is shut down. Alessio wants to save the data from the array CompetitorData to a new sequential file CompetitorFile.DAT Write program code f…