How Does Binary Work

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

How Does Binary Work?

The 0s and 1s in binary represent off or on respectively. In a transistor, a 0


represents no flow of electricity. In contrast, 1 represents flow of electricity. In this
way, numbers are represented physically inside the computing device permitting
calculation.

Why Do Computers Use Binary?


● Binary is still the primary language of computers for the following reasons:
● It is a simple and an elegant design.
● Binaries 0 and 1 method are quick to detect electrical signals in on or off state.
● Positive and negative poles of magnetic media are translated into binary
quickly.
● Binary is the most efficient way to control logic circuits.
STEPS TO CONVERT DECIMAL SYSTEM TO BINARY SYSTEM
Conversion of decimal number to binary is easy even without
calculator, using remainder method. This involves dividing the number by 2
recursively until you are left with 0, while taking note of each remainder.

1. Write down the decimal number.


2. Divide the number by 2.
3. Write the result underneath.
4. Write the remainder on the right-hand side.
This will be 0 or 1.
5. Divide the result of the division by 2 and write
down the remainder.
6. Continue dividing and writing down remainders
until the result of the division is 0.
7. Note that the most significant bit (MSB) is at the bottom of the column of
remainders and the least significant bit (LSB) is at the top.
8. Read the series of Is and 0s on the right from the bottom up. This is the binary
equivalent of the decimal number.
STEPS TO CONVERT BINARY SYSTEM TO DECIMAL SYSTEM
Converting from binary to decimal involves multiplying the value of each digit, 1
or 0, by the value of the placeholder in the number.
1. Write down the number.
2. Start with the LSB.
3. Multiply the digit by the value of the
place holder.
4. Continue doing this until you reach the
MSB.
5. Add the results together Add 2
BASIC COMPUTER MEASUREMENT UNIT
Memory unit is the amount of data stored in the storage unit. This storage capacity
expressed in terms of bytes.

You might also like