Lesson 1 - Binary Conversions
Lesson 1 - Binary Conversions
At the start of every lesson we get ourselves ready to learn so that we can learn lots in every lesson
and make huge progress in every lesson. We show that we are ready to learn by:
1000 100 10 1
2 7 0 3
2x1000 + 7x100 + 0x10 + 3x1 = 2703
Units of data storage and binary numbers
Unit 2 Data representation
128 64 32 16 8 4 2 1
1 0 0 1 0 1 1 0
1x128 + 1x16 + 1x4 + 1x2 =?
Units of data storage and binary numbers
Unit 2 Data representation
Representing values
• Consider the same byte value 0011 1001
• This is represented in denary as 57
• As an electrical circuit this could be represented as:
0 0 1 1 1 0 0 1
Converting Binary to Denary
What is the denary value of these binary number?
Binary to Denary
00001010 = ?
00001111 = ?
QFL : How can we use binary to represent letters and numbers?
Activity 1
Binary to denary conversions
Denary to binary
• How do you convert 28 to binary?
• Method
• Working right to left, write out the numbers 1, 2, 4, 8 and so on, doubling each time to
128
128 64 32 16 8 4 2 1
0 0 0 1 1 1 0 0
• 128, 64 and 32 are all greater than 28, so put a zero for these
• Put a 1 in the 16 column, 28-16=12
• Put a 1 in the 8 column, 12-8 = 4
• Put a 1 in the 4 column, 4-4=0 so put zero in other columns
Converting Denary to Binary
What is the denary value of these binary number?
Denary to binary
7 = ?
13 = ?