First we need a little information of binary. Computers have 2 numbers in there system except there not numbers there switches. 1 meaning "ON" (like a light bulb) or 0 meaning "OFF"
So...
10110011
would be...
On, off, on, on, off, off, on, on
Then the computer interprets that into its numbering system, which later may convert it into ASCII. Correct 8-bit binary only has 8 digits. There are 16, 32, 64, and 128 bit processors that take more numbers than just 8 at a time. This tutorial is for 8-bit.
Materials:
Paper and Pencil
(optional) Genius to help
Remove these ads by
Signing UpStep 1Preparing
This is the 8-bit binary cheat sheet. Column 8 (the one all the way to the right) is 1, column 7 is just a double of the earlier column, etc.
"Binary Cheat Sheet:
128 - 64 - 32 - 16 - 8 - 4 - 2 - 1"
and pick a number between 1 and 255
My number is 175
| « Previous Step | Download PDFView All Steps | Next Step » |







































God Bless you all.
Martin L. Williams
_______________________
128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
----------------------------------------
128 = 2 to the 7th power
64 = 2 to the 6th power
32 = 2 to the 5 th power
etc...
Use that ASCII chart up there for reference.
As karossii says, you are thinking of a byte. I'm sure your 32 or 64 bit computer CPU deals with numbers over 8 bits.
Your method is sound and quite straightforward but it sounds like you rushed the core part a little bit- you compress all of the instructions on how to actually convert a number into
Get your paper and right down your number under your Cheat Sheet.
First does the first number (128) fit in your number?
...
If so subtract your number by the number you checked, then repeat for the rest of the numbers. Also if it did fit that means its a 1 and if it doesn't its a zero.
That last part could do with taking a breath and explaining what you are doing a little bit more clearly. Otherwise, good work.