Binary Code

The binary code stated above 512 + 32 + 8 + 4 + 1 = 557

The place holders start from the right and move left. The numbers start at 1 and double with each move to the left.
1,2,4,8,16,32,64,128,256,512,1024 and so on. 16 is expressed as:
1 0 0 0 0
16 8 4 2 1

Hope this helps.
 
T

Travis Connelly

to do Binary numebers just do this:
take your number lets say 115

step1: Take each number and divide by two with remainders then take the answer and divide it by 2 untill you reach 1
115/2 = 57 r1
57/2 = 28 r1
28/2 = 14 r0
14/2 = 7 r0
7/2 = 3 r1
3/2 = 1 r1

step2: Take the remainders and this is your binary number
110011 = 115
 
M

Myrissa Weeks

You make words by combining the codes for letters. First you have the code that tells whether the letter is capitalized or lower cased. 0100 is capitalized for letters A-O and 0101 for letters P-Z, 0110 is lower cased for letters a-o and 0111 for letters p-z.

Then you have the code for the letter. The letter's code is more complicated than the case. You know that a is the first letter, so you have to get the code for the number 1 - 0001, b=2=0010, c=3=0011 and so on. But the problem is that you can only go up to 15 which = 1111 which = the letter o. So that's when you have to change the first code from 0100 (or 0110 for lower case) to 0101 (or 0111 for lower case). Then, instead of continuing with 16 (since it's not possible) you start over at 0. For example, P would = 0, Q=1, R=2, etc. You must put the code for the case/a-o or p-z before the code for the letter.

Example:

Let's start off with something easy.

Bob = 010000100110111101100010

If you want you, can use this translator to test it : <a href="http://nickciske.com/tools/binary.php">Translator</a>

Example:

Now for a longer word.

Computer = 0100001101101111011011010111000001110101011101000110010101110010

I hope this helps you understand how to make words. I just learned binary code about an hour ago so I hope I explained it well.
 
As stated above, 110011=51 (2^5+2^4+2^3+2^2+2^1+2^0 or 1+2+0+0+16+32)

The easist way I can think of to learn it would be to:
1. Remember the powers of 2 from about 2^0(1) - 2^10 (1,024). Unless you are gonna be using some HUGE numbers, you will probably not use anything higher.

2. Now that you know the powers, try a stream like 1101. Reading from L-R you can tell that it goes to 2^4 (8). The next ON (1) would be 2^3 (4), so so far 8+4. The last ON is 2^0, so when you add it all together you get 15.

When you are trying to figure out what a Decimal number in Binary would be, all you have to do is think of the of the highest power that can go into that number. For example, let's say you would like to figure out what 75 is in Binary. Well the highest power that can go into that is 2^6 (64). Then you would make 2^6 ON and subtract 64 from 75 (11). Now you would repeat the step and find the highest power of 2 that can go into 11, which would be 2^3 (8), making 2^5 and 2^4 OFF (0) so the stream currently looks like 1001---. 11-8=3, basically you need 2 and 1 or 2^1 and 2^0, so 2^3 and 2^2 are OFF, making the finished stream 1001011 (75).

I am sorry if I am mistaken, I am writing this at 12 in the morning and had a long day. I know binary (and have for years), so I believe this is correct. If you can understand this and would like me to further explain it (Adding and what/not), please reply. Please also reply if there is something wrong with this, or it just confused you, since it would really help me... Later.
 
hi
this is a realy easy to chang digit beetwin hexdecimal and binary. i'd like describe this with one example. for example yoh have 01111001. this is your byte and you want chang it to hexdecimal you can use of 8421 technique. you have to divided your bite with 2 part and after that you must sum each number is 1. in thise example 79 is your hex number. and 421 is usefull for binary to octal.
 
#1, you have too many digits. Binary code is octadecimal... What you actually have is two five-digit sets of postnet code (a variant of binary). 10001=7,but the other code is incorrect. there is no translation available for postnet code 01101. Its closest relative is 01100=6. If you want your code to equal 16, the other code has to be encrypted for 9. That code is 10100.

All together, your code is 1000110100. Basically, 7+9= 16.

A typical piece of business mail will have a nine- or eleven-digit code stamped on the bottom right corner. It is encoded in bars, where tall bars are equivalent to 1s and short bars are equivalent to 0s.

16, or 7 and 9, as your code is supposed to say, would look like this:

|...||.|..

A postal code (ZIP+4 code) usually has nine digits, the first five of which you memorize when you move into a new home. The encryption at the bottom of the envelope will have ten digits, the last being a "check digit" that, when added to the sum of all digits, makes the total divisible by 10. Warning: there are guard-bars at either end of the code-do not factor them into your translations.

Last example: in the Washington, D.C. area, the address and zip code for the Hart Senate building is this:

Washington, D.C. Office
322 Hart Senate Building
Washington, D.C. 20081-0001.

In code, that looks like this:
00101 11000 11000 10010 00011 11000 11000 11000 00011--each digit is represented by a five-bit code. Add the last two digits of the street address and translate them, and then find the check digit. (of 322, you use 22; your new digit is 20081-0001-22x, where x is the check digit.)

2+0+0+8+1+0+0+0+1+2+2+x= 0 mod 10 (the sum is evenly divisible by 10) X, the check digit, =4.

In postnet bars (with guard bars), it looks like this:
|..|.|||...||...|..|....||||...||...||......||..|.|..|.|.|..|

#2, ASCII for the most part, obsolete, while binary code exists in such forms as morse code, braille, and the aforementioned postnet code.
 
Binary is EASY. VERY easy. It's just getting the hang of it, that's all.

Okay, let's take 111 for example, an easy number. To work it out on paper you'd put:

| 16 | 8 | 4 | 2 | 1 |

Now to work out what it is, you see it has 3-digits, therefore we only need 4, 2 and 1.

Then, since there are no 0s, you do this:

| 4 | 2 | 1 |
|-----------|
| 1 | 1 | 1 |

There is 1 in each, so you add them up.

Now if it was 101, you'd miss the 2, and add up only 4 and 1, which is 5.

It's hard to get used to but once you do it's really interesting.
 
I

I am the author of this, of course.

However interesting these posts may be, I am going to have to side with the guy who always places posts, wondering how to combine letters to make words in binary. You people continue to ignore that and post what ever you wish. I have learned a lot by reading the posts. However, I too desire to know how to put letters together to make words using binary.
 
Writing text in binary is quite time consuming when doing it wihtout a converter.

the letters A-O start with 0100
the letters P-Z start with 0101
the letters a-o start with 0110
the letters p-z start with 0111

the letters end with the numbers 1-15 the only exception is the letter P.

For example:

A - 01000001 that can be divided into two:
0100 which shows that the letter is a capital letter and it is within the range form A to O.
0001 shows the place of the letter in the 0100 region. Since 0001=1 and the first letter in A-O is A, then 01000001=A

The letter P or p can be confusing. Its value in the alphabet is 0. It is written:
P - 01010000. That can also be divided into two:
0101 shows that the letter is a capital letter and it is within the range from P to Z.
0000 shows the place of the letter in the 0101 region.0000 shows the position or value, which is in this case 0 because 0000=0. Therefore the letter P in binary is 01010000.
 
M
> You're dead wrong! The number 16 in binary is 00010000 in 8 bit. <

You got it right...assuming 8 bit. wow there's a lot of misinformation on this page!

16 in dec = 16

16 in hex = 10 (1x16)+(0x1) = 16

16 in bin = 1000 or in 8 bit = 00001000
but you really don't need the 4 zeros to left of the "1"

128 64 32 16 8 4 2 1
0 0 0 1 0 0 0 0

why is this so difficult guys? stop trying to "teach" people when you have no clue what they're talking about.

Matt Nault
mnault [at] microsoft.com
 
R
I have seen it written:
-------------------------
"There are only <b>10</b> kinds of Engineers, those who understand binary and those who do not."
-------------------------
 
That's a good one. This thread is really ridiculous. Look up "Binary Numeral System" in Wikipedia and reference the section: "Counting in binary"... Enough said.

KEJR
 
Get any of Clive Maxfield's books. He does a great job explaining binary. Another great author is Irv Englander.
 
> Writing text in binary is quite time consuming when doing it without a converter.
----snip ----
the letters end with the numbers 1-15 the only exception is the letter P. <

I wonder if this would be easier to understand.
the letters A-Z start with 010
the letters a-z start with 011

then you simply calculate what number in the alphabet the letter is.

for example y is the 25th letter.
so you would convert 25 to binary 11001
then since it is lower case you prefix it with 011
so the binary for y is 01111001
 
So if we assigned binary correctly to the numbers 666 what letters or word would we get in return correctly......
 
Top