Question 6

OCR Computer Science June 2024 Computer principles (H046-01)AS12 marks

On the specification

(a)(i)
1.4 Data types, data structures and algorithms
(a)(ii)
1.4 Data types, data structures and algorithms
(a)(iii)
1.4 Data types, data structures and algorithms
(b)
1.4 Data types, data structures and algorithms
Question text

(a) Using the binary value 1001 1101, convert this into: (i) A positive denary number. [1] (ii) A negative denary number using two’s complement. [1] (iii) A hexadecimal value. [1] (b)* Binary values stored by a computer can represent different types of data. Discuss the different types of data that can be stored in binary and why computer systems store data in binary format. You should refer to the following in your answer: • what types of data can be represented in binary • examples of how binary is used to represent this data • why computers store data in binary format. [9]