5a (Digital System) Number System - Amin - V.student
5a (Digital System) Number System - Amin - V.student
5a (Digital System) Number System - Amin - V.student
Engineering
MEC523
APPLIED ELECTRONICS &
MICROPROCESSOR
Part 2
5.2 Logic gates and Boolean Functions
5.3 De Morgan's Theorem
5.4 Minimization - K-map
Part 3
5.5 Combinational logic circuits;
adders, decoders, encoders, mux, demux
PART 1
Number systems and Conversion
Be able to define types of numbering
system
Binary
Numbering Decimal
system
Hexadecimal
NUMBERING SYSTEM
Consists of binary number, decimal,
octal and hexadecimal.
Binary Decimal
BINARY-DECIMAL
Any binary number can be converted into its equivalent
decimal number using the weights assigned to each bit
position. Since only two digits are used, the weights are
powers of 2. these weights are20 (Units), 21 (twos), 22
(fours)23 (eights) and 24 (sixteen). If longer binary
number involved, the weights continue in ascending
powers of 2.
Solution:
The equivalent decimal number is,
= 1 x 2 4 + 1 x 2 3 + 1 x 2 2 + 1 x 21 + 1 x 20
= 16 + 8 + 4 + 2 + 1
= ( 31 )10
Example 2
Determine the decimal numbers represented by the
following binary numbers.
a) 101101. 10101
b) 1001 . 0101
Decimal Binary
DECIMAL-BINARY
Solution:
Example 2
Convert decimal 23 to binary.
Solution:
Example 3
Convert ( 0.65625)10 to an equivalent base 2 number.
Solution:
Exercise:
Express the following decimal numbers in the binary
form.
a)25.5 b) 10.625
Binary Octal
BINARY TO OCTAL
Binary numbers can be converted Octal Binary
into equivalent octal numbers by 0 000
making groups of three bits
1 001
starting from least significant digit
(LSD) and moving towards most 2 010
significant digit (MSD) for integer 3 011
part of the number and then
replacing each group of three bits 4 100
by its octal representation. For 5 101
fractional part the groupings of
6 110
three bits are made starting from
the binary point. 7 111
Example 1
Convert 0011001102 to its octal equivalent.
Example 2
Convert 0.101001102 to its octal equivalent.
Octal Binary
OCTAL TO BINARY Octal Binary
Solution:
7 3 6
111 011 110
a) 10100110101111
b) 0.00011110101101
OCTAL CONVERSION
The number system with base ( or redixy) eight is known
as the octal number system. In this system eight
symbols, 0, 1, 2, 3,4,5,6, and 7 are used to represent the
number. Similar to decimal and binary number systems,
it is also a positional system and has, in general, two
parts :
Decimal Octal
Binary Hexadecimal
Exercise
Hexa-
Decimal Binary Octal decimal
29.8
101.1101
3.07
C.82