Unsigned integers (Edexcel GCSE Computer Science): Flashcards

📚Flashcards
Unsigned integers
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

Unsigned integers

Whole numbers that can only be positive (including zero)

Range of 8-bit unsigned integers

0 to 255

Why 8 bits give 256 combinations

28=2562^8 = 256 different combinations

8-bit place values (left to right)

128, 64, 32, 16, 8, 4, 2, 1

When to write '1' in decimal to binary conversion

When number ≥ place value; then subtract

When to write '0' in decimal to binary conversion

When number < place value; keep same number

217 in 8-bit binary

11011001

Method to convert binary to decimal

Multiply each digit by place value, then add results

Binary 1101 in decimal

13

Why include leading zeros in 8-bit binary

To ensure exactly 8 digits in the answer

50 in 8-bit binary

00110010

Decimal numbers vs denary numbers

Same thing - both mean base-10 number system

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

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