Professional Documents
Culture Documents
Assignment-1 DLD
Assignment-1 DLD
Q#1
(a) A periodic digital waveform has a pulse width of 25 ms and a period of 150 ms.
Determine the frequency and the duty cycle.
(b) Explain Combinational and sequential systems.
(c) State De-Morgan’s law with graphical and mathematical statements.
Q#2
(a) Convert each decimal number to binary by using the sum-of-weights method:
*57 *45.5
(b) Convert the hexadecimal number 6BD3 to binary.
(c) Convert the fractional binary number 0.1011 to decimal
(d) Convert the decimal number 573 to hexadecimal & octal.
Q#3
Add the following binary numbers:
111 + 11 and 110 + 100
Subtract 011 from 101.
Perform the following binary multiplications:
Multiply 1101 * 1010.
Perform the following binary divisions:
Divide 1100 by 100.
Q#4
Express +19 and -19 as 8-bit numbers in sign-magnitude, 1’s complement, and 2’s
Complement.
Q#5
Explain the advantage of the Gray code
Convert into Gray code from binary
1101
1011
0011
1001