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

Higher Computing Science 2022 Question 2

3 marks · Floating-point representation

Write the following binary number using floating‑point representation. −111 0000 1111.0101 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 • 111 0000 1111 0101 • exponent: 0000 1011 1 mark for each bullet

Previous question: Higher Computing Science 2022 Question 1

Next question: Higher Computing Science 2022 Question 3