Represent −20 in 8-bit sign and magnitude and in two's complement.
From Paper 1: Computer systems
6(c)4 marks
A floating-point number has an 8-bit mantissa 0.0011010 and a 4-bit exponent 0101 (both two's complement). Normalise it and show that its value is 6.5.
From Paper 1: Computer systems
6(d)3 marks
For the byte 10110110, state the result of AND 00001111, OR 11110000 and XOR 11111111.
From Paper 1: Computer systems
6(e)2 marks
Explain why Unicode replaced ASCII for many applications.
From Paper 1: Computer systems
6(f)6 marks
A binary search tree contains 50 at the root; 30 and 70 are its children; 20 and 40 are children of 30; 60 and 80 are children of 70. State the pre-order, in-order and post-order traversals.
From Paper 1: Computer systems
6(g)4 marks
Use a Karnaugh map to simplify Ā·B̄ + Ā·B + A·B.
Score 0 / 23 · 0 of 7 marked
This paper is written by Plasmo in the style of the OCR A-Level Computer Science exam. It is not a past paper and is not produced or endorsed by the exam board.
Data types, data structures and algorithms Exam Questions: OCR A-Level Computer Science | Plasmo