Binary

The binary number system represents number using either a 1 or a 0. This is used to keep calculations within the computer simple. A binary digit known as a bit, and 8 bits make up a byte.

Converting Binary to a Decimal Number:

convert 00101101
= 128 64 32 16 8 4 2 1
1 1 1 0 1
= 32 + 8 + 4 + 1
= 45

Converting a Decimal Number to Binary:

Convert 122 to Binary

First you must check to see if the number you need to convert will go into 128 if it does you would represent this using a 1. This number does not so it is represented with a 0. You move onto 64, the 122 that is being converted does go into 64 so it is represented with a 1. With the remaining amount which would now be 58 you must see if it goes in to 32, 16, 8 and so on.

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

= 122.

Advertisements

9 responses

  1. This is a good blog and very easy to understand. One slight problem that I have with the blog is that the examples are quite hard to understand as the binary numbers are not directly underneath their values and some of the 0’s are missing to show that there is still a binary value needed.

  2. The blog is very good to understand and well layed out. On the downside it would be good to have a little more information but apart from that it is very good. #

    Alasdair Shirkie, Auchinleck Academy. x

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s