Professional Documents
Culture Documents
Application of ICT WEEK 9
Application of ICT WEEK 9
2
Continue……….
• The common measurement of a modem’s data transfer rate is in bits per second,
such as gigabits per second (Gbps).
• Because even small numbers require many digits when converted to binary,
computers convert binary numbers into hexadecimal (hex) numbers, which
use the numbers 0 through 9, followed by letters A through F.
Example
To convert the Binary Number (101.01) into Decimal.
1 0 1. 0 1
22 21 20 2-1 2-2
= 1 x 22 + 0 x 2 + 1 + 0 x 2-1 + 1 x 2-2
4+ 0+ 1 +0 + 1/22 = 5.25
(101.01)2 (5.25)10
Zafar Iqbal Khan 9 Application of ICT
Convert the Decimal Number into Binary
13/2 = (12+1)½ a0 = 1
6/2 = ( 6+0 )½ a1 = 0
3/2 = (2+1 )½ a2 = 1
1/2 = (0+1) ½ a3 = 1
(107.00390625)10 (6B.01)16
Zafar Iqbal Khan 17 Application of ICT
The Growth of Binary Numbers
n 2n n 2n
0 20=1 8 28=256
1 21=2 9 29=512
2 22=4 10 210=102
3 23=8 4
4 2 =16
4 11 211=204
8
5 25=32
12 212=409
6 2 =64
6
6
7 27=128
20 220=1M Mega
30 230=1G Giga
40 240=1T Tera
Zafar Iqbal Khan 18 Application of ICT
Conversion Between Number
Bases
Octal(base 8)
Hexadecimal
(base16)
° We normally convert to base 10
because we are naturally used to the
decimal number system.
° We can also convert to other number
systems
Zafar Iqbal Khan 19 Application of ICT
One to one comparison
1+1=
2
1 10 borrows
0 10 10 0 0 10
1 0 0 1 1 0 1
- 1 0 1 1 1
------------------------
0 1 1 0 1 1 0
(1001101)2 - (10111)2 = (0110110)2
Zafar Iqbal Khan 24 Application of ICT
Binary Addition
1 1 1 1 1 1 carries
1 1 1 1 0 1
+ 1 0 1 1 1
---------------------
1 0 1 0 1 0 0
carry
(111101)2 + (10111) 2 = (1010100)2
Zafar Iqbal Khan 25 Application of ICT
Prove right hand side equal to left
hand site by using truth table
a. A B = AB’ + A’B
A B A B AB’ A’B AB’ + A’B
0 0 0 0 0 0
0 1 1 0 1 1
1 0 1 1 0 1
1 1 0 0 0 0
[2]. Peter Norton, “Introduction to Computers” 6th International Edition (McGraw Hill)
[3]. Charles S. Parker, " Understanding Computer Today & Tomorrow”, 2000.