Escolar Documentos
Profissional Documentos
Cultura Documentos
DLD Assignment#01
Question 01
(A) Difference between Analog & Digital Systems.
Analog Systems
Digital Systems
DLD Assignment#01
70
80
55
60
45
50
Temperature
70
75
40
30
30
25
15
20
20
10
0
5
Time
10
11
DLD Assignment#01
65
60
80
55
50
Temperature
70
75
45
40
30
30
20
25
15
20
10
0
5
Time
10
11
DLD Assignment#01
Question 02
(A) CONVERSIONS.
1. (101101.1011)2 = (?)10
= 125 + 024 + 123 + 122 + 021 + 120 + 12-1 + 02-2 + 12-3 + 12-4
= 32 + 0 + 8 + 4 + 0 + 1 + 0.5 + 0 + 0.125 + 0.0625
= 45.68
(101101.1011)2 = (45.68)10
2. (123236)10 = (?)2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
123236
61618
30809
15404
7702
3851
1925
962
481
240
120
60
30
15
7
3
1
-----0
-----0
-----1
-----0
-----0
-----1
-----1
-----0
-----1
-----0
-----0
-----0
-----0
-----1
-----1
-----1
(123236)10= (11110000101100100)2
3. (AB3EC5)16 = (?)8
First convert hexadecimal to binary
8421 8421 8421 8421 8421 8421
1010
1011
3
0011
1110
1100
0101
DLD Assignment#01
421
421
421
421
421
421
421
101
010
110
011
111
011
000
101
(AB3EC5)16 = (52637305)8
4. (CDBA4)16 = (?)2
Converting hexadecimal to binary
Making 8421 Pairs of each.
8421 8421 8421 8421 8421
1100
1101
B
1011
A
1010
0100
11001101101110100100
(CDBA4)16 = (11001101101110100100)2
(10000111101)2 = (?)
Grey Code with proof of Binary Number
In this the first bit is copied as its and the first bit is added in second
bit and so on
+ +
+ +
1 GRAY
DLD Assignment#01
Similarly first bit is copied as its and then the copied bit is added in
second bit.
+
1
1
1
1
1
The binary proof is that the last answer which is same as the question.
ii.
+111110
0 1 0 1 0 1
Carry
DLD Assignment#01
0 1 0 1 0 1
+ 1
0 1 0 1 1 0
Carry
1 1 0 0 0 0
Now Adding answer to third
1
Carry
1 1 0 0 0 0
+1 1 1 1 1 0
11 0 1 1 1 0
Unsigned 01101011-11010110-11001110
(iv)
= 01101011-11010110-11001110
First we subtract 1 and 2:
0 1 0 1
0
1 1 0 1 0 1 1
-1
1
1 0 1 0 1 1 0
0 0 1 0 1 0 1
1 0 0 1 1 1 0
DLD Assignment#01
1 0 0 0 1 1 1
1 0 0 0 1 1 1