Question 5
OCR Computer Science June 2018 Paper 1AS8 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
Question text
5 (a) Convert the denary number 72 to an unsigned 8-bit integer. [1] (b) Convert the unsigned binary number 10000101 to denary. [1] (c) Convert the denary number 104 to hexadecimal. [1] (d) The following floating point binary number is represented using 6 bits for the mantissa and 4 bits for the exponent, both using two’s complement. Mantissa Exponent 0100101 0100 Convert the number to denary, showing your working. [3] (e) Given that computers store everything in binary, explain how they are able to represent text. [2]