A numbers system is a basis for counting various items. Fimilar number system is decimal number with its 10 digits 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9.
REVIEW
OF NUMBER SYSTEMS
A
numbers system is a basis for counting various items. Fimilar number system is
decimal number with its 10 digits 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9.
Modern
computers communicate and operate with binary numbers which use only two digits
0 and 1, and other number systems are octal and hexadecimal numbers.
Decimal
number system is familiar number system. It express any decimal number in
units, tens, hundreds, thousands and so on. We write a decimal number 4567.8 as
4000
+ 500 +60 +7 +0.8 = 4567.8
In
power of 10, we can write as
4
× 103 + 5 × 102 + 6 × 101 + 7 × 100
+ 8 × 10-1
The sum of all the digits multiplied by their weights gives the total number being represented. The leftmost digit, which has the greatest weight is called Most Significant Bit (MSB) and rightmost digit, which has the least weight, is called the least significant Bit (LSB). It is shown in figure 4.1.
Problem: 1
Represent decimal number 146.92 in
power of 10.
Solution:
N
= 1 × 102 + 4 × 101 + 6 × 100 + 9 × 10-1
+ 2 × 10-2
The
digit 1 has a weight of 100, the digit 4 has a weight of 10, the digit 6 has a
weight of 1, the digit 9 has a weight of 1/10 and the digit 2 has a weight of
1/100.
The
binary system have two possible values '0' and '1'. Each coefficient aj
is multiplied by 2j. In binary system each binary digit called as
bit. Fig 4.2 shows the binary position as a power of 2.
Problem: 2
Represent the binary 1010.101 and
find the its decimal equivalent.
1010.101
N
⇒ 1 × 23 +0 ×
22 + 1 × 21 + 0 × 20 + 1 × 2-1 + 0
× 2-2 + 1 × 2-3
=
8 + 0 + 2 + 0 + 0.5 + 0 + 0.125
=
(10.625)10
(1010.101)2
⇒ (10.625)10
Problem: 3
Convert binary to decimal for N =
10111.11.
=
1 × 24 + 0 × 23 + 1 × 22 + 1 × 21 +
1 × 20 + 1 × 2-1 + 1 × 2-2
=
16 + 0 + 4 + 2 + 1 + 0.5 + 0.25
=
(23.75)10
(10111.11)2
→ (23.75)10
The
octal number system uses first eight digits of decimal number system 0, 1, 2,
3, 4, 5, 6 and 7. It uses 8 digits and base is 8
Problem: 4
Represent octal number 436 in power
of 8 and find its decimal value.
4
× 82 + 3 × 81 +6 × 80
=
4 × 64 + 3 × 8 + 6 × 1
=
256 + 24 + 6
=
286
(436)8
→ (286)10
The
hexadecimal number system has a base of 16 having 16 digits: 0, 1, 2, 3, 4, 5,
6, 7, 8, 9, A, B, C, D, E and F.
Problem: 5
Convert the hexadecimal number A21
to decimal number.
N
= A21
=A
× 162 + 2 × 161 = 1 × 160
=
10 × 256 + 2 × 16 + 1
=
2560 + 32 + 1
(A21)16
= (2593)10
Basic Electrical and Electronics Engineering: Unit IV: Digital Electronics : Tag: : with Solved Example Problems | Digital Electronics - Review of Number Systems
Basic Electrical and Electronics Engineering
BE3251 2nd semester Mechanical Dept | 2021 Regulation | 2nd Semester Mechanical Dept 2021 Regulation
Basic Electrical and Electronics Engineering
BE3251 2nd Semester CSE Dept 2021 | Regulation | 2nd Semester CSE Dept 2021 Regulation
Professional English II
HS3251 2nd Semester 2021 Regulation | 2nd Semester Common to all Dept 2021 Regulation
Statistics and Numerical Methods
MA3251 2nd Semester 2021 Regulation M2 Engineering Mathematics 2 | 2nd Semester Common to all Dept 2021 Regulation
Engineering Graphics
GE3251 eg 2nd semester | 2021 Regulation | 2nd Semester Common to all Dept 2021 Regulation
Physics for Electrical Engineering
PH3202 2nd Semester 2021 Regulation | 2nd Semester EEE Dept 2021 Regulation
Basic Civil and Mechanical Engineering
BE3255 2nd Semester 2021 Regulation | 2nd Semester EEE Dept 2021 Regulation
Electric Circuit Analysis
EE3251 2nd Semester 2021 Regulation | 2nd Semester EEE Dept 2021 Regulation
Physics for Electronics Engineering
PH3254 - Physics II - 2nd Semester - ECE Department - 2021 Regulation | 2nd Semester ECE Dept 2021 Regulation
Electrical and Instrumentation Engineering
BE3254 - 2nd Semester - ECE Dept - 2021 Regulation | 2nd Semester ECE Dept 2021 Regulation
Circuit Analysis
EC3251 - 2nd Semester - ECE Dept - 2021 Regulation | 2nd Semester ECE Dept 2021 Regulation
Materials Science
PH3251 2nd semester Mechanical Dept | 2021 Regulation | 2nd Semester Mechanical Dept 2021 Regulation
Basic Electrical and Electronics Engineering
BE3251 2nd semester Mechanical Dept | 2021 Regulation | 2nd Semester Mechanical Dept 2021 Regulation
Physics for Civil Engineering
PH3201 2021 Regulation | 2nd Semester Civil Dept 2021 Regulation
Basic Electrical, Electronics and Instrumentation Engineering
BE3252 2021 Regulation | 2nd Semester Civil Dept 2021 Regulation
Physics for Information Science
PH3256 2nd Semester CSE Dept | 2021 Regulation | 2nd Semester CSE Dept 2021 Regulation
Basic Electrical and Electronics Engineering
BE3251 2nd Semester CSE Dept 2021 | Regulation | 2nd Semester CSE Dept 2021 Regulation
Programming in C
CS3251 2nd Semester CSE Dept 2021 | Regulation | 2nd Semester CSE Dept 2021 Regulation