Fundamental of ICT: Lecture-6
Fundamental of ICT: Lecture-6
Lecture-6
Number System
• Numbers
• Letters of the alphabet and special characters
• Microprocessor Instruction.
• Graphics/Video
• Sound
Binary 2 0, 1 No Yes
Octal 8 0, 1, … 7 No No
0, 1, … 9,
Hexa-decimal 16 No Yes
A, B, … F
Decimal Octal
Binary Hexadecimal
Base
Decimal Octal
Binary Hexadecimal
Next slide…
Base
Decimal Octal
Binary Hexadecimal
1010112 => 1 x 20 = 1
1 x 21 = 2
0 x 22 = 0
1 x 23 = 8
0 x 24 = 0
1 x 25 = 32
4310
a) (11010)₂
b) (1101011)₂
c) (1110101)₂
d) (1010101100)₂
Decimal Octal
Binary Hexadecimal
7248 => 4 x 80 = 4
2 x 81 = 16
7 x 82 = 448
46810
a) (56)₈
b) (247)₈
c) (563)₈
d) (4706)₈
Decimal Octal
Binary Hexadecimal
a) (FAB)₁₆
b) (2AC)₁₆
c) (2A3B)₁₆
d) (ABCD)₁₆
Decimal Octal
Binary Hexadecimal
12510 = ?2 2 125
2 62 1
2 31 0
2 15 1
2 7 1
2 3 1
2 1 1
0 1
12510 = 11111012
02/02/2021 University of Turbat Gwadar Campus 29
Exercises
• Convert the following decimal numbers into
equivalent binary numbers.
a) (32)₁₀
b) (435)₁₀
c) (1694)₁₀
d) (1715)₁₀
Decimal Octal
Binary Hexadecimal
7058 = ?2
7 0 5
7058 = 1110001012
02/02/2021 University of Turbat Gwadar Campus 33
Exercises
• Convert the following octal numbers into equivalent
binary numbers.
a) (56)₈
b) (247)₈
c) (563)₈
d) (4706)₈
Decimal Octal
Binary Hexadecimal
1 0 A F
10AF16 = 00010000101011112
a) (FAB)₁₆
b) (2AC)₁₆
c) (2A3B)₁₆
d) (ABCD)₁₆
Decimal Octal
Binary Hexadecimal
123410 = ?8
8 1234
8 154 2
8 19 2
8 2 3
0 2
123410 = 23228
a) (32)₁₀
b) (435)₁₀
c) (1694)₁₀
d) (1715)₁₀
Decimal Octal
Binary Hexadecimal
10110101112 = ?8
1 3 2 7
10110101112 = 13278
a) (11010)₂
b) (1101011)₂
c) (1110101)₂
d) (1010101100)₂
Decimal Octal
Binary Hexadecimal
10101110112 = ?16
10 1011 1011
2 B B
10101110112 = 2BB16
a) (11010)₂
b) (1101011)₂
c) (1110101)₂
d) (1010101100)₂
Decimal Octal
Binary Hexadecimal
10768 = ?16
1 0 7 6
2 3 E
10768 = 23E16
a) (56)₈
b) (247)₈
c) (563)₈
d) (4706)₈
Decimal Octal
Binary Hexadecimal
1 F 0 C
1 7 4 1 4
1F0C16 = 174148
a) (FAB)₁₆
b) (2AC)₁₆
c) (2A3B)₁₆
d) (ABCD)₁₆