TUGAS
I
RANGKAIN
DIGITAL
SOAL:
1.
120
+ 54
2.
224
-132
3.
112
-89
4.
110
+ 100
5.
200
+ 20
6.
111
– 25
JAWABAN:
1.
120=1111000 54=110110
120/2 =60 sisa 0 54/2
=27 sisa 0
60/2 =30 sisa 0 27/2
=13 sisa 1
30/2 =15 sisa 0 13/2
=6 sisa1
15/2 =7
sisa 1 6/2
=3
sisa 0
7/2 =3
sisa 1 3/2 =1
sisa 1
3/2 =1
sisa 1 1
1
Jadi, 1111000 sehingga 120
+54 =11111110
110110 +
11111110
2.
224=11100000 132=10000100
224/2 =112 sisa 0 132/2
=66 sisa 0
112/2 =56 sisa 0 66/2 =33 sisa 0
56/2 =28
sisa 0 33/2 =16 sisa 1
28/2 =14
sisa 0 16/2 =8
sisa 0
14/2 =7
sisa 0 8/2 =4
sisa 0
7/2 =3
sisa 1 4/2 =2
sisa 0
3/2 =1
sisa 1 2/2 =1
sisa 0
1 1
Jadi, 11100000 sehingga,
224 – 132 = 01100100
10000100
-
01100100
3.
112= 1110000 89=1011001
112/2 =56 sisa 0 89/2
=44 sisa 1
56/2 =28 sisa 0 44/2
=22 sisa 0
28/2 =14 sisa 0 22/2 =11
sisa 0
14/2 =7
sisa 0 11/2
=5 sisa 1
7/2 =3
sisa 1 5/2 =2
sisa 1
3/2 =1
sisa 1 2/2 =1
sisa 0
1
1
Jadi, 1110000 sehingga, 112 -89 =0011001
1011001 -
0011001
4.
110
= 1101110 100
= 1100100
110/2 =55 sisa 0 100/2
=50 sisa 0
55/2 =27 sisa 1 50/2 =25 sisa 0
27/2 =13 sisa 1 25/2 =12 sisa 1
13/2 =6
sisa 1 12/2 =6
sisa 0
6/2 =3
sisa 0 6/2 =3
sisa 0
3/2 =1
sisa 1 3/2 =1
sisa 1
1
1
Jadi, 1101110 sehingga, 110 + 100 =11111110
1100100 +
11111110
5.
200
=11001000 20
=10100
200/2 =100 sisa
0 20/2
=10 sisa 0
100/2 =50 sisa 0 10/2
=5 sisa 0
50/2 =25
sisa 0 5/2 =2
sisa 1
25/2 =12
sisa 1 2/2
=1 sisa 0
12/2 =6
sisa 0 1
6/2 =3
sisa 0
3/2 =1
sisa 1
Jadi, 11001000 sehingga, 200 +20 =11011100
10100 +
110011100
6.
111 =1101111 25
= 11001
111/2 =55 sisa 1 25/2=12
sisa 1
55/2 =27 sisa 1 12/2
=6 sisa 0
27/2 =13 sisa 1 6/2 =3
sisa 0
13/2 =6 sisa 1 3/2 =1
sisa 1
6/2 =3 sisa 0 1
3/2 =1 sisa 1
1
Jadi, 1101111 sehingga, 111-25 = 1010110
11001 -
1010110
TUGAS
II
RANGKAIAN
DIGITAL
SOAL:
Perbedaan nol(0) dan min nol(-0):
JAWABAN:
Tidak ada komentar:
Posting Komentar