ExamBank Scot · Higher Computing Science question bank · All Higher Computing Science questions
3 marks · Two's complement
Convert the denary number −9 into 8‑bit two’s complement. State the range of denary values that can be represented using 8‑bit two’s complement. Two’s complement can be used to represent positive and negative integers.
1111 0111 -128 to 127 OR -2⁷ to 2⁷-1
Previous question: Higher Computing Science 2019 Question 18