Review of Number
systems
Dr. P. Chandrashekar
Professor
Dept. of ECE
1
Unit-1
Review of Number systems
Representation of numbers of different radix, conversion of
numbers from one radix to another radix, r-1‘s complement
and r‘s complement of unsigned numbers subtraction, problem
solving. Signed binary numbers, different forms, problem
solving for subtraction. 4-bit codes: BCD, EXCESS 3,
alphanumeric codes, 9‘s complement .
2
Number systems, Conversion of one
radix to other radix
Students will be able to do:
1 Understand Number systems
2 Representation of Number systems
3 Base conversion methods
3
Topic Learning Outcome
Understand Number systems
Representation of Number systems
Base conversion methods
4
Introduction to Numbering Systems
Positive radix, positional number systems
A number with radix (base) r (or b) is
represented by a string of digits (n in
integer and m in fraction):
An - 1An - 2 … A1A0 . A- 1 A- 2 … A- m
Integer Part Fraction Part
where “.” is the radix point.
Introduction to Numbering Systems
• We are all familiar with the decimal number
system (Base 10). Some other number systems
that we will work with are:
– Binary Base 2
– Octal Base 8
– Hexadecimal Base 16
6
Number Systems
System Base Symbols Example
Decimal 10 0, 1, … 9 (255)10
Binary 2 0, 1 (100101)2
Octal 8 0, 1, … 7 (377)8
Hexa-decimal 16 0, 1, … 9, A, B, … F (1A4F)16
7
Binary Number System
• Also called the “Base 2 system”
• The binary number system is used to model the
series of electrical signals computers use to
represent information
• 0 represents the no voltage or an “OFF” state
• 1 represents the presence of voltage or an “ON”
state
8
Octal Number System
Octal
• Also known as the Base 8 (8)
System 0
1
• Uses digits 0 – 7 2
3
• Also uses multiplication and 4
division algorithms for 5
conversion to and from base 10 6
7
9
Decimal Number System
• Base 10
• Ten Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
• Example: 104510
• Positional Number System
n 1 4 3 2 1 0
10 10 10 10 10 10
d n 1 d 4 d3 d 2 d1 d 0
• Digit d0 is the least significant digit (LSD).
• Digit dn-1 is the most significant digit (MSD). 10
Hexadecimal Number System
• Base 16 system
• Uses digits 0-9 &
letters A,B,C,D,E,F
• Groups of four bits
represent each
base 16 digit
11
Summary
• Different number system
• Binary
• Decimal
• Octal
• Hexadecimal
12