Computing 9691 · 10

Data types and structures

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

2014 May-June · Paper 31 · Q7(c)

Data types and records · 12 marks · official answer ready

(c) Byte 5 and Byte 6 together represent a 16-bit colour code used in a drawing program. Byte 5 Byte 6 The drawing program displays a colour code as a hexadecimal number. State th…

2014 May-June · Paper 31 · Q7(d)(i)

Data types and records · 13 marks

(i) What denary number is represented by Byte 7 and Byte 8? Byte 7 Byte 8 Show your working. [3]

2014 May-June · Paper 31 · Q7(d)(ii)

Data types and records · 11 marks

(ii) Without any working out, how can you recognise that this 16-bit pattern (Byte 7 and Byte 8) is a positive number? [1]

2014 May-June · Paper 31 · Q7(f)(i)

Data types and records · 15 marks

(i) State what authentication technique will be used for this. [1]

2014 May-June · Paper 32 · Q4(b)

Data types and records · 3 marks · official answer ready

(b) Complete the two table entries above. [3] 9

2014 May-June · Paper 32 · Q7(a)

Data types and records · 12 marks · official answer ready

5 (a) A computer system stores integers in 8-bit two’s complement form. Give the denary number represented by Byte 1 and Byte 2. Byte 1 Byte 2 Byte 1 Byte 2 [2]

2014 May-June · Paper 32 · Q7(c)

Data types and records · 12 marks · official answer ready

(c) Byte 5 and Byte 6 together represent a 16-bit colour code used in a drawing program. Byte 5 Byte 6 The drawing program displays a colour code as a hexadecimal number. State th…

2014 May-June · Paper 32 · Q7(d)(i)

Data types and records · 13 marks

(i) What denary number is represented by Byte 7 and Byte 8? Byte 7 Byte 8 Show your working. [3]

2014 May-June · Paper 32 · Q7(d)(ii)

Data types and records · 11 marks

(ii) Without any working out, how can you recognise that this 16-bit pattern (Byte 7 and Byte 8) is a positive number? [1]

2014 May-June · Paper 32 · Q7(f)(i)

Data types and records · 15 marks

(i) State what authentication technique will be used for this. [1]

2014 May-June · Paper 33 · Q4(a)

Data types and records · 2 marks · official answer ready

(a) Complete the two table entries above. [2]

2014 May-June · Paper 33 · Q4(c)

Arrays · 0 marks · official answer ready

(c) The first seven sports joined the tree in the order: JUDO, SOCCER, SAILING, SWIMMING, ATHLETICS, WRESTLING, HOCKEY. Complete the diagram below showing the contents of the arra…

2014 May-June · Paper 33 · Q7(d)

Data types and records · 9 marks · official answer ready

7 2000 [4] 11 (d) An algorithm is designed in pseudocode to search the binary tree for a particular sport. The algorithm uses the variables below: Variable Data type Description S…

2014 May-June · Paper 33 · Q7(d)(i)

Data types and records · 12 marks

(i) What denary number is represented by Byte 7 and Byte 8? Byte 7 Byte 8 Show your working. [3]

2014 May-June · Paper 33 · Q7(d)(ii)

Data types and records · 10 marks

(ii) How can you recognise that this 16-bit pattern (Byte 7 and Byte 8) is normalised? [1]

2014 May-June · Paper 33 · Q7(d)(iv)

Data types and records · 11 marks

(iv) What is the largest positive number that can be represented? Use the same 8-bit mantissa and 8-bit exponent. Show the mantissa and exponent. Mantissa Exponent Do not attempt …

2013 October-November · Paper 21 · Q1(e)

Arrays · 0 marks

(e) Juan will need the program to hold large amounts of data. His design will include For reading the data from the sequentially-organised resource file into several arrays. Exami…

2013 October-November · Paper 21 · Q2(e)

Arrays · 2 marks

2 [2] (e) Juan will need the program to hold large amounts of data. His design will include For reading the data from the sequentially-organised resource file into several arrays.…

2013 October-November · Paper 22 · Q2(c)

Files · 3 marks

(c) At present when the program terminates all the ebook data are lost. How can these data be stored and made available every time the program is run? [3] 7

2013 October-November · Paper 31 · Q5(d)

Introduction to abstract data types · 3 marks · official answer ready

(d) Explain why the choice of a stack data structure for this application is a poor choice. For Suggest an alternative data structure. Examiner's Use [3]