Binary Numbers aka 01000010 01101001 01101110 01100001 01110010 01111001 00100000 01001110 01110101 01101101 01100010 01100101 01110010 01110011
Binary is a number system with base 2.
Only two digits (1 & 0) are used to write every number.
This is the foundation of almost every computer program.
Computers are not as smart as you think, in fact, they only know 2 things…
0 and 1
Everything else is told to the computer by a human, this is called programming.
For a computer:
0 means turn a circuit off
1 means turn a circuit on
Numbers are usually grouped in chunks of 8 (8 bits).
8 bits can handle any number up to 255.
The next column would be 256, then 512, and so on.
Binary code is not just about numbers. Every number, letter and symbol on your keyboard needs to be converted into binary so the computer can understand it.
We can see all these conversions in something called an ASCII table.
Every time you type a letter on your keyboard, the computer understands is as loads of 0s and 1s
The number of bytes should match the total number of characters (including spaces and periods)
Binary Games aka 01000010 01101001 01101110 01100001 01110010 01111001 00100000 01000111 01100001 01101101 01100101 01110011
Binary Videos aka 01010110 01101001 01100100 01100101 01101111 01110011
Time to Get to Work!
Assignment 1 - Binary Code puzzles
Extension - NASA, Aliens, and Binary images
Computer screens are divided up into a grid of small dots called pixels (picture elements).
In a black and white picture, each pixel is either black or white.
The letter “a” has been magnified to show the pixels. When a computer stores a picture, all that it needs to know is which dots are black and which are white.
The picture below shows us how a picture can be represented by numbers.
Colours are encoded to Binary using RGB (Red, Green, and Blue)
Over 16 millions colours can be created by blending these three. (see Color Picker for more combinations)
Hint: you will be using 8-bit binary numbers (ex. 00000010 = 2)
Hint: You can copy & paste this code into Pixelation to use as an example to help you get started.
* Note: This will not work in Internet Explorer - use Google Chrome or Firefox *
Alternative: You can also try the Favicon creation tool to make your design.
Read the following articles
Answer these questions. Point form is fine.
Binary Audio Article: http://www.bbc.co.uk/education/guides/z7vc7ty/revision/1
Binary Video Article: http://www.bbc.co.uk/education/guides/z7vc7ty/revision/6
Complete this test on the subject material: http://www.bbc.co.uk/education/guides/z7vc7ty/test
For Further Discussion
So if a binary number is usually composed of 8 bits, how does that relate to our 32 and 64 bit computers?
Read & Discuss: 32bit vs 64 bit
Decrypt this binary message