logo

AQA A-Level Computer Science practice

A fixed-point format uses 8 bits, with 4 bits before the binary point and 4 bits after it. Convert decimal 5.375 into this fixed-point binary representation. Then convert your result back to decimal to verify it.

Try the question first, then check the answer and practise the same topic again.

At a glance

Question

Type

practice

Style

Topic

Binary number system

Exam-style question

Try this first

A fixed-point format uses 8 bits, with 4 bits before the binary point and 4 bits after it. Convert decimal 5.375 into this fixed-point binary representation. Then convert your result back to decimal to verify it.

Answer and explanation

Concise answer

5.375 is represented as 0101.0110.

Why this is correct

The integer part 5 is 0101. For the fractional part, 0.375 = 1/4 + 1/8, so the fractional bits are 0110: 0/2 + 1/4 + 1/8 + 0/16 = 0.375. The complete representation is 0101.0110. Converting back gives 5 + 0.25 + 0.125 = 5.375.

Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

No flashcards are published for this page yet.

Related practice questions