Senin, 13 April 2009

Tugas Digital 3, 4 dan 5

I. Konversikanlah : A=B7 H, B=8A H kedalam
1. Y=A.B =82 H.
1011 0111
1000 1010
1000 0010

2. Y=A+B =BF H
1011 0111
1000 1010
1011 1111

3. Y=A.B =7D H
1011 0111
1000 1010
0111 1101

4. Y=A+B =40 H
1011 0111
1000 1010
0100 0000

5. Y=A⊕ B =3D H
1011 0111
1000 1010
0011 1101

II. 3 Inputan

A B C Q
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 0
1 0 0 1
1 0 1 0
1 1 0 0
1 1 1 0







4 Inputan

A B C D Q
0 0 0 0 0
0 0 0 1 1
0 0 1 0 1
0 0 1 1 0
0 1 0 0 1
0 1 0 1 0
0 1 1 0 0
0 1 1 1 1
1 0 0 0 0
1 0 0 1 0
1 0 1 0 0
1 0 1 1 1
1 1 0 0 0
1 1 0 1 1
1 1 1 0 1
1 1 1 1 0

5 Inputan
A B C D E Q
0 0 0 0 0 0
0 0 0 0 1 1
0 0 0 1 0 1
0 0 0 1 1 0
0 0 1 0 0 1
0 0 1 0 1 0
0 0 1 1 0 0
0 0 1 1 1 1
0 1 0 0 0 1
0 1 0 0 1 0
0 1 0 1 0 0
0 1 0 1 1 1
0 1 1 0 0 0
0 1 1 0 1 1
0 1 1 1 0 1
0 1 1 1 1 0
1 0 0 0 0 1
1 0 0 0 1 0
1 0 0 1 0 0
1 0 0 1 1 1
1 0 1 0 0 0
1 0 1 0 1 1
1 0 1 1 0 1
1 0 1 1 1 0
1 1 0 0 0 0
1 1 0 0 1 1
1 1 0 1 0 1
1 1 0 1 1 0
1 1 1 0 0 1
1 1 1 0 1 0
1 1 1 1 0 0
1 1 1 1 1 1


III. Lampu jalan akan menyala , jika setiap kali switch On, atau setiap kali timer On dan hari gelap.

Minggu, 05 April 2009

Tugas digital 2

Konversi bilangan
isran Tk 1 mandiri
no bp:0801083015




desimal biner oktal Hexsa desimal BCD
86 110110 126 A6 1000 0110
62 101110 36 2e 0110 0010
59 111011 73 3B 0101 1001
169 10101001 251 A9 # 1001
75 10000111 113 4B 0111 0101

DESIMAL KE BINER

86/2 =4 Sisa=0
43/2=21 Sisa=1
21/2=10 Sisa=1
10/2=5 Sisa=0
5/2=2 Sisa=1
1/2=0 Sisa=1
=110110
2
KONVERSI DESIMAL KE OKTal
86/10=10 Sisa=6
10/8=1 Sisa=2
1/0 =0 Sisa=1
=126
2
KONVERSI DESIMAL KE HEXADESIMAL
86/16=10 Sisa
10/16=0 sisa=10=A
=A6
16
konversi ke BCD
86
10
8 6
1000 0110
= 1000 0110
BCD


KONVERSI BINER KE DESiIMAL
101110 = 62
2 10
0
0 x 2 =0
1
0 x 2 =2
2
1 x 2 =4

3
1 x 2 =8
4
0 x 2 =16
5
1 x 2 = 32

= 62
10

KONVERSI BINER KE OKTAL
101110 = 36
2 8

011 110
3 6

KONVERSI BINER KE HEXADESIMAL
101110 = 2E
2 8
0010 1110
2 14=E

KONVERSI BINER KE BCD
101110 = 0110 0010
2 BCD

6 2
0110 0010


KONVERSI OKTAL KE DESiIMAL
73 = 59
8 10
0
3 x 8 = 3
1
7 x 8 = 56 +
59

KONVERSI OKTAL KE BINER
73 = 111 011
8 2
7 3
111 001

KONVERSI OKTAL KE HEXADESIMAL
73 = 3B
8 16
0001 1011
3 11=B


KONVERSI BINER KE BCD
59 = 0101 1001
10
5 9
0101 1001


KONVERSI HEXADESIMAL KE DESIMAL
A9 = 169
16 10
0
9 x 16 = 9
A x 16 = 160 +
169


KONVERSI HEXADESIMAL KE BINER
A9 = 1010 1001
16 2
A 9
1010 100


KONVERSI BINER KE OKTAL
010101001 = 251
2 8
010 101 001
2 5 1

KONVERSI HEXADESIMAL KE BCD
A9 = # 1001
16
A 9
10 =# 1001



KONVERSI BIL BCD KE DESIMAL

0111 0101 =75
BCD 10
0111 0101
7 5

KONVERSI DECIMAL KE BINER
75 = 1000 0111
10 BCD
37/2=33=1
75/2=37=1
33/2=16=1
16/2=8=0
8/2=4=0
4/2=2=0
2/2=1=0
1/2=0=1

KONVERSI DESIMAL KE OKTAL
75 =113
10 8
75/8=9=3
9/8=1=1
1/8=0=1



KONVERSI DESIMAL KE HEXADESIMAL
75 = 4B
10 16
75/16=4=11=B
4/16 =0=4