0% found this document useful (0 votes)
63 views

DLD Design Questions

Heres have some design question for Digital Logic Design
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)
63 views

DLD Design Questions

Heres have some design question for Digital Logic Design
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/ 10

Problem 1:

A burglar alarm is designed so that it senses four input signal lines. Line A is from the secret
control switch, line B is from a pressure sensor under a steel safe in a locked closet, line C is from
a ba ery-powered clock, and line D is connected to a switch on the locked closet door. The
following condi ons produce a logic 1 voltage on each line: A) The control switch is closed. B) The
safe is in its normal posi on in the closet. C) The clock is between 1000 and 1400 hours. D) The
closet door is closed. a) Write the switching expression for the burglar alarm that produces a logic
1 (which rings a bell) when the safe is moved and the control switch is closed, or when the closet
is opened a er banking hours, or when the closet is opened with the control switch open. b)
Using this expression, construct a K-Map. c) Using the K-Map and the following logic components,
draw the logic circuit to implement this expression: i) two 4-to-1 mul plexors ii) one AND gate.
Hint: Use A and B as the two select lines for each MUX. Think about what the 8 inputs (4 for each
MUX) would be.
A burglar alarm is designed so that it senses four input signal lines. Line A is from the secret
control switch, line B is from a pressure sensor under a steel safe in a locked closet, line C is from
a ba ery-powered clock, and line D is connected to a switch on the locked closet door. The
following condi ons produce a logic 1 voltage on each line: A) The control switch is closed. B) The
safe is in its normal posi on in the closet. C) The clock is between 1000 and 1400 hours. D) The
closet door is closed.
a) Write the switching expression for the burglar alarm that produces a logic 1 (which rings a bell)
when the safe is moved and the control switch is closed, or when the closet is opened a er
banking hours, or when the closet is opened with the control switch open.

b) Using this expression, construct a K-Map.

c) Using the K-Map and the following logic components, draw the logic circuit to
implement this expression: i) two 4-to-1 mul plexors ii) one AND gate. Hint: Use A and B
as the two select lines for each MUX. Think about what the 8 inputs (4 for each MUX)
would be.
Problem 2:
A manager wants you to design a logic circuit to automa cally lock a door
based on the me and on whether or not the recep onists are present.
Specifically: The circuit will have three inputs: - Input A is ac ve when it is a er
hours. - Input B is ac ve when recep onist Barbara is seated. - Input C is ac ve
when recep onist Chuck is seated. The circuit should produce output D, which
locks the door when ac ve. If it is a er hours, the door should be locked. If
neither recep onist is seated, the door should be locked. 1. Write a Boolean
expression for D in terms of A, B, and C. 2. Draw a mixed-logic schema c for
D, and change it to an implementa on using only NORs and inverters. You
should end up with two 2-input NOR gates and one inverter. If you don't, go
back and check your logic, or try to simplify your expression.
A manager wants you to design a logic circuit to automa cally lock a door
based on the me and on whether or not the recep onists are present.
Specifically: The circuit will have three inputs: - Input A is ac ve when it is a er
hours. - Input B is ac ve when recep onist Barbara is seated. - Input C is ac ve
when recep onist Chuck is seated. The circuit should produce output D, which
locks the door when ac ve. If it is a er hours, the door should be locked. If
neither recep onist is seated, the door should be locked. 1. Write a Boolean
expression for D in terms of A, B, and C. 2. Draw a mixed-logic schema c for
D, and change it to an implementa on using only NORs and inverters. You
should end up with two 2-input NOR gates and one inverter. If you don't, go
back and check your logic, or try to simplify your expression
Problem 3:
(a) In a certain applica on, four inputs A, B, C, D (both true and complemented
forms available) are fed to a logic circuit, producing an output F which
operates a relay. The relay turns on when F(ABCD) = 1 for the following states
of inputs (ABCD): '0000', '0010', '0100', '1100', '1110'. States '0101', '0110',
'0111', '1000', '1001', and '1010' do not occur (don't care), and for the
remaining states, the relay is off. Minimize F with the help of a K map and
realize it using logic gates? (3 marks) (b) X and Y are the two keys of a locker.
The locker will be opened when the two keys are turned ON. Draw a circuit
using logic gates that resembles the concept and write the truth table? (2
marks)

Problem 4:
Car Safety Alarm Design: Design a car safety alarm considering four inputs: -
Door closed (D) - Key in (K) - Seat pressure (S) - Seat belt closed (B) The alarm
(A) should sound if: - The key is in and the door is not closed, or - The door is
closed and the key is in and the driver is in the seat and the seat belt is not
closed. Using the Logic Design procedure we saw in the lab, implement the
electronic circuit for this system. EX2) From the following truth table, derive
the Boolean Expression, simplify using K-Map, and draw the Logic Diagram
that represents the circuit. Truth Table: A B C D E 0 0 0 0 1 0 1 0 1 1 1 1 1 1 1

Problem 5:
We would like to design a simple home security system. To simplify the
problem. let's assume this system has a few inputs: Panic bu on (input P).
Enable bu on (input B). and 2 inputs D and W connected to one window and
one door. The alarm (output F) is triggered if the Panic bu on is pressed or if
Enable is on and the house is not secure (window or door open). a) Give the
Truth table of the system. b) Draw the Karnaugh Map for the output F and find
its logic equa on. c) Draw the logic circuit of the system.
Problem 6:
Design a combina onal circuit for a new brand of computers that will take a
4-bit binary number as input and output 1 if the input contains at least 2 zeros.
For example: Input 0000: output 1 (4 zeros) Input 0001: output 0 (3 zeros)
Input 0011: output 0 (2 zeros) Input 0111: output 0 (1 zero) Draw the
minimum cost AND-OR implementa on for the func on below. Input
variables are available in true and complement forms. F(A,B,C,D) =
m(1,3,6,7,11,14,15) + D(5,9,10) An electronic gate has a digital logic circuit
whose output is a 1 if the majority of the input variables are 1's. The output is
a 0 otherwise. Using a truth table, find the Boolean func on implemented by
a three-input variable majority gate. Design the electronic gate. Design a
combinatorial circuit that will be able to detect prime numbers given as input
in binary. The output of the circuit should be a single bit that will be 1 (high)
if the input is a prime number and 0 (low) if the input is not a prime number.
For example, if the input to the circuit is 0101, the output should be 1. Again,
if the input is 1010, the output should be 0. Implement the func on below
together with the don't care condi on given below using only two NOR gates.
Assume that both the normal and complement inputs are available. F(A,B,C,D)
= m(13,5,6) d(A,B,C,D) = m(8,10,14,15) Design a func on that will take a 3-bit
binary number as input and output 1 (high) if the total number of 1's in the
input is less than or equal to the total number of 0's, and 0 (low) otherwise.

Problem 7:
Problem: 8
Choose the correct op on. 1. When operated in cutoff and satura on, the
transistor acts like a a) linear amplifier b) switch c) variable capacitor d)
variable resistor 2. A circuit contains two unequal resistances in parallel a)
current is same in both b) large current flows in larger resistor c) poten al
difference across each is same d) smaller resistance has smaller conductance
3. Which of the following is true for a bipolar junc on transistor a) IB is
controlled by RB b) IB is controlled by VBB c) VCE is controlled by IB d) IC is
controlled by IB e) All of the above 4. Which of the following are made of
transistors a) Integrated Circuits (ICs) b) Microprocessors c) Logic Gates d) All
of the above 5. Mul sim is used for a) Programming b) Inser ng mul ple sims
into a so ware c) Construc ng real-world circuits in a so ware environment
d) all of the above 6. In cutoff, VCE is equal to a) 0 b) Minimum c) VCC d) VBB
7. Which characteris c of a transistor is u lized in modern digital systems
func onality a) Amplifica on b) Switching c) Rec fica on d) Biasing 8. In
satura on, VCE is equal to a) 0 b) Minimum c) VCC d) VBB 9. When one leg of
a parallel circuit is opened, the total current will a) reduce b) increase c)
decrease d) become zero 10. In Uni-train based labs, how many signals can we
observe as input to an oscilloscope? a) 1 b) 2 c) 3 d) 4 11. In the case of an
open circuit, __________ current will flow in the circuit a) zero b) very low c)
Normal d) Infinite 12. The bypass capacitor is connected with a transistor to
a) Remove DC b) Bypassing AC to reduce noise c) Both of the above d) None
of the above 13. The word "Bias" is used in electronics for a) the amount of
current across a diode b) a DC voltage is applied to control the opera on of a
device c) the ra o of majority carriers to minority carriers d) None of the
above 14. A Zener diode cannot operate in the forward biased region a) True
b) False 15. The Beta of a transistor is its a) current gain b) voltage gain c)
power gain d) internal resistance 16. In many cases, a short circuit at
houses/industry is a cause of fire. Short circuits are responsible for fire
because of a) high voltage b) high current c) high resistance d) All of the above
17. The resistance of a 100 W, 200 V lamp is a) 100 ohm b) 200 ohm c) 400
ohm d) 1600 ohm
Problem: 9
A burglar alarm is designed so that it senses four input signal lines. Line A is
from the secret control switch, line B is from a pressure sensor under a steel
safe in a locked closet, line C is from a ba ery-powered clock, and line D is
connected to a switch on the locked closet door. The following condi ons
produce a logic 1 voltage on each line. A: The control switch is closed. B: The
safe is in its normal posi on in the closet. C: The clock is between 1000 and
1400 hours. D: The closet door is closed. Write the switching expression for
the burglar alarm that produces a logic 1 (rings a bell) when the safe is moved
and the control switch is closed, or when the closet is open a er banking
hours, or when the closet is opened with the control switch open.

Problem: 10
Hi! I just saw this over here and wanted to know what this circuit would look
like if the clock is between 0900 and 1600. If you can draw it, it would be
super.

Consider the following data: A burglar alarm is designed so that it senses


four input signal lines Line A from the secret control switch; line B is from a
pressure sensor under a steel safe in a locked closet; line C is from a ba ery-
powered clock, and line D is connected to a switch on the clocked closet
door
Step 2
The following condi ons produce logic 7 voltage on each line: A: The control
switch is closed: B: The safe is in its normal posi on in the closet. C: The clock
is between 1000 and 1400 hours. D: The closet door is closed. Then let us find
the switching expression for the burglar alarm that produces logic 1 (Rings a
bell), when the safe is moved and the control switch is closed, or when the
closet is opened a er banking hours, or when a closet is opened with the
control switch is opened.
Problem: 11
7. (14 points) A burglar alarm for a bank is designed so that it senses four input
signal lines. Line A is from the secret control switch, line B is from a pressure
sensor under a steel safe in a locked closet, line C is from a ba ery-powered
clock and line D is connected to a switch on the locked closet door. The
following condi ons produce a logic 1 voltage on each line
A: The control switch is closed
B: The safe is in its normal posi on in the closet
C: The clock is between 1000 and 1400 hours.
D:The closet door is closed
Write an equa on of the control logic for the burglar alarm that produces a
logic 1 (rings a bell) when the safe is moved and the control switch is closed,
or when the closet is opened a er banking hours or when the closet is opened
with the control switch open.
Problem: 12
a) Draw out the logic gate system using as few logic gates as possible.
b) Convert the same circuit using universal gates only.

A home security system is designed so that it senses four input


lines: A, B, C, and D. Line A is the secret control switch, Line B is the
mo on detector a ached to windows, Line C is from a ba ery-
powered clock, and Line D is connected to a magne c sensor to
detect open doors.

The following condi ons produce a logic 1 on each line:

1. The control switch is off.


2. No movement detected.
3. The clock is between 12 AM and 6 AM.
4. The door is closed.

The alarm will ring (logic 1) when there is movement detected


when the control switch is off OR when the door is opened a er
midnight OR when the door is opened when the control switch is on.
Problem: 13
A retail store has a safe in a locked closet that they use to store cash
overnight and when not needed in the registers during business
hours. You are to design the logic for a burglar alarm controller to
help protect the safe.

There are four sensor inputs for the controller, as follows: A hidden
control switch - produces logical 1 when the switch is in the on
posi on, produces logical 0 when the switch is in the off posi on; a
pressure sensor under the safe - produces logical 1 when the safe is
in its normal posi on (has not been moved), produces logical 0 when
the safe is not in its normal posi on (has been moved); a ba ery-
powered clock - produces logical 1 during normal business hours
(7:00 a.m. to 9:00 p.m.), produces logical 0 outside of normal
business hours (9:01 p.m. to 6:59 a.m.); a switch on the closet door
- produces logical 1 when the closet door is closed, produces logical
0 when the closet door is open.

Design and draw the logic for the controller so that it produces a
logical 1 (signals an alarm) when at least one of the following
condi ons occur:
1. The control switch is on and the safe is moved.
2. The closet door is opened outside of normal business hours.
3. The closet door is opened and the control switch is on.
Problem: 14
A house alarm has a sensor on the door A and a pressure pad inside
the house B. The value A=1 means the door is closed, and A=0 means
the door is open. The value B=1 means someone is on the pressure
pad, and B=0 means no one is on the pressure pad. The value C=1
means that it is day me, and C=0 means that it is nigh me.

During the day, the alarm sounds when the door is open, or if
someone is on the pressure pad, or both. At night, the alarm sounds
whenever the door is open. (1 pt for each part below, total of 4 pts
for this ques on)

a. Write a truth table that lists all possible combina ons of the input
sensor values A, B, C and the resul ng output Y that will be used to
trigger the alarm.
b. Convert this truth table into a Karnaugh map.
c. From the Karnaugh map, write a Boolean equa on for Y.
d. Draw the resul ng circuit diagram (using logic gate symbols for
AND, OR, etc. Don't worry about the wiring diagram of the actual ICs
that you would use to build this).

You might also like