Binary Arabic

Binary -> Arabic

 

Computers understand numbers as we do, but see them differently.

Computers work on a base of 2 (they understand numbers by powers of 2 eg. 2^2, 2^5…) through 1s and 0s. The number 58 is seen by a computer as 111010

2^5 (32)

2^4 (16)

2^3 (8 )

2^2 (4)

2^1 (2)

2^0 (1)

1

1

1

0

1

0

The 1 acts as ON telling the computer to include the number and the 0 acts as OFF.

The computer adds up the numbers that are indicated as ON to determine the number.

As shown above 2^5+2^4+2^3+2^1 which is the same as 32+16+8+2 which equals 58.

Therefore; 58 is 111010 in Binary.

 

 

 

Arabic -> Binary

 

This is not as easy, it is a matter of trial and error.

We are given the number 73.

The first step is to subtract the biggest power of 2 equal to or less than 73 in this case being 2^6, 64.

73 – 64 = 9

We know that the first of 7 numbers is now a 1 so we have 1******

The next number we can subtract by is 2^3 which is 8

9 – 8 = 1 therefore we have 1001***

The last number is 1 so we subtract one from one and get 1001001.

1s act as ON and 0s as OFF for each increasing power of 2 from left to right, starting at 2^0.

 

 

Advertisement

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 )

Twitter picture

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

Facebook photo

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

Connecting to %s


Follow

Get every new post delivered to your Inbox.