ExamBank Scot · Higher Computing Science question bank · All Higher Computing Science questions

Higher Computing Science 2017 Question 1 (CfE)

2 marks · Two's complement

State the range of positive and negative numbers that can be represented using 16 bit two’s complement representation.

Marking scheme

-32,768 to +32,767 OR -2¹⁶-1 to (2¹⁶-1) - 1 1 mark for lower integer 1 mark for upper integer 1 mark for -32,767 to 32, 768

Previous question: Higher Computing Science 2016 Question 15 (CfE)

Next question: Higher Computing Science 2017 Question 2 (CfE)