logo

AQA A-Level Computer Science practice

A calculation is performed using a fixed-size binary representation. Explain why it is necessary to compare the result with the representable range, and state what condition must be present for overflow or underflow to occur.

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 calculation is performed using a fixed-size binary representation. Explain why it is necessary to compare the result with the representable range, and state what condition must be present for overflow or underflow to occur.

Answer and explanation

Concise answer

The fixed number of bits determines a limited range of values that can be represented.

Why this is correct

The answer should connect the fixed-size representation to its limits, distinguish results above and below those limits, and recognise that a result within the range does not cause either condition.

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