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

Higher Computing Science 2024 Question 1

2 marks · Two's complement

Convert the following denary number to an 8‑bit two’s complement number. −25 State the largest positive integer that can be represented using 8‑bit two’s complement.

Marking scheme

1110 0111 2⁷ – 1 Also accept • 127 • 0111 1111 • (-128) + 127

Previous question: Higher Computing Science 2023 Question 19

Next question: Higher Computing Science 2024 Question 2