Digital 1
Digital 1
Systems
Associate prof. Heba A. Khattab
Faculty of Engineering
Numbering Systems
Types of Number System
Decimal System
Binary Number System
Octal Number System
Hexadecimal Number System
Number System
Number
It is a symbol representing a unit or quantity.
Radix
The base or radix of number system
determines how many numerical digits the
number system uses.
(Y)X
Types of Number System
Decimal Number System
It is widely used and is based on the ten fingers
of a human being.
It makes use of ten numeric symbols
0,1,2,3,4,5,6,7,8,9
Positional Value
The positional value of a numeric symbol is directly
related to the base of a system.
• In the case of decimal system, each position has a
value of 10 times greater that the position to its right.
Example: 423,
the symbol 3 represents the ones (units), the symbol 2
represents the tens position (10 x 1), and the symbol
4 represents the hundreds position (10 x 10).
In other words, each symbol move to the left represents
an increase in the value of the position by a factor of
ten.
Positional Value
2539
= 2X1000 + 5X100 + 3X10 + 9X1
= 2X10^3 + 5X10^2 + 3X10^1 + 9 x10^0
This means that positional value of symbol 2 is
1000 or using the base 10 it is 10^3
Decimal Number System
Positional Value
Most computers count in binary, which we can
easily understand from the decimal so ingrained
in us
Works for Fractional Numbers too
Binary Number System
Binary Number System
Uses only two numeric symbols 1 and 0
• Under the binary system, each position has a
value 2 times greater than the position to the
right.
Conversion from binary system to
decimal system
Binary Number System
(157)10 = (235)8
Octal Number System
Octal Number System
Conversion from octal to decimal
system
Conversion from octal to binary
system
Convert (1345)8 to its binary
Hexadecimal Number System
Provides another convenient and simple method
for expressing values represented by binary
numerals.
• It uses a base, or radix, of 16 and the place
values are the powers of 16.
Hexadecimal Number System
Hexadecimal Number System
Conversion from decimal to
hexadecimal
Convert (323)10 to hexadecimal
Radix Conversion
The process of conversing a base to another.
To convert a decimal number to any other
number system, divide the decimal number by
the base of the destination number system.
Repeat the process until the quotient becomes
zero.
And note down the remainders in the reverse
order.
To convert from any other number system to
decimal, take the positional value, multiply by
the digit and add.
Radix Conversion
Radix Conversion
Works for Fractional Numbers too
Works for Fractional Numbers too
Fast Conversions
Fast Conversions