Question 5

OCR Computer Science June 2025 Computer principles (H046-01)AS8 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
Question text

(a) Convert the denary number 183 into a hexadecimal number. [1] (b) Calculate the binary addition of these two 8-bit (unsigned) binary numbers. Show your working. 01010011 +11101011 [2] (c) Calculate the binary subtraction of these two 8-bit (unsigned) binary numbers. Show your working. 11011001 –00100101 [2] (d) Tick () one box for each piece of data to show if it is an example of a String, Float or Character data type. String Float Character 3.14 “j” “Hello World” [3]