Unsigned integers (Edexcel GCSE Computer Science): Flashcards
📚Flashcards
Practise the cards
12 cards from this deck
ShowHide
Practise the cards
12 cards from this deck
Unsigned integers
Unsigned integers
Whole numbers that can only be positive (including zero)
Range of 8-bit unsigned integers
Range of 8-bit unsigned integers
0 to 255
Why 8 bits give 256 combinations
Why 8 bits give 256 combinations
different combinations
8-bit place values (left to right)
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 to write '1' in decimal to binary conversion
When number ≥ place value; then subtract
When to write '0' in decimal to binary conversion
When to write '0' in decimal to binary conversion
When number < place value; keep same number
217 in 8-bit binary
217 in 8-bit binary
11011001
Method to convert binary to decimal
Method to convert binary to decimal
Multiply each digit by place value, then add results
Binary 1101 in decimal
Binary 1101 in decimal
13
Why include leading zeros in 8-bit binary
Why include leading zeros in 8-bit binary
To ensure exactly 8 digits in the answer
50 in 8-bit binary
50 in 8-bit binary
00110010
Decimal numbers vs denary numbers
Decimal numbers vs denary numbers
Same thing - both mean base-10 number system
