Number
System
MADE BY
ADIT MISHRA
RITESH PRAJAPATI
ALOK
TEJAS DUDHE
Introduction
• NUMBER : A number is a symbol which is used to express a quantity or amount.
• NUMBER SYSTEM : Number system is an organized and systematic way of representing number.
There are 4 types of number system :
Binary Number system
Octal number system
Decimal number system
Hexadecimal number system
• BASE : It is simply the number of symbols which are available to a number system.
Flowchart of
Number system
Binary Number
System
• This number system has only two
symbols : 0 and 1.
• Most of the computers use this number
system to process data.
• It's because Computers are made of a
series of switches/ gates. Each switch has
two states: ON(1) or OFF(0).That's why
computer works on the basis of binary
number system(0/1).
Conversions between Binary
and Decimal number systems
• Binary to Decimal :
(100101) 2 = (1*2 5 )+(0*2 4 )+(0*2 3 )+(1*2 2 )+(0*2 1 )+(1*2 0 )
= 32 + 0 + 0 + 4 + 0 + 1
= 37
• Decimal to Binary :
Hexadecimal
digits
HEXADECIMAL NUMBER
SYSTEM
• Hexadecimal is a numbering system with base 16. It
can be used to represent large numbers with fewer
digits. In this system there are 16 symbols or possible
digit values from 0 to 9, followed by six alphabetic
characters -- A, B, C, D, E and F.
POSITION VALUE IN HEXADECIMAL
HEXADECIMAL NOTATION
• HEXADECIMAL NUMBER
SYSTEM
TO
• BINARY NUMBER SYSTEM
Octal Number
System
• Octal number system was devised for compact
representation of the binary numbers.
• Octal number system is called base-8 system as
it has total eight digits (0-7), and positional
value is expressed in powers of 8.
• The advantage of this system is that it has lesser
digits when compared to several other systems,
hence, there would be fewer computational
errors
Conversions between Binary and Octal number
system
• (A) Binary Number to Octal Number
Question: Convert (011011) 2 to octal number
Solution: Make group of 3-bits of the given binary number
(right to left) 011 011
Write octal number for each 3 3
3-bit group
Therefore, (011011)2 = (33) 8
Octal to binary number:
• Question: Convert (25)8 to binary number.
Solution: Octal digits 2 5
Write 3-bits binary value 010 101
for each digit
Therefore, (25) 8 = (010101) 2
Binary Addition
BINARY ADDITION –
Binary addition is one of the binary
operations. To recall, the term “Binary
Operation” represents the basic operations of
mathematics that are performed on two
operands. Basic arithmetic operations like
addition, subtraction, multiplication, and
division, play an important role in
mathematics.
Rules of Binary Addition
Binary addition is much easier than the decimal addition when you remember the following tricks or
rules. Using these rules, any binary number can be easily added. The four rules of binary addition:
0+0=0
0+1=1
1 + 0 = 1(carry one)
• 1 + 1 =1(carry one)
Re-arrangement of bits during
Binary addition
.
Questions and Answers
• Q.1) Convert the following binary numbers to decimal numbers.
(110110) 2 (11010011) 2
• Q.2) Convert the following binary numbers to octal form.
(10110100) 2 (110001) 2
• Q.3) Convert the following binary numbers to hexadecimal form.
(1010001100) 2 (110001011110) 2
• Q.4) Write all combinations of binary digits of 2 8 bits by binary addition.
• Q.5) Observe the above combinations and find out if there is a faster way of writing them.