English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I do not understand how it works? Help please???

2007-09-19 16:54:47 · 7 answers · asked by gina j 2 in Education & Reference Homework Help

7 answers

We humans count by tens, because we have ten fingers.
Computers only have switches or lights for counting.
They can either be on or off, which represents 0 or 1.

When we have counted to 10, we 'carry' 1, & start over.
The same rule applies for computers, but they count to 1.
So it goes: 0, 1, 10, 11, 100, 101, 110, 111, 1000, etc.
In decimal that's: 0, 1, 2, 3, 4, 5, 6, 7, 8, etc.

We have given names to the positions in decimal:
units, tens, hundreds, thousands, & so on.
In binary the positions are labelled for the decimal value:
1, 2, 4, 8, 16, 32, 64, & so on.

To convert the binary number back to decimal,
you just add up all the positions with a one.

2007-09-19 17:08:03 · answer #1 · answered by Robert S 7 · 1 0

In computing, binary numbers usually run in groups of 8 (a series of 8 1's and 0's). Each of these 8 has a value. They are: 128 , 64 , 32 , 16 , 8 , 4 , 2 ,1 . (if you have a bigger number just keep doubling).

Each time the number 1 appears in a certain place that numeric equivalent is counted, when an 0 appears that number is not counted.
So the number 12 can be written as:
00001100 or simply 1100 ( = 8 + 4). The numbers are doubled from right to left. The binary number 11 = 3, 11101 = 29. For this example (where 11101 = 29 simple table for binary counting can look like this:

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

so
16 + 8 + 4 + 1 = 29 (11101)

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

so
64 + 8 + 2 + 1 = 79 (1001011)

Clear as mud?

2007-09-20 00:21:19 · answer #2 · answered by nj h 3 · 0 0

List in order the numbers that only use the digits 0 and 1:
0, 1, 10, 11, 100, 101, 110, 111, 1000, 1001, 1010, 1011, ...

We then assign these to mean 0, 1, 2, 3, 4, 5, 6, 7, 8, ...
So the binary number 10 is really 2, the binary number 100 is really 4, and the binary number 1000 is really 8.

We can also add to get that 1100 = 1000 + 100, which is really 8 + 4 or 12.

I hope this helps!

2007-09-20 00:01:42 · answer #3 · answered by math guy 6 · 0 1

Base 10 (decimal where deci is the prefix meaning 10) go through 10 symbols, then repeat. 0-9, 10-19, 20-29, etc.

Base 3 (trinary where tri is the prefix meaning 3) go through 3 symbols, then repeat. 0, 1, 2, 10, 11, 12, 20, 21, 22. etc
If you replaced numbers with letters, you would get A, B, C, AA, AB, AC, BA, BB, BC, CA, CB, CC, AAA, AAB, AAC, ...

Base 2 (binary where bi is the prefix meaning 2) go through 2 symbols then repeat. 0, 1, 00, 01, 10, 11, 100, 101, 110, 111, 1000, etc.

There are other bases in programming languages specifically octal (8) and hexidecimal (16 [hexi & deci] where the use 0-9 and A-F)

2007-09-20 00:03:08 · answer #4 · answered by diesel_pusher2 3 · 1 0

A really simple description:

It's a "Base 2" counting system. There are only two characters. Every time you get to "1" you go to the next digit.

Just like our common "Base 10" counting system. Every time we get to "9" we start over again with the next digit. So instead of counting by tenths, you count by halves.

2007-09-20 00:02:43 · answer #5 · answered by martinlh 4 · 0 0

1 means true, 0 means false. 1 means on, 0 means off.

2007-09-19 23:59:54 · answer #6 · answered by leeloo ♥ 6 · 0 0

all i know is that it only contains 0's and 1's!
:)

2007-09-19 23:59:41 · answer #7 · answered by Anonymous · 0 0

fedest.com, questions and answers