Data types and structures
185 questions. Open a question to solve it and check the official answer.
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…
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]
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]
Data types and records · 15 marks
(i) State what authentication technique will be used for this. [1]
Data types and records · 3 marks · official answer ready
(b) Complete the two table entries above. [3] 9
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]
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…
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]
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]
Data types and records · 15 marks
(i) State what authentication technique will be used for this. [1]
Data types and records · 2 marks · official answer ready
(a) Complete the two table entries above. [2]
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…
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…
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]
Data types and records · 10 marks
(ii) How can you recognise that this 16-bit pattern (Byte 7 and Byte 8) is normalised? [1]
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 …
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…
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.…
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
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]
