Binary Code

>That doesn't work
>110011 = 51
>
>1110011= 115


it does work he just forgot the last step;

115/2=57| 1
57/2=28 | 1
28/2=14 | 0
14/2=7 | 0
7/2=3 | 1
3/2=1 | 1
1/2=0 | 1
|
|you need to have zero as the last dividend
_____________________

write from bottom to top:

1110011 = 115


NOTE: it may not be called dividend im not a scientist here, but anyways yeah. as you know, small errors are easy to make especially when its not important.
 
> I want to learn Binary code but i don't really know much at all. i think i know
> four bit a little see. 1000101101=16 i think i'm not sure. Where can i go to
> learn on the web?

Okay, i got a little here for ya. For computer binary code, here is something with numbers, but individual numbers, so not 16, but 1 and 6. To write 16 you need to write 00110001 00110110, so 1 and then 6. the 0011 in the beginning shows that it's a number we are talking about. If it says 01*0 (star can be either) then it's a letter. It's very basic, but you can try out, and use this website:

http://home2.paulschou.net/tools/xlate/

You can just write in normal language, and it'll translate for you, and learn that way.
But that was the computer language, how it shows on the screen. The main binary language will be different. The computer calculates in another binary code, this one:
000001

16 8 4 2 1
so 00001 says 1. When you take 00001 and look at it, you really see 16 8 4 2 1. If you put 0 at the numbers place, it will not be used, but if you put 1 in the numbers place, it will use it.
That means, that 10001 is 17, because it puts the numbers together, so if you want to add 8, you just put a 1 on 0*000. Hope you get it.

If you want to add 9 in 10001, then you just do 11010, so it's pretty basic math. If you need further help, i can help you by e-mail:
[email protected]

Hope i could help
Cracken
 
D
>computer binary code...To write 16 you
>need to write 00110001 00110110, so 1
>and then 6.

Technically, this is called binary coded ASCII, and is just giving the binary representation of the numeric value assigned to the ASCII character that is represented. You can find these codes easily - just search on binary coded ascii - here is the wiki:

http://en.wikipedia.org/wiki/ASCII

note that the chart half way down this page shows binary, octal, decimal, and hex values for the characters. The old terminals used these codes to map to the characters typed/displayed. If you take command line arguments in ansi c code you may well use these values to decode the values entered.

Davis Gentry
 
Actually 1000101101 = 557 The best place to learn the easy explanation [for binary code] is on youtube there is a ten minute tutorial it is actually extremely easy ([email protected] if u wish to contact me)
 
If you can't convert it manually, than windows has this built into the calculator. Type 25 in as decimal and then hit the binary button. Works like a charm. You have to be in either "scientific" or "programming" calculator mode in order to do this depending on what version of windows you use.

It appears as if your stream or display is backwards, I found 25 to be 11001.

KEJR
 
B
<pre>25 = 16 + 8 + 1
= 1 x 2^4 + 1 x 2^3 + 0 x 2^2 + 0 x 2^1 + 1 x 2^0
= 11001 in binary

Hope this helps.

More generally - divide the binary number by 2. Save the remainder (0 or 1).
Divide the whole part of the result by 2 and save the remainder.
Repeat till you run out of number.

The remainders, reading from last to first, give the binary number.

So 25/2 = 12 + 1
12/2 = 6 + 0
6/2 = 3 + 0
3/2 = 1 + 1
1/2 = 0 + 1</pre>
Bruce
 
Stop telling these people wrong things, it's an 8 bit code, consisting of 3 bits for the case and 5 bits for the letter. And why does everyone count binary in 8 bit or 1 byte code?? Why not just say that 16 is 10000, it's much easier

> You make words by combining the codes for letters. First you have the code
> that tells whether the letter is capitalized or lower cased.

---- snip ----
 
If you think of binary like this, is you have 5 cards, 1 2 4 8 16. Now these cards total thirty one. A turned over card represents 0 an un-turned over card represents a 1, so if cards 4 and 8 were turned over you'd add up the total of the cards left (19) the it would be 11001 so 11001 is 19.
 
J

Jordan Kovacs

That is very helpful. Does it count for programing too? I'm a programer (Age 10, since age 9.) and I find binary (Assembler) to be a very hard programing language.

Jordan.
 
Top