Velocity Reviews > Counting In Binary

# Counting In Binary

Jonathan Miles
Guest
Posts: n/a

 03-06-2004

> > > > >> Surely that should be 10 sites
> > >>
> > >>
> > >

> >
> > You're not thinking in binary, Kathy...
> >

Surely that should be 00001010 sites then?

)

JM

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.596 / Virus Database: 379 - Release Date: 27/02/2004

Tom MacIntyre
Guest
Posts: n/a

 03-06-2004
On Sat, 6 Mar 2004 13:19:46 -0000, "Jonathan Miles"
<jonathanmilesnospam@uk2dotnet> wrote:

>
>> > > > >> Surely that should be 10 sites
>> > >>
>> > >>
>> > >
>> >
>> > You're not thinking in binary, Kathy...
>> >

>
>
>Surely that should be 00001010 sites then?
>
>)
>
>JM
>
>
>---
>Outgoing mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.596 / Virus Database: 379 - Release Date: 27/02/2004
>

Darn it Jonathan...you beat me to it!

Tom

Drew
Guest
Posts: n/a

 03-07-2004
I had an old Fortran guy show me the EASIEST way to count in binary. I'll
try to explain it. It's easy and you don't need to remember the "place

Take any binary number, like 01010111;

Start on the LEFT (that's not a mistake, left not right) and find the first
"1" and count it as "1".

Move one place to the RIGHT and double your previous score if it's a "0" or
double it + 1 if it's a "1". In the example above, it's a 0, so double your
previous 1, so the answer is now 2.

Continue moving one place at a time, doubling your number if that particular
digit is a 0, or double + 1 if it's a 1.

So for the example above, working from left to right, starting at the first
"1",

Count 1 and move to the next place;
Now 2 (Double answer from above because it's a 0) and move to the next
place;
Now 5 (Double 2 and add 1 because it's a 1) and move to the next place;
Now 10 (double 5 because it's a 0) and move to the next place;
Now 21 (Double 10 and add 1 because it's a 1) and move to the next place;
Now 43 (Double 21 and add 1 because it's a 1) and move to the next place;
Now 87 (Double 43 and add 1 because it's a 1) and you're done, the number
equals 87.

It sure beats adding 64 + 16 + 4 + 2 + 1

I hope I explained that well. It's easier to do on a dry-erase board because

Doug

From
"Raymond" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I know that understanding how to count in binary is not going to help in
> fixing computer, but I just want to know. I don't understand the concept

of
> counting in binary. Can anyone tell me how it work counting from 1 to 10?
>
>

Jonathan Miles
Guest
Posts: n/a

 03-07-2004
Thanks for sharing that, I like it a lot!!

)

JM

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.596 / Virus Database: 379 - Release Date: 27/02/2004