Uploaded by jose

Solutions of Exercise 1 NUMBER SYSTEM

advertisement
NAME:
NOTE: SOLVE THESE QUESTION IN YOURS NOTEBOOK:
nd
(WILL BE CHECKED IN 2 LECTURE)
Objective:
1) Fill in the blanks:
1.
2.
3.
4.
5.
6.
7.
8.
If 1101 is a BINARY number, it can also be written as (1101)2
If 11010 is a BINARY number, it can also be written as (11010)2
If 1110 is a BINARY number, it can also be written as (1110)2
If 1325 is an OCTAL number, it can also be written as (1325)8
If 754 is a DECIMAL number, it can also be written as (754)10
If 5467 is a DECIMAL number, it can also be written as (5467)10
If 111 is a BINARY number, it can also be written as (111)2
If 764 is an OCTAL number, it can also be written as (764)8
2(a) Convert decimal system to binary system:
1. (52)10 = (110100)2
2. (34)10 = (100010)2
3. (67)10 = (1000011)2
4. (97 )10 = (1100001)2
5. (100)10 = (1100100)2
6. (27 )10 = (11011)2
2(a) Convert binary system to decimal system:
1. (1101)2 = (13)10
2. (1001)2 = (9)10
3. (1010)2 = (10)10
4. (11001)2 = (25)10
5. (10101)2 = (21)10
Subjective
Q1: Simplify base 10- process
1. 277
=2*102 +7*101 + 7*100
=2*100+7*10+7*1
=200+70+7
=(277)10
2. 397
= 3*102 +9*101 +7*100
= 3*100 + 9*10 + 7*1
= 300+90+7
=(397)10
3. 5643
= 5*103 +6*102 +4*101+3*100
= 5*1000 + 6*100 + 4*10 + 3*1
= 5000 + 600 +40 + 3
=(5643)10
4. 87654
= 8*104 + 7*103 +6*102 +5*101+4*100
= 8*10000 + 7*1000 + 6*100 + 5*10 + 4*1
= 80000 + 7000 + 600 +50 + 4
= (87654)10
5. 9234
….=(9234)10
6. 9876
……=(9876)10
Q2(a) Convert decimal system to binary system:
1. (63)10
2
2
2
2
2
63
31
15
7
3
1
-1
-1
-1
-1
-1
=(111111)2
2. (35)10
2
2
2
2
2
35
17 -1
8 -1
4 -0
2 -0
1 -0
=(100011)2
3. (24)10
2
2
2
2
24
12 -0
6 -0
3 -0
1 -1
=(11000)2
4. (99 )10
2
2
2
2
2
2
99
49 -1
24 -1
12 -0
6 -0
3 -0
1 -1
=(1100011)2
5. (100)10
2
2
2
2
2
2
100
50 -0
25 -0
12 -1
6 -0
3 -0
1 -1
=(1100100)2
Q2(b) Convert binary system to decimal system:
1. (1101)2
= 1*23 + 1*22 +0*21+1*20
= 1*8 + 1*4 + 0 + 1*1
=8+4+0+1
=(13)10
2. (1001)2
= 1*23 + 0*22 +0*21+1*20
= 1*8 + 0 + 0 + 1*1
=8+0+0+1
=(9)10
3. (1010)2
= 1*23 + 0*22 +1*21+0*20
= 1*8 + 0+ 1*2 + 0
=8+0+2+0
=(10)10
4. (11001)2
= 1*24 + 1*23 + 0*22 +0*21+1*20
= 1*16 + 1*8 + 0+ 0 + 1*1
= 16 + 8 + 0 + 0 + 1
=(25)10
5. (10101)2
= 1*24 + 0*23 + 1*22 + 0*21+1*20
= 1*16 + 0 +1*4+ 0 + 1*1
= 16 + 0 + 4 + 0 + 1
=(21)10
3) Solve by applying BODMAS rule
1. (18 - 9) × 5 + 5 + 50 – 10
=9*5 + 5 +50 -10
=45 +5 +50 -10
=100-10
=90
2. (72 ÷ 8 ) + 3 + 7 × 6
=9 + 3 + 7*6
=9 +3 +42
=12+42
=54
3. 13 - 5 + 5 × 3 + 28 ÷ 4
=13 – 5 + 5 * 3 +7
=13-5+15+7
=35-5
=30
4. 45÷ 9 + 18 - 20 ÷ 2
= 5 + 18 – 10
=23-10
=13
5. 10 + 8 × 100 ÷ 10 – 40
=10 + 8 * 10 – 40
=10 + 80 – 40
=90 – 40
=50
6. 9 × 3 + 56 ÷ 8 – 7
=9 * 3 + 7 – 7
=27 + 7 -7
=27
Download