Overflow (Edexcel GCSE Computer Science): Flashcards

📚Flashcards
Overflow
Sign up to keep revising.Create a free account to study more flashcards and track your progress.

Practise the cards

12 cards from this deck

Show

What is overflow?

Result needs more bits than available storage space

Registers

Fixed-size storage spaces holding certain number of bits

When does overflow occur?

Calculation result bigger than register can store

Binary addition overflow (8-bit)

Result needs 9 bits when adding two 8-bit numbers

What happens to 9th bit in 8-bit register?

Cannot be stored, gets lost in system

Overflow effect on programs

Programs might crash or stop working

Overflow effect on calculations

Give wrong answers without warning

Overflow effect on data

Information becomes inaccurate or corrupted

Overflow effect on critical systems

Could cause dangerous malfunctions

High-level language overflow protection

Built-in mechanisms detect and handle overflow automatically

Overflow bit in final stored answer

Not included, gets lost

01010110 + 11101000 stored in 8-bit

00111110 (9th bit lost)

Join 100,000+ GCSE students studying Flashcards with us.

Select your subjects, and get access to A+ resources today.