| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Lesson 1-9: Binary Conversions

Page history last edited by Ms. R. Singh 13 years, 5 months ago

BINARY CONVERSIONS

 

The Binary number system is also known as Base 2.  It consists of the digits 0 and 1.

 

The Decimal number system is also known as Base 10.  It consists of the digits 0 to 9.

 

 

CONVERTING DECIMAL TO BINARY

To convert a decimal number to binary, we need to divide the decimal number repeatedly by 2 and read the remainders downwards up.

 

Eg. Convert 23 to binary

 

Ans.  

 

 

 

 

 

 

 

 

 

 

 

 

 

Therefore,    2310 = 101112

 

 

 

CONVERTING BINARY TO DECIMAL

  1. To do this, first we need to count the number of bits in the binary number, then construct a table with 2 rows and n columns, where n represents the number of bits.
  2. Next, we place a 1 in the top right hand corner of the table, and multiply by 2 to get the other values in the first row.
  3. Then, fill in the binary number in the 2nd row, multiply top by bottom and add the values.

 

 

Eg. Convert 10111 to decimal

 

Ans. The above binary number has 5 bits, therefore we need to construct a table with 5 columns and 2 rows.

 

  

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Comments (0)

You don't have permission to comment on this page.