Question 3

OCR Computer Science June 2023 Computer principles (H046-01)AS10 marks

On the specification

(a)
1.4 Data types, data structures and algorithms
(b)(i)
1.4 Data types, data structures and algorithms
(b)(ii)
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
Question text

3 (a) Describe what is meant by the term ‘character set’. [2] (b) (i) Convert the hexadecimal number 66 into a denary number. Show your working. [2] (ii) State two reasons why a programmer would prefer to use hexadecimal numbers rather than binary numbers. 1 2 [2] (c) Show the denary value 6.25 as a floating point binary number representing the mantissa and exponent. Both of these should be stored in two’s complement representation. You should use as few bits as possible. Show your working. [3] (d) State the benefit of using a normalised form when representing data as a floating point number. [1]