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

Higher Computing Science 2021 Question 4

3 marks · Floating-point representation

Write the binary number −0.0011 using floating‑point representation. There are 16 bits for the mantissa (including the sign bit) and 8 bits for the exponent. Space for working mantissa exponent sign

Marking scheme

• Sign bit: 1 • Remaining 15 bits of mantissa: 110 0000 0000 0000 • Exponent: 1111 1110 1 mark for each bullet

Previous question: Higher Computing Science 2021 Question 3

Next question: Higher Computing Science 2021 Question 5