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

APPLICATIONS OF ICT

Name: Rida Nadeem


Roll no: 031
Class: BSMC (SEM-1)

The Binary System


The binary system is a way of representing numbers using only
two digits:0 and 1. It’s the language That computers use to
process and store information. Each digit in a binary number is
called a bit, and it can be either 0 or 1. By combining these bits,
we can represent any number or piece of data. It's like a secret
code that computers understand.
Binary System Representation
Before we move on to presenting numbers with arbitrary base b
where b is a natural number greater than ,1, we consider one more
special case. One of the most common bases other than base 10 is
base .2. While base 10 numbers are written with the ten symbols
0, 1, 2, 3, 4, 5, 6, 7, 8, and 9 numbers in base 2 are written using
the two symbols 0 and 1.
Base 2 representation is particular of interest because digital
devices (such as computers) work with the two states on and off,
which are represented by 0 and .1. To distinguish numbers in base
2 representation from numbers in base 10 representation we add
a subscript 2 to the number in base 2 representation. For example
we write:
10012 =9
Where we interpret 10012 as a 2 number in base 2 representation
and 9 as a number in base 10 representation. Numbers in base 2
representation are also called binary numbers.
Conversion from binary to decimal numbers
To convert binary to decimal, follow these steps:
• Write down the binary number.
• Assign positions to each digit from right to left (0, 1, 2, …).
• Multiply each digit by 2 raises to its position and sum up the
results.
Example:
Find the decimal value of 1110012 :
Binary 1 1 1 0 0 1
Number
Power of 2 25 24 23 22 21 20
1110012 = 1.25+ 1.24+ 1.23+ 1.22+ 1.21+ 1.20
=5710

You might also like