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

Higher Computing Science 2023 Question 3

4 marks · Floating-point representation

Convert the binary number below into floating-point representation. −0.0000 0101 0000 1111 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 of increasing the number of bits allocated to the mantissa.

Marking scheme

Award 1 mark for each bullet. • Sign: 1 • Remaining mantissa: 101 0000 1111 0000 • Exponent: 1111 1011 Floating point numbers could be stored more precisely/accurately.

Previous question: Higher Computing Science 2023 Question 2

Next question: Higher Computing Science 2023 Question 4