Question 10

OCR Computer Science June 2019 Paper 1A level14 marks

On the specification

(a)
1.4 Data types, data structures and algorithms
(b)
1.4 Data types, data structures and algorithms
(c)
1.4 Data types, data structures and algorithms
(d)
1.4 Data types, data structures and algorithms
(e)
1.4 Data types, data structures and algorithms
(f)
1.4 Data types, data structures and algorithms
Question text

10 (a) Show how the binary number 01011110 is represented in hexadecimal. [1] (b) Show how the hexadecimal number 9B is represented in denary. [2] (c) Show how the denary number −87 is represented in sign and magnitude binary. [2] (d) Complete the following binary subtraction. Show your working. 01001001- 00101111 [2] (e) The floating point binary number 010011 011 consists of a 6-bit mantissa and 3-bit exponent, both represented in two’s complement. Convert the number to denary, showing your working. [3] (f) Show the denary number −5.25 in floating point binary form representing the mantissa and exponent in two’s complement, using as few bits as possible. Show your working. [4]