Computing 9691 · 11

Programming

468 questions. Open a question to solve it and check the official answer.

Reset
2015 October-November · Paper 22 · Q2(e)(iii)

Constructs · 3 marks

(iii) Comment on the result of the dry-run in part (e)(ii). .......................................................................................................................…

2015 October-November · Paper 22 · Q2(f)(i)

Constructs · 2 marks

(i) Describe when and how syntax errors are detected. When ........................................................................................................................…

2015 October-November · Paper 22 · Q3(b)

Constructs · 1 mark · official answer ready

(b) Name the type of testing that is performed with such debugging tools. .........................................................................................................…

2015 October-November · Paper 23 · Q1(e)

Constructs · 6 marks · official answer ready

(e) Ravi wants to write a procedure to sort the records in the array Course. The records will be sorted into ascending order of course fee. The array contains records for each cou…

2015 October-November · Paper 23 · Q2(a)(i)

Constructs · 5 marks · official answer ready

(i) Write the program code to implement the function DenaryDigit from its flowchart design. Use a high-level programming language. Programming Language ...........................…

2015 October-November · Paper 23 · Q2(a)(ii)

Constructs · 3 marks · official answer ready

(ii) Alia needs to test this function before using it in her program. Complete the table of test data. Type of data Letter Expected result (normal, borderline or invalid) '1' 'X' …

2015 October-November · Paper 23 · Q2(b)(i)

Constructs · 5 marks · official answer ready

(i) Dry-run the procedure call ConvertToDenary("LED")by completing the trace table. CodedNumber Denary i ThisChar ThisNumber OUTPUT "LED" 0 [5]

2015 October-November · Paper 23 · Q2(c)(ii)

Constructs · 1 mark · official answer ready

(ii) State one other feature Alia could have used to help the understanding of this code. .........................................................................................…

2015 October-November · Paper 23 · Q2(c)(iv)

Constructs · 3 marks · official answer ready

(iv) The parameter of ConvertToDenary might not be a valid coded number. An error message is to be output if the string provided as a parameter is not valid. Describe the changes …

2015 October-November · Paper 23 · Q3(b)

Constructs · 1 mark

(b) Name the type of testing that is performed with such debugging tools. .........................................................................................................…

2015 October-November · Paper 31 · Q8(b)

Constructs · 2 marks · official answer ready

(b) When the network was created, the technicians had to decide on the cabling. Name and describe one type of cable which could have been used. ...................................…

2015 October-November · Paper 32 · Q5(c)(i)

Programming basics · 2 marks · official answer ready

5 A busy main road connects Town A and Town B. A large new housing development is being built near the main road. A new road from the housing development will connect to the main …

2015 October-November · Paper 32 · Q5(c)(ii)

Programming basics · 1 mark · official answer ready

5 A busy main road connects Town A and Town B. A large new housing development is being built near the main road. A new road from the housing development will connect to the main …

2015 October-November · Paper 33 · Q8(b)

Constructs · 2 marks · official answer ready

(b) When the network was created, the technicians had to decide on the cabling. Name and describe one type of cable which could have been used. ...................................…

2015 May-June · Paper 11 · Q3(b)(i)

Constructs · 4 marks

(i) The model aeroplane needs memory to allow: • the designer to store fixed data such as the factory settings • the operator to use one of the pre-programmed manoeuvres • the ope…

2015 May-June · Paper 11 · Q4

Constructs · 5 marks · official answer ready

4 At a supermarket, automatic stock control is used. The barcode on each item sold is read at a point-of-sale (POS) terminal. The following steps, when put into the correct sequen…

2015 May-June · Paper 11 · Q6(b)(i)

Programming basics · 4 marks

(i) Give the denary value if the byte contains: 7 6 5 4 3 2 1 0 0 1 1 1 1 0 0 0 ...................................................................................................…

2015 May-June · Paper 11 · Q6(b)(ii)

Programming basics · 4 marks · official answer ready

(ii) Show what binary value must be stored in the byte to represent the denary value 43. 7 6 5 4 3 2 1 0 [1]

2015 May-June · Paper 11 · Q6(c)(i)

Programming basics · 5 marks · official answer ready

(i) The data are sent using half-duplex, serial transmission. Explain these terms: Half-duplex ....................................................................................…

2015 May-June · Paper 11 · Q6(d)(i)

Programming basics · 4 marks · official answer ready

(i) Identify the byte that contains the incorrect bit. ............................................................................................................................…