0% found this document useful (0 votes)
69 views9 pages

Muhammad Hammad - 163 - 2C2

The document is a past exam paper for a Digital Logic Design course. It contains 4 questions assessing different learning outcomes related to digital logic design. Question 1 involves analyzing a flow transmitter circuit and deriving its truth table, equations, logic diagram and implementation using a multiplexer. Question 2 involves designing a serial subtractor using shift registers. Question 3 involves analyzing timing waveforms for a T-flip flop. Question 4 involves designing a sequential circuit using JK flip-flops to control a chiller and alarm based on temperature and humidity inputs.

Uploaded by

Muhammad Hammad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
69 views9 pages

Muhammad Hammad - 163 - 2C2

The document is a past exam paper for a Digital Logic Design course. It contains 4 questions assessing different learning outcomes related to digital logic design. Question 1 involves analyzing a flow transmitter circuit and deriving its truth table, equations, logic diagram and implementation using a multiplexer. Question 2 involves designing a serial subtractor using shift registers. Question 3 involves analyzing timing waveforms for a T-flip flop. Question 4 involves designing a sequential circuit using JK flip-flops to control a chiller and alarm based on temperature and humidity inputs.

Uploaded by

Muhammad Hammad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

COMSATS University Islamabad

Department of Electrical and Computer Engineering


Wah Campus
Terminal Examination (Spring 2021)

Program: BEE-2B / C Total Marks: 50


Subject: Digital Logic Design Date: July 12, 2021
Instructor: Afsah Anjum. Time: 03 hours
Name: Muhammad Hammad Reg no: FA20-BEE-163
[email protected]
Instructions:
• Terminal paper must be legible otherwise will be discarded without any notification.
• Write Page Nos, and Questions along with Question Nos.
• Take a clear snapshot merge all pics in a PDF file.
• Filename should be=Name_ registration no_ Section e.g. Abdullah Bin Abdur Rauf_ 007_ 3A


Question No. 1 (CLO2, PLO3) (3+4+3+4) Marks

The coolant flow is required to be regulated to maintain the temperature of a running engine. A flow
transmitter (FT) is installed on a cooling line to monitor the flow of coolant for this purpose. The input
and output of FT are as shown in Figure 1:

16 (14, 15)
(13, 14)
14 (12, 13)
(11, 12)
12 (9, 11) (10, 11)
(8, 10)

10 (7, 9)
mA)
(in

(6, 8)

8 (5, 7)

6
Current

(3, 5) (4, 5)
(2, 4)
4

2

0
-1 1 3 5 7 9 11 13 15
Flow (in cubic meter)
Figure 1: Input and output of Flow Transmitter

Page 1 of 3
Considering the combinational circuits, do the following in view of the above-mentioned input and output:
a) Compute the truth table for the system
b) Write down the equations
c) Draw the logic diagrams
d) Implement the last output obtained from part (a) with 8 X 1 MUX and external gates

Ans 1: Solution:

Page 2 of 3
Question No. 2 (CLO2, PLO3) 10 Marks

Design a serial subtractor using two eight-bit shift registers. Shift register A holds your registration
number and shift register B holds your friend’s registration number. Perform A+ 2’s complement of B.
Use shift register A for storing both the minuend and difference. List the binary values in shift register A
after each shift.

Ans 2: Solution:

Page 3 of 3
Question No.3 (CLO2, PLO3) 04 Marks

A timing waveform for T flip flop is shown in Figure 2. T-flip flop is enabled by shift control signal
which is synchronized with the clock and changes values just after the positive edge of the clk. The present
state of the flip-flop is also shown in Figure 2. Show the timing wave form of the next state and also draw
a block diagram of the sequential circuit.

Figure 2: Timing Waveform for T-Flip Flop



Page 4 of 3
Ans 3 : Solution:

Page 5 of 3
Question No. 4 (CLO3, PLO3) (7+5+5+5) Marks

A sequential circuit is to be designed having


§ Two JK flip-flops A and B
§ Two inputs: Temperature and Humidity
§ Two outputs: Chiller and Alarm
The inputs have following impact on the state of the circuit:
There is no change in state if humidity of the system is low regardless of the value of temperature.
State transition occurs from 00 to 11, to 10, to 01 and back to 00 if both the temperature AND the
humidity goes high.
State transition occurs from 00 to 10, to 11, to 01 and back to 00 when the temperature is low AND
humidity is high
Moreover, the alarm should trigger whenever temperature is high OR there is no change in state. The
chiller should turn ON if:
§ Temperature is high OR
§ Humidity is high.

Page 6 of 3
In view of the above-mentioned logic:
a. List the state table
Solution:

Page 7 of 3
b. Drive the state equations
Solution:

Page 8 of 3
c. Draw logic diagram
Solution:

d. Draw state diagram


Solution:

Page 9 of 3

You might also like