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

Higher Computing Science 2025 Question 1

2 marks · Two's complement

The lowest number that can be represented in two’s complement using a fixed number of bits is −512. State the largest number that can be represented with this number of bits. State the number of bits being used to provide this range of numbers.

Marking scheme

511 Accept 2⁹ -1 10 (bits)

Previous question: Higher Computing Science 2024 Question 18

Next question: Higher Computing Science 2025 Question 2