0% found this document useful (0 votes)
29 views

Binary Number System: Example

The binary number system represents numbers using only two symbols, 0 and 1. It is a useful system for computers, which use transistors in two states to represent 0 and 1. Each digit in binary is called a bit. Binary numbers can be converted to decimal by multiplying each bit by a power of two. Binary numbers can also be converted to other number systems like octal and hexadecimal.

Uploaded by

Alina Sweet
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views

Binary Number System: Example

The binary number system represents numbers using only two symbols, 0 and 1. It is a useful system for computers, which use transistors in two states to represent 0 and 1. Each digit in binary is called a bit. Binary numbers can be converted to decimal by multiplying each bit by a power of two. Binary numbers can also be converted to other number systems like octal and hexadecimal.

Uploaded by

Alina Sweet
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Binary Number System

Binary Number System is a number system that is used to represent various numbers
using only two symbols “0” and “1”. The word binary is derived from the word “bi” which
means two. Hence, this number system is called Binary Number System. Thus, the binary
number system is a system that has only two symbols and its base is 2

Here, we are only going to learn about Binary Number System. This
number system is very useful for explaining tasks to the computer. In the
Binary Number System, we have two states “0” and “1” and these two
states are represented by two states of a transistor. If the current passes
through the transistor then the computer reads “1” and if the current is
absent from the transistor then it read “0”. Thus, alternating the current the
computer reads the binary number system. Each digit in the binary number
system is called a “bit”.

Example:
(11001)2
Binary Number Table
Decimal Number Binary Number Decimal Number Binary Number

1 001 11 1011

2 010 12 1100

3 011 13 1101

4 100 14 1110

5 101 15 1111

6 110 16 10000

7 111 17 10001

8 1000 18 10010

9 1001 19 10011

10 1010 20 10100
Binary to Decimal Conversion
A binary number is converted into a decimal number by multiplying each digit of the
binary number by the power of either 1 or 0 to the corresponding power of 2.

Example: Convert (10011)2 to a decimal number.

Solution:

The given binary number is (10011)2.

(10011)2 = (1 × 24) + (0 × 23) + (0 × 22) + (1 × 21) + (1 × 20)

= 16 + 0 + 0 + 2 + 1 = (19)10

Hence, the binary number (10011)2 is expressed as (19)10.


Example 2: Convert Binary Number (1010101)2 to Decimal Number.

Solution:

Given Binary Number, (1011101)2

= (1 × 20) + (0 × 21) + (1 × 22) + (0 × 23) + (1 × 24) + (0 × 25) + (1 ×26)

= 1 + 0 + 4 + 0 + 16 + 0 + 64

= (85)10

Binary to Octal conversion Examples


Example 1: Convert 10101012 to octal

Solution:

Given binary number is 10101012

First, we convert given binary to decimal

10101012 = (1 * 26) + (0 * 25 ) + (1 * 24) + (0 * 23) + (1 * 22) + (0 * 21) + (1 * 20)

= 64 + 0 + 16 + 0 + 4 + 0 + 1

= 64 + 21

0101012= 85 (Decimal form)

Now we will convert this decimal to octal form

Therefore, the equivalent octal number is 1258.

Example 2: Convert 011012 to octal


Solution:
Given binary number is 011012

First we convert given binary to decimal

011012 = (0 * 24) + (1 * 23) + (1 * 23) + (0 * 2) + (1 *20)

= 0 + 8 + 4 + 0 +1

011012= 13 (Decimal form)

Now we will convert this decimal to octal form


Therefore, the equivalent octal number is 158.

Conversion from Binary to Hexadecimal number system


Hexadecimal number is one of the number systems which has value is 16
and it has only 16 symbols − 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 and A, B, C, D, E, F.
Where A, B, C, D, E and F are single bit representations of decimal value 10,
11, 12, 13, 14 and 15 respectively.

You might also like