You are on page 1of 19

CSE 231: Digital Logic Design

Lecture – 2 : Number System

1
What is Number
System
A number system is a system representing
numbers. It is also called the system of
numeration and it defines a set of values to
represent a quantity.

The representation of numbers bare being done


by using digits or other symbols in a consistent
manner.
History of Number System
Modern Number System
Types of Number System
Positional Number System: A positional number
system is a numeral system in which the value of a
digit depends on its position within the number.

Non-Positional Number System: A non-positional


number system, also known as an additive number
system, assigns values to symbols independently of
their position
Most Significant Digit (MSD) &
Least Significant Digit (LSD)
Conversion of Number System

Binary

1 Decimal Octal
Octal
Hexadecimal
3 Binary
Binary
Hexadecimal
2 Decimal Octal

Hexadecimal
Conversion of Number System

Decimal to Binary
Conversion of Number System

Decimal to Octal
Conversion of Number System

Decimal to Hexadecimal
Conversion of Number System

Binary to Decimal
Conversion of Number System

Octal to Decimal
Conversion of Number System
Hexadecimal to Decimal
Conversion of Number System
Binary to Octal

N:B: Take only 3 binary digit to make octal. If you do not have enough binary digit to make 3 digit before
floating point then add extra 0 in the most left side before floating point and if you need to make 3 digit after
floating point then add a extra 0 in the most right side after floating point
Conversion of Number System
Binary to Hexadecimal

N:B: Take only 4 binary digit to make octal. If you do not have enough binary digit to make 4 digit before
floating point then add extra 0 in the most left side before floating point and if you need to make 4 digit after
floating point then add a extra 0 in the most right side after floating point
Conversion of Number System
Octal to Hexadecimal
Conversion of Number System
Octal to Hexadecimal
Conversion of Number System
Hexadecimal to Octal
Conversion of Number System
Hexadecimal to Octal

You might also like