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

Higher Computing Science 2024 Question 3

4 marks · Floating-point representation

Convert the binary number below into floating‑point representation. −0.111 There are 16 bits for the mantissa (including the sign bit) and 8 bits for the exponent. Space for working mantissa exponent sign State the effect on the representation of floating‑point numbers of increasing the number of bits used to represent the exponent.

Marking scheme

• Sign bit: 1 • Remaining mantissa: 111 0000 0000 0000 • Exponent: 0000 0000 Range will be increased

Previous question: Higher Computing Science 2024 Question 2

Next question: Higher Computing Science 2024 Question 4