Assignment 3 DLD
Assignment 3 DLD
Instructions:
• Partially or fully copied assignments will be marked as zero.
• Only handwritten solutions on the A4 page will be accepted.
• Late submissions are not allowed.
• Indicate all the calculations in your solution. No points will be awarded in case of
missing calculations.
Question Number 2 (CLO3) (10 marks) Design a combinational circuit to compute the 2’s
complement of a 4-bit binary number. The input to the circuit is an integer from 0 to 15 and
the output is the 2’s complement of the applied number. You can complete your design by
finding:
i) No. of inputs and outputs
ii) Truth Table
iii) Simplified Boolean equation(s) of output(s) in terms of input(s)
iv) Circuit diagram
Question Number 3 (CLO3) (05 marks) Design a combinational circuit whose input is a
decimal number between 0 and 7 and the output is the product of 2 and number applied.
Complete your design by finding the: i) No. of inputs and outputs
ii) Truth Table
iii) Simplified Boolean equation(s) of output(s) in terms of input(s)
iv) Circuit diagram
Question Number 4 (CLO3) (10 marks) In a communication system, the sender is willing
to send the information in the form of encrypted code. The code is generated by adding 5 to
the input sequence and if there is an end carry then 2 is subtracted from the answer otherwise
no change is made. After this step, 1’s complement of the answer is computed and sent to the
receiver. Design such an encoding circuit by using full adders and XOR gates for an input
with 6 bits.
Question Number 5 (CLO3) (10 marks) It is required to multiply two 6-bit numbers, and
we have only the 4-bit ripple carry adders, full adders, and AND gates available in the lab.
Desing a binary multiplier by using the above mentioned hardware resources.
Question Number 7 (CLO3) (05 marks) Design a combinational circuit with three inputs
(A, B, C) and one output Y. If C = 1, then copy B to Y, otherwise copy A to Y. Complete
your design by finding the: i) Truth Table
ii) Simplified Boolean equation(s) of output(s) in terms of input(s)
iii) Circuit diagram
Question Number 8 (CLO3) (10 marks) As part of an aircraft functional monitoring system
as shown in the figure below, a circuit is required to indicate the status of landing gear prior
to landing. A green LED display turns ON if all three gears are properly extended when gear
down switch has been activated in preparation for landing. A red LED display turns ON if
any of the gears fail to extend properly prior to landing. Draw the truth table and calculate
the Boolean expressions for red and green LEDs and finally draw the circuit diagram for this
landing gear alert system.
Question Number 10 (CLO3) (10 marks) Design a full adder with the help of an
appropriate MUX.