Aim I can understand binary code and why
Aim • I can understand binary code and why it is used.
Binary Numbers Binary numbers look like this…
Binary Numbers or Binary Code Binary numbers or binary code are used by computers and digital devices to talk to each other. It is used to give commands to the computer or a way to enter data (information). We use the alphabet to write letters or words to communicate. Computers use binary code.
Binary Alphabet (Uppercase Letters) This is the binary alphabet. Instead of writing the letter “A”, computers would write 01000001. Binary numbers are always eight digits long and are only made up of zeros or ones. A B C D E F G H I J K L M 01000001 01000010 01000011 01000101 01000110 01000111 01001000 01001001010 01001011 01001100 01001101 N O P Q R S T U V W X Y Z 01001110 01001111 01010000 01010001 01010010 01010011 01010100 01010110 01010111 01011000 01011001 01011010
How Does Binary Work? Firstly, you need to understand our number system. Our number system is called Base 10. This means that we can use any of these ten numbers to create any numbers we need. 0 1 2 3 4 5 6 7 8 9
Base 10 As soon as we get to the number 10, we need to add another digit onto the left of our current digit. For example : 10 We need to add a 1 onto the 0 to make 10. As there are 10 numbers in our number system, every time we make a new column, it has to be 10 times greater than the number before.
This Is Using 10 Symbols …but what if we only had 2 symbols to work with? Base 2 (binary) is the same as Base 10… …except that every number to the left is only 2 times bigger, rather than 10 times bigger than the number before it.
Counting in Binary x 128 x 64 x 32 x 16 x 8 x 4 x 2 x 1 1 0 0 1 1 = 155 A binary sequence like this would equal 155. Can you use the table to work out why?
Counting in Binary x 128 x 64 x 32 x 16 x 8 x 4 x 2 x 1 1 0 0 1 1 You need to use multiplication… …and addition. 1 x 128 = 128 + 0 + 16 + 8 + 0 + 2 + 1 1 x 8= 8 0 x 64 = 0 0 x 4= 0 0 x 32 = 0 1 x 2= 2 1 x 16 = 16 1 x 1= 1 154 144 152 155 128
Computer Circuits Electricity is needed for computers to work. Binary the circuits All computers have circuits that allow electricity to code pass tells through them. when to turnisthe different partscircuits of a computer off. “On” A microchip a group of tiny that helpona or computer or was other represented by to onework. and “off” was represented by zero. digital devices
Did You Know? In the early days of computing, the only way to enter data into a computer was by flicking switches or by feeding in punched cards or punched paper tape. The first computer was created by Charles Babbage in 1837. It was operated using punched cards and tapes. He called it the ‘Analytical Engine. ’ Modern computers still read data in binary form because it is much faster and more convenient to read this from microchips.
Your Turn A B C D E F G H I J K L M 01000001 01000010 01000011 01000101 01000110 01000111 01001000 01001001010 01001011 01001100 01001101 N O P Q R S T U V W X Y Z 01001110 01001111 01010000 01010001 01010010 01010011 01010100 01010110 01010111 01011000 01011001 01011010 Can you write words or messages using the binary alphabet?
- Slides: 13