Latha Mathavan Engineering College Latha Madhavan Nagar, Kidaripatti Madurai - 625301
Latha Mathavan Engineering College Latha Madhavan Nagar, Kidaripatti Madurai - 625301
Latha Mathavan Engineering College Latha Madhavan Nagar, Kidaripatti Madurai - 625301
Madurai – 625301.
(MCQs)
PREPARED BY
N.PRIYADHARSHINI AP/EEE
DIGITAL
LOGIC
CIRCUITS
Digital Circuits Questions and Answers
BINARY NUMBERS
3. If the decimal number is a fraction then its binary equivalent is obtained by ________
the number continuously by 2.
a) Dividing
b) Multiplying
c) Adding
d) Subtracting
Answer: b
Explanation: On multiplying the decimal number continuously by 2, the binary equivalent is
obtained by the collection of the integer part. However, if it’s an integer, then it’s binary
equivalent is determined by dividing the number by 2 and collecting the remainders.
This set of VHDL Multiple Choice Questions & Answers (MCQs) focuses on “RTL
Simulation”.
13. RTL is used in HDL to create what level of representations in the circuit?
a) High-level
b) Low-level
c) Mid-level
d) Same level
Answer: a
Explanation: RTL is used in HDL for creating HIGH-LEVEL of representations in the circuit,
from which lower-level of representations can be derived. Designing at the RTL level is a
representative practice in modern digital design.
14. RTL mainly focuses on describing the flow of signals between ________
a) Logic gates
b) Registers
c) Clock
d) Inverter
Answer: b
Explanation: RTL focuses on describing the flow of signals between registers. There is a
regularly repeated path of logic from the output of the register to its input, that is the reason it is
called register transfer level.
17. Hold time is the time needed for the data to ________ after the edge of the clock is triggered.
a) Decrease
b) Increase
c) Remain constant
d) Negate
Answer: c
Explanation: Hold time is the time needed for the data to remain constant after the edge of the
clock is triggered. Data must remain stable, if the incorrect data is latched then, it leads to hold
violation.
23. RTL consists of a common emitter stage with a _______ connected between the base
and the input voltage source.
a) collector
b) base resistor
c) capacitor
d) inductor
Answer: b
Explanation: RTL consist of a common emitter stage with a base resistor connected between the
base and the input voltage source. The role of base resistor is to expand the negligible transistor
input voltage range (about 0.7 V) to the logical “1” level (about 3.5 V) by converting the input
voltage into a current. Thus, base resistor plays a major role in biasing of the transistor.
24. The role of the _______ is to convert the collector current into a voltage in RTL.
a) Collector resistor
b) Base resistor
c) Capacitor
d) Inductor
Answer: a
Explanation: The role of the collector resistor is to convert the collector current into a voltage;
its resistance is chosen high enough to saturate the transistor and low enough to obtain low
output resistance. Base Resistor is to provide the necessary biasing to the base of the transistor in
order to activate it.
25. The limitations of the one transistor RTL NOR gate are overcome by __________
a) Two-transistor RTL implementation
b) Three-transistor RTL implementation
c) Multi-transistor RTL implementation
d) Four-transistor RTL implementation
Answer: c
Explanation: The limitations of the one transistor RTL NOR gate are overcome by the use of
multi transistor RTL. It consists of a set of parallel connected transistor switches driven by the
logic inputs.
29. The minimum number of transistors can be used by 2 input AND gate is __________
a) 2
b) 3
c) 4
d) 5
Answer: a
Explanation: The minimum number of transistors can be used by 2 input AND gate is 2 and
maximum up to 3.
This set of Digital Electronics/Circuits Multiple Choice Questions & Answers (MCQs) focuses
on “Diode-Transistor Logic(DTL)”.
36. The way to speed up DTL is to add an across intermediate resister is ___________
a) Small “speed-up” capacitor
b) Large “speed-up” capacitor
c) Small “speed-up” transistor
d) Large ” speed-up” transistor
Answer: a
Explanation: One way to speed up DTL is to add a small “speed-up” capacitor across
intermediate resister. The capacitor helps to turn off the transistor by removing the stored base
charge; the capacitor also helps to turn on the transistor by increasing the initial base drive.
37. The process to avoid saturating the switching transistor is performed by ___________
a) Baker clamp
b) James R. Biard
c) Chris Brown
d) Totem-Pole
Answer: a
Explanation: Another way to speed up DTL other than adding a small “speed-up” capacitor
across intermediate resister is to avoid saturating the switching transistor which can be done with
a Baker clamp. The name Baker clamp is given at the name of Richard H. Baker, who described
it in his 1956 technical report “Maximum Efficiency Switching Circuits”.
38. A major advantage of DTL over the earlier resistor–transistor logic is the ___________
a) Increased fan out
b) Increased fan in
c) Decreased fan out
d) Decreased fan in
Answer: b
Explanation: A major advantage over the earlier resistor–transistor logic is the increased fan in.
Fan-in is the measure of the maximum number of inputs that a single gate output can accept.
This set of Digital Electronics/Circuits Multiple Choice Questions & Answers (MCQs) focuses
on “Compatibility or Interfacing”.
42. The method of connecting a driving device to a loading device is known as ___________
a) Compatibility
b) Interface
c) Sourcing
d) Sinking
Answer: b
Explanation: The method of connecting a driving device to a loading device is known as
interface. The output(s) of a circuit or a system should match the input(s) of another circuit or
system that has different electrical characteristics. This is referred to as compatibility.
43. The first CML logic was introduced by General Electric in ___________
a) 1960
b) 1981
c) 1961
d) 1990
Answer: c
Explanation: CML stands for Current Mode Logic. The first CML logic was introduced by
General Electric in 1961.
44. Commercial ECL families are not nearly as popular as TTL and CMOS mainly because
they ___________
a) Produces too much noise
b) Consume too much power
c) Have high fan-in
d) Have high fan-out
Answer: b
Explanation: Commercial ECL families are not nearly as popular as TTL and CMOS mainly
because they consume too much power. CMOS consumes the least power while TTL provides
high speed.
45. The key to propagation delay in bipolar logic family is to prevent the transistors in a
gate from ___________
a) Fan-in
b) Fan-out
c) Saturation
d) Cut-off
Answer: c
Explanation: The key to propagation delay in bipolar logic family is to prevent the transistors in
a gate from saturation. In Saturation mode, the transistor is in “ON”mode, where it seems like a
short circuit between collector and emitter.
47. The basic idea of basic CML circuit came from an ___________
a) Inverter
b) Buffer
c) Transistor
d) Both inverter and buffer
Answer: d
Explanation: CML is Current Mode Logic in which data is transmitted at high speed of Mbps.
Since this circuit has both inverting and non-inverting output. So, It behaves like an
inverter/buffer.
52. In RTL NOR gate, the output is at logic 1 only when all the inputs are at ___________
a) logic 0
b) logic 1
c) +10v
d) floating
Answer: a
Explanation: RTL NOR gate behaves as NOR gate and the output of NOR gate will be 1 only
when all the inputs are at logic 0. The output of NOR will be 0 if any of the input is 1.
Digital Circuits Questions and Answers – Characteristics of CMOS
This set of Digital Electronics/Circuits Multiple Choice Questions & Answers (MCQs) focuses
on “Characteristics of CMOS”.
60. CMOS logic dissipates _______ power than NMOS logic circuits.
a) More
b) Less
c) Equal
d) Very High
Answer: b
Explanation: CMOS logic dissipates less power than NMOS logic circuits because CMOS
dissipates power only when switching (“dynamic power”). Thus, CMOS has less power
consumption and is more efficient.
This set of Digital Electronics/Circuits Multiple Choice Questions & Answers (MCQs) focuses
on “Emitter-Coupled Logic(ECL)”.
71. The equivalent of emitter-coupled logic made out of FETs is called __________
a) CML
b) SCFL
c) FECL
d) EFCL
Answer: b
Explanation: The equivalent of emitter-coupled logic made out of FETs is called Source-
coupled logic(SCFL). Like ECL, SCL is also the fastest among the logic families.
Transistor Logic(TTL This set of Digital Electronics/Circuits Multiple Choice Questions &
Answers (MCQs) focuses on “Digital Circuits Questions and Answers – Transistor or T2L)”.
76. Transistor–transistor logic (TTL) is a class of digital circuits built from ____________
a) JFET only
b) Bipolar junction transistors (BJT)
c) Resistors
d) Bipolar junction transistors (BJT) and resistors
Answer: d
Explanation: Transistor–transistor logic (TTL) is a class of digital circuits built from bipolar
junction transistors (BJT) and resistors. However, resistors have a small role to play and both
logic gating and amplifying functions are performed by the transistors.
77. TTL is called transistor–transistor logic because both the logic gating function and the
amplifying function are performed by ____________
a) Resistors
b) Bipolar junction transistors
c) One transistor
d) Resistors and transistors respectively
Answer: b
Explanation: TTL is called transistor–transistor logic because both the logic gating function and
the amplifying function are performed by bipolar junction transistors (BJTs).
84. TTL devices consume substantially ______ power than equivalent CMOS devices at
rest.
a) Less
b) More
c) Equal
d) Very High
Answer: b
Explanation: TTL devices consume substantially more power than equivalent CMOS devices at
rest. Thus, CMOS devices are faster than TTL devices.
85. A TTL gate may operate inadvertently as an ____________
a) Digital amplifier
b) Analog amplifier
c) Inverter
d) Regulator
Answer: b
Explanation: A TTL gate may operate inadvertently as an analog amplifier if the input is
connected to a slowly changing input signal that traverses the unspecified region from 0.7V to
3.3V.
86. The speed of ______ circuits is limited by the tendency of common emitter circuits to go
into saturation.
a) TTL
b) ECL
c) RTL
d) DTL
Answer: a
Explanation: The speed of TTL circuits is limited by the tendency of common emitter circuits to
go into saturation due to the injection of minority carriers into the collector region. Hence, it
functions slowly compared to CMOS devices.
This set of Digital Electronics/Circuits Multiple Choice Questions & Answers (MCQs) focuses
on “K-Map Simplification”.
88. Which of the examples below expresses the commutative law of multiplication?
a) A + B = B + A
b) A • B = B + A
c) A • (B • C) = (A • B) • C
d) A • B = B • A
Answer: d
Explanation: The commutative law of multiplication is (A * B) = (B * A).
The commutative law of addition is (A + B) = (B + A).
89. The Boolean expression Y = (AB)’ is logically equivalent to what single gate?
a) NAND
b) NOR
c) AND
d) OR
Answer: a
Explanation: If A and B are the input for AND gate the output is obtained as AB and after
inversion we get (AB)’, which is the expression of NAND gate. NAND gate produces high
output when any of the input is 0 and produces low output when all inputs are 1.
90. The observation that a bubbled input OR gate is interchangeable with a bubbled output
AND gate is referred to as:
a) A Karnaugh map
b) DeMorgan’s second theorem
c) The commutative law of addition
d) The associative law of multiplication
Answer: b
Explanation: DeMorgan’s Law: ~(P+Q) <=> (~P).(~Q) Also,~(P.Q) <=> (~P)+(~Q).
91. The systematic reduction of logic circuits is accomplished by:
a) Symbolic reduction
b) TTL logic
c) Using Boolean algebra
d) Using a truth table
Answer: c
Explanation: The systematic reduction of logic circuits is accomplished by using boolean
algebra.
94. Which of the following statements accurately represents the two BEST methods of logic
circuit simplification?
a) Actual circuit trial and error evaluation and waveform analysis
b) Karnaugh mapping and circuit waveform analysis
c) Boolean algebra and Karnaugh mapping
d) Boolean algebra and actual circuit trial and error evaluation
Answer: c
Explanation: The two BEST methods of logic circuit simplification are Boolean algebra and
Karnaugh mapping. Boolean Algebra uses the Laws of Boolean Algebra for minimization of
Boolean expressions while Karnaugh Map is a pictorial representation and reduction of the
Boolean expression.
This set of Digital Electronic/Circuits online quiz focuses on “Flip Flops – 2”.
100. In a NAND based S’-R’ latch, if S’=1 & R’=1 then the state of the latch is
____________
a) No change
b) Set
c) Reset
d) Forbidden
Answer: a
Explanation: In a NAND based S’-R, latch if S’=1 & R’=1 then there is no any change in the
state. It remains in its prior state. This state is used for the storage of data.
101. A NAND based S’-R’ latch can be converted into S-R latch by placing ____________
a) A D latch at each of its input
b) An inverter at each of its input
c) It can never be converted
d) Both a D latch and an inverter at its input
Answer: d
Explanation: A NAND based S’-R’ latch can be converted into S-R latch by placing either a D
latch or an inverter at its input as it’s operations will be complementary.
109. On a positive edge-triggered S-R flip-flop, the outputs reflect the input condition when
________
a) The clock pulse is LOW
b) The clock pulse is HIGH
c) The clock pulse transitions from LOW to HIGH
d) The clock pulse transitions from HIGH to LOW
Answer: c
Explanation: Edge triggered device will follow when there is transition. It is a positive edge
triggered when transition takes place from low to high, while, it is negative edge triggered when
the transition takes place from high to low.
112. The circuit that is primarily responsible for certain flip-flops to be designated as edge-
triggered is the _____________
a) Edge-detection circuit
b) NOR latch
c) NAND latch
d) Pulse-steering circuit
Answer: a
Explanation: The circuit that is primarily responsible for certain flip-flops to be designated as
edge-triggered is the edge-detection circuit.
This set of Digital Electronics/Circuits Multiple Choice Questions & Answers (MCQs) focuses
on “Flip Flops – 1”.
113. Latches constructed with NOR and NAND gates tend to remain in the latched
condition due to which configuration feature?
a) Low input voltages
b) Synchronous operation
c) Gate impedance
d) Cross coupling
Answer: d
Explanation: Latch is a type of bistable multivibrator having two stable states. Both inputs of a
latch are directly connected to the other’s output. Such types of structure is called cross coupling
and due to which latches remain in the latched condition.
115. The truth table for an S-R flip-flop has how many VALID entries?
a) 1
b) 2
c) 3
d) 4
Answer: c
Explanation: The SR flip-flop actually has three inputs, Set, Reset and its current state. The
Invalid or Undefined State occurs at both S and R being at 1.
116. When both inputs of a J-K flip-flop cycle, the output will ___________
a) Be invalid
b) Change
c) Not change
d) Toggle
Answer: c
Explanation: After one cycle the value of each input comes to the same value. Eg: Assume J=0
and K=1. After 1 cycle, it becomes as J=0->1->0(1 cycle complete) and K=1->0->1(1 cycle
complete). The J & K flip-flop has 4 stable states: Latch, Reset, Set and Toggle.
117. Which of the following is correct for a gated D-type flip-flop?
a) The Q output is either SET or RESET as soon as the D input goes HIGH or LOW
b) The output complement follows the input when enabled
c) Only one of the inputs can be HIGH at a time
d) The output toggles if one of the inputs is held HIGH
Answer: a
Explanation: In D flip flop, when the clock is high then the output depends on the input
otherwise reminds previous output. In a state of clock high, when D is high the output Q also
high, if D is ‘0’ then output is also zero. Like SR flip-flop, the D-flip-flop also have an invalid
state at both inputs being 1.
118. A basic S-R flip-flop can be constructed by cross-coupling of which basic logic gates?
a) AND or OR gates
b) XOR or XNOR gates
c) NOR or NAND gates
d) AND or NOR gates
Answer: c
Explanation: The basic S-R flip-flop can be constructed by cross coupling of NOR or NAND
gates. Cross coupling means the output of second gate is fed to the input of first gate and vice-
versa.
119. The logic circuits whose outputs at any instant of time depends only on the present
input but also on the past outputs are called
a) Combinational circuits
b) Sequential circuits
c) Latches
d) Flip-flops
Answer: b
Explanation: In sequential circuits, the output signals are fed back to the input side. So, The
circuits whose outputs at any instant of time depends only on the present input but also on the
past outputs are called sequential circuits. Unlike sequential circuits, if output depends only on
the present state, then it’s known as combinational circuits.
120. Whose operations are more faster among the following?
a) Combinational circuits
b) Sequential circuits
c) Latches
d) Flip-flops
Answer: a
Explanation: Combinational circuits are often faster than sequential circuits. Since, the
combinational circuits do not require memory elements whereas the sequential circuits need
memory devices to perform their operations in sequence. Latches and Flip-flops come under
sequential circuits.
This set of Digital Electronics/Circuits Multiple Choice Questions & Answers (MCQs) focuses
on “Latches”.
Answer: c
Explanation: A latch has two stable states, following the principle of Bistable Multivibrator.
There are two stable states of latches and these states are high-output and low-output.
139. When a high is applied to the Set line of an SR latch, then ___________
a) Q output goes high
b) Q’ output goes high
c) Q output goes low
d) Both Q and Q’ go high
Answer: a
Explanation: S input of a SR latch is directly connected to the output Q. So, when a high is
applied Q output goes high and Q’ low.
140. When both inputs of SR latches are low, the latch ___________
a) Q output goes high
b) Q’ output goes high
c) It remains in its previously set or reset state
d) it goes to its next set or reset state
Answer: c
Explanation: When both inputs of SR latches are low, the latch remains in it’s present state.
There is no change in the output.
141. When both inputs of SR latches are high, the latch goes ___________
a) Unstable
b) Stable
c) Metastable
d) Bistable
Answer: c
Explanation: When both gates are identical and this is “metastable”, and the device will be in an
undefined state for an indefinite period.
This set of Digital Electronics/Circuits Multiple Choice Questions & Answers (MCQs) focuses
on “MOS Digital Integrated Circuits”.
.
146. Which insulating layer used in the fabrication of MOSFET?
a) Aluminium oxide
b) Silicon Nitride
c) Silicon dioxide
d) Aluminium Nitrate
Answer: c
Explanation: Silicon dioxide is used as an insulating layer in the fabrication of MOSFET. It
gives an extremely high input resistance in the order of 10^10 to 10^15 Ω for MOSFET.
147. Which of the following plays an important role in improving device performance of
MOSFET?
a) Dielectric constant
b) Threshold voltage
c) Power supply voltage
d) Gate to drain voltage
Answer: b
Explanation: In MOSFET, the threshold voltage is typically 3 to 6V. This large voltage is not
compatible with the supply of 5V which is used in digital ICs. So, for the improvement of the
device’s performance the magnitude of threshold voltage should be reduced.
148. A technique used to reduce the magnitude of threshold voltage of MOSFET is the
___________
a) Use of complementary MOSFET
b) Use of Silicon nitride
c) Using thin film technology
d) Increasing potential of the channel
Answer: b
Explanation: Silicon nitride is sandwiched between two SiO2 layer and provide necessary
barrier. The dielectric constant of Si3N4 is 7.5, whereas that of SiO2 is 4. This increase in
overall dielectric constant reduces threshold voltage.
149. What is used to higher the speed of operation in MOSFET fabrication?
a) Ceramic gate
b) Silicon dioxide
c) Silicon nitride
d) Poly silicon gate
Answer: d
Explanation: In conventional metal gate small overlap capacitance is present, which lowers the
speed of operation. With the presence of self aligning property of the poly silicon gate it
eliminates this capacitance. Using a process called ion-implantation, polysilicon, the drain and
the source get doped. However, the thin oxide under silicon gate acting as a mask for the process
and thus develops the gate aligning property.
150. Find the sequence of steps involved in fabrication of poly silicon gate MOSFET?
Step 1: Entire wafer surface of a Si3N4 is coated and is etched away with the help of mask to
include source, gate and drain.
Step 2: The contact areas are defined using photolithographic process.
Step 3: Selective etching of Si3N4 and growth of thin oxide.
Step 4: The deposition of poly silicon gate.
Step 5: The growth of thick oxide is called field oxide and P implantation.
Step 6: The metallization and interconnection between substrate and source.
a) 1->5->3->4->2->6
b) 1->3->4->2->5->6
c) 1->5->4->3->2->6
d) 1->4->2->5->3->6
Answer: a
Explanation: These steps are the sequence of steps involved in fabrication of poly silicon gate
MOSFET. With the help of poly silicon gate doping, it highers the speed of operation of the
MOSFET.
151. Why MOSFET is preferred over BJT in IC components?
a) MOSFET has low packing density
b) MOSFET has medium packing density
c) MOSFET has high packing density
d) MOSFET has no packing density
Answer: a
Explanation: MOSFET is preferred over BJT because of its low packaging density. Thus, more
number of MOSFET memory cells can be accommodated in a particular area as compared to
BJT.
152. Critical defects per unit chip area is ________ for a MOS transistor.
a) High
b) Low
c) Neutral
d) Very High
Answer: b
Explanation: Critical defects per unit chip area is low for a MOS transistor because it involves
fewer steps in the fabrication of a MOS transistor. Also, MOSFET has low packaing density.
This set of Digital Electronics/Circuits Multiple Choice Questions & Answers (MCQs) focuses
on “D Flip Flop”.
158. In D flip-flop, if clock input is HIGH & D=1, then output is ___________
a) 0
b) 1
c) Forbidden
d) Toggle
Answer: a
Explanation: If clock input is HIGH & D=1, then output is 0. It can be observed from this
diagram:
159. Which statement describes the BEST operation of a negative-edge-triggered D flip-
flop?
a) The logic level at the D input is transferred to Q on NGT of CLK
b) The Q output is ALWAYS identical to the CLK input if the D input is HIGH
c) The Q output is ALWAYS identical to the D input when CLK = PGT
d) The Q output is ALWAYS identical to the D input
Answer: a
Explanation: By the truth table of D flip flop, we can observe that Q always depends on D.
Hence, for every negative trigger pulse, the logic at input D is shifted to Output Q.
163. Which of the following describes the operation of a positive edge-triggered D flip-flop?
a) If both inputs are HIGH, the output will toggle
b) The output will follow the input on the leading edge of the clock
c) When both inputs are LOW, an invalid state exists
d) The input is toggled into the flip-flop on the leading edge of the clock and is passed to the
output on the trailing edge of the clock
Answer: b
Explanation: Edge-triggered flip-flop means the device will change state during the rising or
falling edge of the clock pulse. The main phenomenon of the D flip-flop is that the o/p will
follow the i/p when the enable pin is HIGH.
164. A D flip-flop utilizing a PGT clock is in the CLEAR state. Which of the following input
actions will cause it to change states?
a) CLK = NGT, D = 0
b) CLK = PGT, D = 0
c) CLOCK NGT, D = 1
d) CLOCK PGT, D = 1
Answer: d
Explanation: PGT refers to Positive Going Transition and NGT refers to negative Going
Transition. Earlier, the DFF is in a clear state (output is 0). So, if D = 1 then in the next stage
output will be 1 and hence the stage will be changed.
166. Why do the D flip-flops receive its designation or nomenclature as ‘Data Flip-flops’?
a) Due to its capability to receive data from flip-flop
b) Due to its capability to store data in flip-flop
c) Due to its capability to transfer the data into flip-flop
d) Due to erasing the data from the flip-flop
Answer: c
Explanation: Due to its capability to transfer the data into flip-flop. D-flip-flops stores the value
on the data line.
165. The characteristic equation of D-flip-flop implies that ___________
a) The next state is dependent on previous state
b) The next state is dependent on present state
c) The next state is independent of previous state
d) The next state is independent of present state
Answer: d
Explanation: A characteristic equation is needed when a specific gate requires a specific output
in order to satisfy the truth table. The characteristic equation of D flip-flop is given by Q(n+1) =
D; which indicates that the next state is independent of the present state.
This set of Digital Electronics/Circuits Multiple Choice Questions & Answers (MCQs) focuses
on “Master-Slave Flip-Flops”.
166. The asynchronous input can be used to set the flip-flop to the ____________
a) 1 state
b) 0 state
c) either 1 or 0 state
d) forbidden State
Answer: c
Explanation: The asynchronous input can be used to set the flip-flop to the 1 state or clear the
flip-flop to the 0 state at any time, regardless of the condition at the other inputs.
169. In JK flip flop same input, i.e. at a particular time or during a clock pulse, the output
will oscillate back and forth between 0 and 1. At the end of the clock pulse the value of
output Q is uncertain. The situation is referred to as?
a) Conversion condition
b) Race around condition
c) Lock out state
d) Forbidden State
Answer: b
Explanation: A race around condition is a flaw in an electronic system or process whereby the
output and result of the process is unexpectedly dependent on the sequence or timing of other
events.
172. If one wants to design a binary counter, the preferred type of flip-flop is ____________
a) D type
b) S-R type
c) Latch
d) J-K type
Answer: d
Explanation: If one wants to design a binary counter, the preferred type of flip-flop is J-K type
because it has capability to recover from toggle condition. SR flip-flop is not suitable as it
produces the “Invalid State”.
173. S-R type flip-flop can be converted into D type flip-flop if S is connected to R through
____________
a) OR Gate
b) AND Gate
c) Inverter
d) Full Adder
Answer: c
Explanation: S-R type flip-flop can be converted into D type flip-flop if S is connected to R
through an Inverter gate.
174. Which of the following flip-flops is free from the race around the problem?
a) T flip-flop
b) SR flip-flop
c) Master-Slave Flip-flop
d) D flip-flop
Answer: a
Explanation: T flip-flop is free from the race around condition because its output depends only
on the input; hence there is no any problem creates as like toggle.
179. The circuit that generates a spike in response to a momentary change of input signal is
called ____________
a) R-C differentiator circuit
b) L-R differentiator circuit
c) R-C integrator circuit
d) L-R integrator circuit
Answer: a
Explanation: The circuit that generates a spike in response to a momentary change of input
signal is called R-C differentiator circuit.
Digital Circuits Questions and Answers – Flip Flops – 3
This set of Digital Electronic/Circuits question bank focuses on “Flip Flops – 3”.
180. Which circuit is generated from D flip-flop due to addition of an inverter by causing
reduction in the number of inputs?
a) Gated JK-latch
b) Gated SR-latch
c) Gated T-latch
d) Gated D-latch
Answer: d
Explanation: Since, both inputs of the D flip-flop are connected through an inverter. And this
causes reduction in the number of inputs.
182. A J-K flip-flop can be obtained from the clocked S-R flip-flop by augmenting
___________
a) Two AND gates
b) Two NAND gates
c) Two NOT gates
d) Two OR gates
Answer: a
Explanation: A J-K flip-flop can be obtained from the clocked S-R flip-flop by augmenting two
AND gates.
183. How is a J-K flip-flop made to toggle?
a) J = 0, K = 0
b) J = 1, K = 0
c) J = 0, K = 1
d) J = 1, K = 1
Answer: d
Explanation: When j=k=1 then the race condition is occurs that means both output wants to be
HIGH. Hence, there is toggle condition is occurs, where 0 becomes 1 and 1 becomes 0. That is
device is either set or reset.
184. The phenomenon of interpreting unwanted signals on J and K while Cp (clock pulse)
is HIGH is called ___________
a) Parity error checking
b) Ones catching
c) Digital discrimination
d) Digital filtering
Answer: b
Explanation: Ones catching means that the input transitioned to a 1 and back very briefly
(unintentionally due to a glitch), but the flip-flop responded and latched it in anyway, i.e., it
caught the 1. Similarly for 0’s catching.
188. Two J-K flip-flops with their J-K inputs tied HIGH are cascaded to be used as
counters. After four input clock pulses, the binary count is ________
a) 00
b) 11
c) 01
d) 10
Answer: a
Explanation: Every O/P repeats after its mod. Here mod is 4 (because 2 flip-flops are used. So
mod = 22 = 4). So after 4 clock pulses the O/P repeats i.e. 00.
189. Four J-K flip-flops are cascaded with their J-K inputs tied HIGH. If the input
frequency (fin) to the first flip-flop is 32 kHz, the output frequency (fout) is ________
a) 1 kHz
b) 2 kHz
c) 4 kHz
d) 16 kHz
Answer: b
Explanation: 32/2=16:-first flip-flop, 16/2=8:- second flip-flop, 8/2=4:- third flip-flop, 4/2=2:-
fourth flip-flop. Since the output frequency is determined on basis of the 4th flip-flop.
190. Determine the output frequency for a frequency division circuit that contains 12 flip-
flops with an input clock frequency of 20.48 MHz.
a) 10.24 kHz
b) 5 kHz
c) 30.24 kHz
d) 15 kHz
Answer: b
Explanation: 12 flip flops = 212 = 4096
Input Clock frequency = 20.48*106 = 20480000
Output Clock frequency = 20480000/4096 = 5000 i.e., 5 kHz.
This set of Digital Electronics/Circuits Multiple Choice Questions & Answers (MCQs) focuses
on “Half Adder & Full Adder”.
195. If A and B are the inputs of a half adder, the sum is given by __________
a) A AND B
b) A OR B
c) A XOR B
d) A EX-NOR B
Answer: c
Explanation: If A and B are the inputs of a half adder, the sum is given by A XOR B, while the
carry is given by A AND B.
196. If A and B are the inputs of a half adder, the carry is given by __________
a) A AND B
b) A OR B
c) A XOR B
d) A EX-NOR B
Answer: a
Explanation: If A and B are the inputs of a half adder, the carry is given by: A(AND)B, while
the sum is given by A XOR B.
199. If A, B and C are the inputs of a full adder then the sum is given by __________
a) A AND B AND C
b) A OR B AND C
c) A XOR B XOR C
d) A OR B OR C
Answer: c
Explanation: If A, B and C are the inputs of a full adder then the sum is given by A XOR B
XOR C.
200. If A, B and C are the inputs of a full adder then the carry is given by __________
a) A AND B OR (A OR B) AND C
b) A OR B OR (A AND B) C
c) (A AND B) OR (A AND B)C
d) A XOR B XOR (A XOR B) AND C
Answer: a
Explanation: If A, B and C are the inputs of a full adder then the carry is given by A AND B
OR (A OR B) AND C, which is equivalent to (A AND B) OR (B AND C) OR (C AND A).
201. How many AND, OR and EXOR gates are required for the configuration of full
adder?
a) 1, 2, 2
b) 2, 1, 2
c) 3, 1, 2
d) 4, 0, 1
Answer: b
Explanation: There are 2 AND, 1 OR and 2 EXOR gates required for the configuration of full
adder, provided using half adder. Otherwise, configuration of full adder would require 3 AND, 2
OR and 2 EXOR.
This set of Digital Electronics/Circuits Multiple Choice Questions & Answers (MCQs) focuses
on “Half & Full Subtractor”.
203. For subtracting 1 from 0, we use to take a _______ from neighbouring bits.
a) Carry
b) Borrow
c) Input
d) Output
Answer: b
Explanation: For subtracting 1 from 0, we use to take a borrow from neighbouring bits because
carry is taken into consideration during addition process.
204. How many outputs are required for the implementation of a subtractor?
a) 1
b) 2
c) 3
d) 4
Answer: b
Explanation: There are two outputs required for the implementation of a subtractor. One for the
difference and another for borrow.
205. Let the input of a subtractor is A and B then what the output will be if A = B?
a) 0
b) 1
c) A
d) B
Answer: a
Explanation: The output for A = B will be 0. If A = B, it means that A = B = 0 or A = B = 1. In
both of the situation subtractor gives 0 as the output.
206. Let A and B is the input of a subtractor then the output will be ___________
a) A XOR B
b) A AND B
c) A OR B
d) A EXNOR B
Answer: a
Explanation: The subtractor has two outputs BOROW and DIFFERENCE. Since, the difference
output of a subtractor is given by AB’ + BA’ and this is the output of a XOR gate. So, the final
difference output is AB’ + BA’.
207. Let A and B is the input of a subtractor then the borrow will be ___________
a) A AND B’
b) A’ AND B
c) A OR B
d) A AND B
Answer: b
Explanation: The borrow of a subtractor is received through AND gate whose one input is
inverted. On that basis the borrow will be (A’ AND B).
211. The output of a subtractor is given by (if A, B and X are the inputs).
a) A AND B XOR X
b) A XOR B XOR X
c) A OR B NOR X
d) A NOR B XOR X
Answer: b
Explanation: The difference output of a subtractor is given by (if A, B and X are the inputs) A
XOR B XOR X.
This set of Digital Electronics/Circuits Multiple Choice Questions & Answers (MCQs) focuses
on “Shift Register Counters”.
225. A bidirectional 4-bit shift register is storing the nibble 1110. Its input is LOW. The
nibble 0111 is waiting to be entered on the serial data-input line. After two clock pulses, the
shift register is storing ________
a) 1110
b) 0111
c) 1000
d) 1001
Answer: d
Explanation: Stored nibble | waiting nibble
0111 | 1110, Initially
111 | 1100, 1st pulse
11 | 1001, 2nd pulse.
228. By adding recirculating lines to a 4-bit parallel-in serial-out shift register, it becomes a
________ ________ and ________ out register.
a) Parallel-in, serial, parallel
b) Serial-in, parallel, serial
c) Series-parallel-in, series, parallel
d) Bidirectional in, parallel, series
Answer: a
Explanation: One bit shifting takes place just after the output obtained on every register. Hence,
by adding recirculating lines to a 4-bit parallel-in serial-out shift register, it becomes a Parallel-
in, Serial, and Parallel-out register. Since, the bots can be inputted all at the same time, while the
data can be outputted either one at a time or simultaneously.
229. What type of register would have a complete binary number shifted in one bit at a
time and have all the stored bits shifted out one at a time?
a) Parallel-in Parallel-out
b) Parallel-in Serial-out
c) Serial-in Serial-out
d) Serial-in Parallel-out
Answer: c
Explanation: Serial-in Serial-out register would have a complete binary number shifted in one
bit at a time and have all the stored bits shifted out one at a time. Since in serial transmission, bits
are transmitted or received one at a time and not simultaneously.
230. In a 4-bit Johnson counter sequence, there are a total of how many states, or bit
patterns?
a) 1
b) 3
c) 4
d) 8
Answer: d
Explanation: In johnson counter, total number of states are determined by 2N = 2*4 = 16
Total Number of Used states = 2N = 2*4 = 8
Total Number of Unused states = 16 – 8 = 8.
231. If a 10-bit ring counter has an initial state 1101000000, what is the state after the
second clock pulse?
a) 1101000000
b) 0011010000
c) 1100000000
d) 0000000000
Answer: b
Explanation: After shifting 2-bit we get the output as 0011010000 (Since two zeros are at
1st position and 2nd position which came from the last two bits). As in a ring counter, the bits
rotate in clockwise direction.
232. How much storage capacity does each stage in a shift register represent?
a) One bit
b) Two bits
c) Four bits
d) Eight bits
Answer: a
Explanation: A register is made of flip-flops. And each flip-flop stores 1 bit of data. Thus, a
shift register has the capability to store one bit and if another bit is to store, in such situation it
deletes the previous data and stores them.
This set of Digital Electronics/Circuits Multiple Choice Questions & Answers (MCQs) focuses
on “BCD Adder”.
233. The decimal number system represents the decimal number in the form of
____________
a) Hexadecimal
b) Binary coded
c) Octal
d) Decimal
Answer: b
Explanation: Binary-coded decimal (BCD) is a class of binary encodings of decimal numbers
where each decimal digit is represented by a fixed number of bits, usually four or eight.
Hexadecimal and Octal are number systems having base 16 and 8 respectively.
236. The output sum of two decimal digits can be represented in ____________
a) Gray Code
b) Excess-3
c) BCD
d) Hexadecimal
Answer: c
Explanation: The output sum of two decimal digits can be represented in BCD(Binary-coded
decimal). Binary-coded decimal (BCD) is a class of binary encodings of decimal numbers where
each decimal digit is represented by a fixed number of bits, usually four or eight.
237. The addition of two decimal digits in BCD can be done through ____________
a) BCD adder
b) Full adder
c) Ripple carry adder
d) Carry look ahead
Answer: a
Explanation: The addition of two decimal digits in BCD can be done through BCD adder. Every
input inserted, in addition by the user converted into binary and then proceed for the addition.
Whereas, Full Adder, Ripple Carry Adder and Carry Look Adder are for the addition of binary
bits.
242. The number of logic gates and the way of their interconnections can be classified as
____________
a) Logical network
b) System network
c) Circuit network
d) Gate network
Answer: a
Explanation: The number of different levels of logic gates is represented in a fashion which is
known as a logical network.
245. Address decoding for dynamic memory chip control may also be used for
______________
a) Chip selection and address location
b) Read and write control
c) Controlling refresh circuits
d) Memory mapping
Answer: a
Explanation: Address decoding for dynamic memory chip control may also be used for chip
selection and address location. Chip Selection enables or disables the functioning of the chip.
246. Which of the following describes the action of storing a bit of data in a mask ROM?
a) A 0 is stored by connecting the gate of a MOS cell to the address line
b) A 0 is stored in a bipolar cell by shorting the base connection to the address line
c) A 1 is stored by connecting the gate of a MOS cell to the address line
d) A 1 is stored in a bipolar cell by opening the base connection to the address line
Answer: c
Explanation: The action of storing a bit of data in a mask ROM is that when a 1 is stored by
connecting the gate of a MOS cell to the address line. Mask ROMs are programmed by the
manufacturer and are custom made as per the user.
251. Which one of the following is used for the fabrication of MOS EPROM?
a) TMS 2513
b) TMS 2515
c) TMS 2516
d) TMS 2518
Answer: c
Explanation: EPROMs are Erasable Programmable ROMs which can be erased using UV
radiation and re-programmed. TMS 2516 is a MOS EPROM device.
255. Suppose that a certain semiconductor memory chip has a capacity of 8K × 8. How
many bytes could be stored in this device?
a) 8,000
b) 65,536
c) 8,192
d) 64,000
Answer: c
Explanation: 8K = 8 * 1024 = 8192.
256. When a RAM module passes the checker board test it is ______________
a) Able to read and write only 0s
b) Faulty
c) Probably good
d) Able to read and write only 1s
Answer: c
Explanation: When a RAM module passes the checker board test it is probably good. It is a
volatile memory. Thus, RAM stores the data as long as it is powered on and once the power goes
out, it loses its data.
257. What is the difference between static RAM and dynamic RAM?
a) Static RAM must be refreshed, dynamic RAM does not
b) There is no difference
c) Dynamic RAM must be refreshed, static RAM does not
d) SRAM is slower than DRAM
Answer: c
Explanation: Dynamic RAM must be refreshed because it made up of capacitor, and capacitor
required refresh. Static RAM made up of flip flop and it doesn’t required a refresh.
This set of Digital Electronics/Circuits Multiple Choice Questions & Answers (MCQs) focuses
on “Asynchronous Counter”.
258. How many natural states will there be in a 4-bit ripple counter?
a) 4
b) 8
c) 16
d) 32
Answer: c
Explanation: In an n-bit counter, the total number of states = 2n.
Therefore, in a 4-bit counter, the total number of states = 24 = 16 states.
259. A ripple counter’s speed is limited by the propagation delay of _____________
a) Each flip-flop
b) All flip-flops and gates
c) The flip-flops only with gates
d) Only circuit gates
Answer: a
Explanation: A ripple counter is something that is derived by other flip-flops. It’s like a series of
Flip Flops. Output of one FF becomes the input of the next. Because ripple counter is composed
of FF only and no gates are there other than FF, so only propagation delay of FF will be taken
into account. Propagation delay refers to the amount of time taken in producing an output when
the input is altered.
260. One of the major drawbacks to the use of asynchronous counters is that ____________
a) Low-frequency applications are limited because of internal propagation delays
b) High-frequency applications are limited because of internal propagation delays
c) Asynchronous counters do not have major drawbacks and are suitable for use in high- and
low-frequency counting applications
d) Asynchronous counters do not have propagation delays, which limits their use in high-
frequency applications
Answer: b
Explanation: One of the major drawbacks to the use of asynchronous counters is that High-
frequency applications are limited because of internal propagation delays. Propagation delay
refers to the amount of time taken in producing an output when the input is altered.
262. What happens to the parallel output word in an asynchronous binary down counter
whenever a clock pulse occurs?
a) The output increases by 1
b) The output decreases by 1
c) The output word increases by 2
d) The output word decreases by 2
Answer: b
Explanation: In an asynchronous counter, there isn’t any clock input. The output of 1st flip-flop
is given to second flip-flop as clock input. So, in case of binary down counter the output word
decreases by 1.
265 How many different states does a 3-bit asynchronous counter have?
a) 2
b) 4
c) 8
d) 16
Answer: c
Explanation: In a n-bit counter, the total number of states = 2n.
Therefore, in a 3-bit counter, the total number of states = 23 = 8 states.
266. A 5-bit asynchronous binary counter is made up of five flip-flops, each with a 12 ns
propagation delay. The total propagation delay (tp(total)) is ____________
a) 12 ms
b) 24 ns
c) 48 ns
d) 60 ns
Answer: d
Explanation: Since a counter is constructed using flip-flops, therefore, the propagation delay in
the counter occurs only due to the flip-flops. Each bit has propagation delay = 12ns. So, 5 bits =
12ns * 5 = 60ns.
267. An asynchronous 4-bit binary down counter changes from count 2 to count 3. How
many transitional states are required?
a) 1
b) 2
c) 8
d) 15
Answer: d
Explanation: Transitional state is given by (2n – 1). Since, it’s a 4-bit counter, therefore,
transition states = 24 – 1 = 15. So, total transitional states are 15.
268. A 4-bit ripple counter consists of flip-flops, which each have a propagation delay from
clock to Q output of 15 ns. For the counter to recycle from 1111 to 0000, it takes a total of
____________
a) 15 ns
b) 30 ns
c) 45 ns
d) 60 ns
Answer: d
Explanation: Since a counter is constructed using flip-flops, therefore, the propagation delay in
the counter occurs only due to the flip-flops. One bit change is 15 ns, so 4-bit change = 15 * 4 =
60.
269. Three cascaded decade counters will divide the input frequency by ____________
a) 10
b) 20
c) 100
d) 1000
Answer: d
Explanation: Decade counter has 10 states. So, three decade counters are cascaded i.e.
10*10*10=1000 states.
272. A principle regarding most display decoders is that when the correct input is present,
the related output will switch ____________
a) HIGH
b) To high impedance
c) To an open
d) LOW
Answer: d
Explanation: A principle regarding most display decoders is that when the correct input is
present, the related output will switch LOW. Since it’s an active-low device.
Digital Circuits Questions and Answers – Up down counter
This set of Digital Electronics/Circuits Multiple Choice Questions & Answers (MCQs) focuses
on “Up down counter”.
277. Binary counter that count incrementally and decrement is called ___________
a) Up-down counter
b) LSI counters
c) Down counter
d) Up counter
Answer: a
Explanation: Binary counter that counts incrementally and decrement is called UP-DOWN
counter/multimode counter. It alternately counts up and down.
283. An asynchronous binary up counter, made from a series of leading edge-triggered flip-
flops, can be changed to a down counter by ________
a) Taking the output on the other side of the flip-flops (instead of Q)
b) Clocking of each succeeding flip-flop from the other side (instead of Q)
c) Changing the flip-flops to trailing edge triggering
d) All of the Mentioned
Answer: d
Explanation: By all of the mentioned ideas, an asynchronous binary up counter, made from a
series of leading edge-triggered flip-flops, can be changed to a down counter. Edge-triggered FFs
refer to FFs being triggered during a clock transition from LOW to HIGH or HIGH to LOW.
284. A 4-bit binary up counter has an input clock frequency of 20 kHz. The frequency of
the most significant bit is ________
a) 1.25 kHz
b) 2.50 kHz
c) 160 kHz
d) 320 kHz
Answer: a
Explanation: Input clock is given by 20/2 kHz. So, count on the basis of 10 kHz clock. And
MSB changes on 8th stage; Hence, f = 10/8 = 1.25 kHz.
Digital Circuits Questions and Answers – Shift Registers
This set of Digital Electronics/Circuits Multiple Choice Questions & Answers (MCQs) focuses
on “Shift Registers”.
285. Based on how binary information is entered or shifted out, shift registers are classified
into _______ categories.
a) 2
b) 3
c) 4
d) 5
Answer: c
Explanation: The registers in which data can be shifted serially or parallelly are known as shift
registers. Based on how binary information is entered or shifted out, shift registers are classified
into 4 categories, viz., Serial-In/Serial-Out(SISO), Serial-In/Parallel-Out (SIPO), Parallel-
In/Serial-Out (PISO), Parallel-In/Parallel-Out (PIPO).
287. A shift register that will accept a parallel input or a bidirectional serial load and
internal shift features is called as?
a) Tristate
b) End around
c) Universal
d) Conversion
Answer: c
Explanation: A shift register can shift it’s data either left or right. The universal shift register is
capable of shifting data left, right and parallel load capabilities.
288. How can parallel data be taken out of a shift register simultaneously?
a) Use the Q output of the first FF
b) Use the Q output of the last FF
c) Tie all of the Q outputs together
d) Use the Q output of each FF
Answer: d
Explanation: Because no other flip-flops are connected with the output Q, therefore one can use
the Q out of each FF to take out parallel data.
290. The group of bits 11001 is serially shifted (right-most bit first) into a 5-bit parallel
output shift register with an initial state 01110. After three clock pulses, the register
contains ________
a) 01110
b) 00001
c) 00101
d) 00110
Answer: c
Explanation: LSB bit is inverted and feed back to MSB:
01110->initial
10111->first clock pulse
01011->second
00101->third.
291. Assume that a 4-bit serial in/serial out shift register is initially clear. We wish to store
the nibble 1100. What will be the 4-bit pattern after the second clock pulse? (Right-most bit
first)
a) 1100
b) 0011
c) 0000
d) 1111
Answer: c
Explanation: In Serial-In/Serial-Out shift register, data will be shifted one at a time with every
clock pulse. Therefore,
Wait | Store
1100 | 0000
110 | 0000 1st clock
11 | 0000 2nd clock.
292. A serial in/parallel out, 4-bit shift register initially contains all 1s. The data nibble
0111 is waiting to enter. After four clock pulses, the register contains ________
a) 0000
b) 1111
c) 0111
d) 1000
Answer: c
Explanation: In Serial-In/Parallel-Out shift register, data will be shifted all at a time with every
clock pulse. Therefore,
Wait | Store
0111 | 0000
011 | 1000 1st clk
01 | 1100 2nd clk
0 | 1110 3rd clk
X | 1111 4th clk.
293. With a 200 kHz clock frequency, eight bits can be serially entered into a shift register
in ________
a) 4 μs
b) 40 μs
c) 400 μs
d) 40 ms
Answer: b
Explanation: f = 200 KHZ; T = (1/200) m sec = (1/0.2) micro-sec = 5 micro-sec;
In serial transmission, data enters one bit at a time. After 8 clock cycles only 8 bit will be loaded
= 8 * 5 = 40 micro-sec.
294. An 8-bit serial in/serial out shift register is used with a clock frequency of 2 MHz to
achieve a time delay (td) of ________
a) 16 us
b) 8 us
c) 4 us
d) 2 us
Answer: c
Explanation: One clock period is = (½) micro-s = 0.5 microseconds. In serial transmission, data
enters one bit at a time. So, the total delay = 0.5*8 = 4 micro seconds time is required to transmit
information of 8 bits.
Digital Circuits Questions and Answers – Counters
This set of Digital Electronics/Circuits Multiple Choice Questions & Answers (MCQs) focuses
on “Counters”.
297. What is the maximum possible range of bit-count specifically in n-bit binary counter
consisting of ‘n’ number of flip-flops?
a) 0 to 2n
b) 0 to 2n + 1
c) 0 to 2n – 1
d) 0 to 2n+1/2
Answer: c
Explanation: The maximum possible range of bit-count specifically in n-bit binary counter
consisting of ‘n’ number of flip-flops is 0 to 2n-1. For say, there is a 2-bit counter, then it will
count till 22-1 = 3. Thus, it will count from 0 to 3.
This set of Digital Electronics/Circuits Multiple Choice Questions & Answers (MCQs) focuses
on “Programmable Read Only Memory -1”.
305. The time from the beginning of a read cycle to the end of tACS/tAA is called as
____________
a) Write enable time
b) Data hold
c) Read cycle time
d) Access time
Answer: d
Explanation: The time from the beginning of a read cycle to the end of tACS/tAA is called as
access time. It is the time in which data is fetched from the storage.
309. The bit capacity of a memory that has 2048 addresses and can store 8 bits at each
address is ___________
a) 4096
b) 16384
c) 32768
d) 8129
Answer: b
Explanation: 1 address can store 8 bits. Therefore, total capacity of a memory having n
addresses = 8 * n.
Therefore, for 2048 addresses,
total capacity of a memory = 2048 * 8 = 16384 bits.
310. How many 8 k × 1 RAMs are required to achieve a memory with a word capacity of 8
k and a word length of eight bits?
a) Eight
b) Two
c) One
d) Four
Answer: a
Explanation: RAM stands for Random Access Memory in which any memory address can be
accessed in any order. It requires word of length 8 bits. So, one word needs of 1 bit and 8 bit
requires 8 bits.
314. How much locations an 8-bit address code can select in memory?
a) 8 locations
b) 256 locations
c) 65,536 locations
d) 131,072 locations
Answer: b
Explanation: An 8 bit address code requires 32 memory locations and it can hold maximum
upto 32 * 8 = 256 locations = 28.
328. How many memory locations are addressed using 18 address bits?
a) 165,667
b) 245,784
c) 262,144
d) 212,342
Answer: c
Explanation: For n address bits, the memory location will consist of 2n bits. Using 18 address
bits, 2^18 = 262,144 (= 256 K) words are addressed.
329. How many address bits are needed to operate a 2K * 8-bit memory?
a) 10
b) 11
c) 12
d) 13
Answer: b
Explanation: For n address bits, the memory location will consist of 2n bits. Thus, for 2K, only
11 address bits are required, because 211 = 2K.
330. What is the bit storage capacity of a ROM with a 1024 × 8 organization?
a) 1024
b) 4096
c) 2048
d) 8192
Answer: d
Explanation: For n address bits, the memory location will consist of 2n bits. 1024 = 210. So,
210 * 23 = 1024 * 8 = 8192 bit.
Digital Circuits Questions and Answers – Sum of Products and Products of Sum
This set of Digital Electronics/Circuits Multiple Choice Questions & Answers (MCQs) focuses
on “Sum of Products and Products of Sum”.
331. The logical sum of two or more logical product terms is called __________
a) SOP
b) POS
c) OR operation
d) NAND operation
Answer: a
Explanation: The logical sum of two or more logical product terms, is called SOP (i.e. sum of
product). The logical product of two or more logical sum terms, is called POS (i.e. product of
sums).
332. The expression Y=AB+BC+AC shows the _________ operation.
a) EX-OR
b) SOP
c) POS
d) NOR
Answer: b
Explanation: The given expression has the operation product as well as the sum of that. So, it
shows SOP operation. POS will be the product of sum terms.
334. A product term containing all K variables of the function in either complemented or
uncomplemented form is called a __________
a) Minterm
b) Maxterm
c) Midterm
d) ∑ term
Answer: a
Explanation: A product term containing all K variables of the function in either complemented
or uncomplemented form is called a minterm. A sum term containing all K variables of the
function in either complemented or uncomplemented form is called a maxterm.
335. According to the property of minterm, how many combination will have value equal to
1 for K input variables?
a) 0
b) 1
c) 2
d) 3
Answer: b
Explanation: The main property of a minterm is that it possesses the value 1 for only one
combination of K input variables and the remaining will have the value 0.
336. The canonical sum of product form of the function y(A,B) = A + B is __________
a) AB + BB + A’A
b) AB + AB’ + A’B
c) BA + BA’ + A’B’
d) AB’ + A’B + A’B’
Answer: b
Explanation: A + B = A.1 + B.1 = A(B + B’) + B(A + A’) = AB + AB’ + BA +BA’ = AB +
AB’ + A’B = AB + AB’ + A’B.
This set of Digital Electronic/Circuits Multiple Choice Questions & Answers focuses on
“Demultiplexers(Data Distributors) – 2”.
348. How many select lines are required for a 1-to-8 demultiplexer?
a) 2
b) 3
c) 4
d) 5
Answer: b
Explanation: The formula for total no. of outputs is given by 2n, where n is the no. of select
lines. In this case n = 3 since 23 = 8.
349. How many AND gates are required for a 1-to-8 multiplexer?
a) 2
b) 6
c) 8
d) 5
Answer: c
Explanation: The number of AND gates required will be equal to the number of outputs in a
demultiplexer, which are 8.
350. Which IC is used for the implementation of 1-to-16 DEMUX?
a) IC 74154
b) IC 74155
c) IC 74139
d) IC 74138
Answer: a
Explanation: IC 74154 is used for the implementation of 1-to-16 DEMUX, whose output is
inverted input.
For C0 =1 and C1 =0, Y1 will be the output as 0 and 1 are the bit combinations of 1.
357. In 1-to-4 multiplexer, if C1 = 1 & C2 = 1, then the output will be ___________
a) Y0
b) Y1
c) Y2
d) Y3
Answer: d
Explanation: It can be calculated from the figure shown below:
For C0 =1 and C1 =0, Y3 will be the output as 0 and 1 are the bit combinations of 1.
358. How many select lines are required for a 1-to-8 demultiplexer?
a) 2
b) 3
c) 4
d) 5
Answer: b
Explanation: The formula for total no. of outputs is given by 2n, where n is the no. of select
lines. In this case n = 3 since 23 = 8.
359. How many AND gates are required for a 1-to-8 multiplexer?
a) 2
b) 6
c) 8
d) 5
Answer: c
Explanation: The number of AND gates required will be equal to the number of outputs in a
demultiplexer, which are 8.
This set of Digital Electronics/Circuits Multiple Choice Questions & Answers (MCQs) focuses
on “Arithmetic Operation”
362. What is the addition of the binary numbers 11011011010 and 010100101?
a) 0111001000
b) 1100110110
c) 11101111111
d) 10011010011
Answer: c
Explanation: The rules for Binary Addition are :
0+0=0
0+1=1
1+0=1
1 + 1 = 0 ( Carry 1)
1
11011011010
+00010100101
_______________________
11101111111
_______________________
369. Divide the binary number (011010000) by (0101) and find the quotient
a) 100011
b) 101001
c) 110010
d) 010001
Answer: b
Explanation:
0101)011010000(010111
0000
_____________________
01101
00101
______________
010000
000000
______________________
10000
00101
____________________
010110
000101
____________________
100010
000101
________________________
111010
000101
________________________
10101
00101
________________________
10000
374. How many types of the data type are there in the ring counter?
a) One
b) Two
c) Three
d) More than three
Answer: d
Explanation: There are more than three data types in VHDL, some of them are:
STD_LOGIC_VECTOR data type – for more than one bit, the STD_LOGIC data type – for a
single bit, the BIT_VECTOR data type – for two or more bits, STD_LOGIC_UNSIGNED data
type – for addition and subtraction.
378. The number of flip-flops used in a counter is _________ number of states in the
counter.
a) Greater than
b) Less than
c) Equal to
d) Greater than equal to
Answer: d
Explanation: Number of flip-flops used in a counter is greater than equal to the number of states
in the counter. It can be calculated by using ‘log2 n’ where n=number of states in the counter.
379. Two decade counters cascaded together will divide the input frequency by ________
a) 10
b) 100
c) 1000
d) 10000
Answer: b
Explanation: A decade counter has 10 states, so it divides the input frequency by 10. Two
decade counters will divide the input frequency by 10*10=100.
VHDL Questions and Answers – Designing Moore Type FSM with VHDL
This set of VHDL Multiple Choice Questions & Answers (MCQs) focuses on “Designing Moore
Type FSM with VHDL”.
380. Output values of Moore type FSM are determined by its ________
a) Input values
b) Output values
c) Clock input
d) Current state
Answer: d
Explanation: The output values of a Moore type FSM are determined only by its current state.
The output is computed by the state outputs which serve as the input in the flip-flop. The output
changes synchronously with the clock edge and state transition.
384. In the FSM diagram, what does arrow between the circles represent?
a) Change of state
b) State
c) Output value
d) Initial state
Answer: a
Explanation: In the FSM diagram, arrows between the circles represent the change of one state
to another state. For example: Assume there are four states in an FSM i.e. A, B, C and D. The
arrow between the states A and B show the transition of state from A to B.
385.. In the FSM diagram, what does the information below the line in the circle represent?
a) Change of state
b) State
c) Output value
d) Initial state
Answer: c
Explanation: In the FSM diagram the information below the line in the circle represents the
output value when in each state. It is represented by 1 and 0. If there is a state change then 1,
otherwise 0.
VHDL Questions and Answers – Designing Mealy Type FSM with VHDL
This set of VHDL Puzzles focuses on “Designing Mealy Type FSM with VHDL”.
390. Output values of mealy type FSM are determined by its ________
a) Input values
b) Output values
d) Current state
Answer: c
Explanation: The output values of a mealy type FSM are determined by its current state and
present input values both. Output can change after a change at the inputs immediately,
independent of the clock.
393. What is the first step in writing the VHDL for an FSM?
a) To define the VHDL entity
b) Naming the entity
c) Defining the data type
d) Creating the states
Answer: a
Explanation: The first step in writing the VHDL for an FSM is defining the VHDL entity. The
VHDL entity defines the external interface of the system that is being designed, which includes
the name of the entity, the inputs and the outputs.
397. In mealy type FSM, the path is labelled by which of the following?
a) Inputs
b) Outputs
c) Both inputs and outputs
d) Current state
Answer: c
Explanation: In mealy machines, each transition path is labelled with both, the inputs and the
outputs and the circle contains the code for the internal state. In Moore machines path is labelled
only with the inputs and the circle contains the output and the state code.
VHDL Questions and Answers – Implementing Combinational Circuits with VHDL – 2
This set of Tough VHDL Questions and Answers focuses on “Implementing Combinational
Circuits with VHDL – 2”.
398. The process statement used in combinational circuits is called ______ process.
a) Combinational
b) Clocked
c) Unclocked
d) Sequential
Answer: a
Explanation: The process, in which no clock signal is used, is called a combinational process. In
a combinational process, the sensitivity list doesn’t include any clock signal for synchronization.
In the case of sequential circuits the clock signal is used.
399. Why we need to include all the input signals in the sensitivity list of the process?
a) To monitor the output continuously
b) To monitor the input continuously
c) To make the circuit synthesizable by EDA tools
d) No special purpose
Answer: b
Explanation: If the input signals are not in the sensitivity list of the process, then one can’t
monitor the change in input. Any change in input signal will not change the output
simultaneously by running the process again.
400. If only two bit vectors are allowed to use in the VHDL code, then how many number of
MUX will be required to implement 4 to 1 MUX?
a) 1
b) 2
c) 3
d) 4
Answer: c
Explanation: Since we have inputs with two bits only, so we can use 2 to 1 MUX to implement
the required design. So, to design 4 to 1 MUX, we need 3 2 to 1 MUX and hence we can get the
desired circuit by using 3 multiplexers.
402. In designing a 2 to 1 demultiplexer with input d, output y and select line s, which of the
following is a correct process statement?
a) PROCESS(d)
b) PROCESS(d(0), d(1), s)
c) PROCESS(d(0), d(1))
d) PROCESS(d, s, y)
Answer: a
Explanation: In a combinational process, the sensitivity list must include all the inputs. For a 2
to 1 MUX, there must be 2 inputs which are d(0) and d(1); also the process should be sensitive to
the select line, so s also should be in the sensitivity list.
403. The given code represents a convertor. Which kind of convertor it is?
ENTITY convert IS
PORT(b: IN STD_LOGIC_VECTOR(3 DOWNTO 0);
x : OUT STD_LOGIC_VECTOR(7 DOWNTO 0));
END convert;
ARCHITECTURE convertor OF covert IS
BEGIN
PROCESS(b)
BEGIN
CASE b IS
WHEN “0000” => x <= “1111110”;
WHEN “0001” => x <= “0110000”;
WHEN “0010” => x <= “1101101”;
WHEN “0011” => x <= “1111001”;
WHEN “0100” => x <= “0110011”;
WHEN “0101” => x <= “1011011”;
WHEN “0110” => x <= “1011111”;
WHEN “0111” => x <= “1110000”;
WHEN “1000” => x <= “1111111”;
WHEN “1001” => x <= “1110011”;
WHEN OTHERS => x <= “0000000”;
END CASE;
END PROCESS;
END convertor;
a) Gray to BCD
b) 7 segment to BCD
c) BCD to gray
d) BCD to 7 segment display
Answer: d
Explanation: Clearly, it is a BCD to 7 segment display convertor. This circuit takes a 4 bit BCD
input and convert it into 7 bits output which may be used for LED output and hence the 7
segment display can be operated.
404. What is the function of the below code?
ENTITY my_logic IS
PORT (din : STD_LOGIC_VECTOR(7 DOWNTO 0);
Count : STD_LOGIC_VECTOR(3 DOWNTO 0));
END my_logic;
ARCHITECTURE behavior OF my_logic IS
BEGIN
Count <= “0000”
PROCESS(din)
BEGIN
L1: FOR i IN 0 TO 7 LOOP
IF(din(i) = ‘1’) THEN
Count = count+1;
ELSE
NEXT L1;
END LOOP;
END PROCESS;
END behavior;
ENTITY my_logic IS
PORT (din : STD_LOGIC_VECTOR(7 DOWNTO 0);
Count : STD_LOGIC_VECTOR(3 DOWNTO 0));
END my_logic;
ARCHITECTURE behavior OF my_logic IS
BEGIN
Count <= “0000”
PROCESS(din)
BEGIN
L1: FOR i IN 0 TO 7 LOOP
IF(din(i) = ‘1’) THEN
Count = count+1;
ELSE
NEXT L1;
END LOOP;
END PROCESS;
END behavior;
a) 6
b) 0110
c) 2
d) 0010
Answer: b
Explanation: The count is a signal of bit vector type and hence the output will be a stream of
bits. In this case there are 6 ones in the input, which corresponds to 0110 in the binary number
system.
VHDL Questions and Answers – Designing Shift Registers with VHDL
This set of VHDL Multiple Choice Questions & Answers (MCQs) focuses on “Designing Shift
Registers with VHDL”.
407. In serial input serial output register, the data of ______ is accessed by the circuit.
a) Last flip-flop
b) First flip-flop
c) All flip-flops
d) No flip-flop
Answer: b
Explanation: In serial input serial output register, the data of first flip-flop is accessed by the
rest of the circuit and in serial input parallel output register, the data of the last flip-flop is
accessed by the circuit.
408. In PIPO shift register, parallel data can be taken out by ______
a) Using the Q output of the first flip-flop
b) Using the Q output of the last flip-flop
c) Using the Q output of the second flip-flop
d) Using the Q output of each flip-flop
Answer: d
Explanation: In PIPO shift register there are parallel input pins to which data is presented in a
parallel format and then the data is transferred to their respective output pins altogether by the
same clock pulse. One clock pulse unloads and loads the data of one register, which requires it to
use all the output pins of each and every flip-flop.
409. Four bits shift register enables shift control signal in how many clock pulses?
a) Two clock pulses
b) Three clock pulses
c) Four clock pulses
d) Five clock pulses
Answer: c
Explanation: One bit is shifted into the register in one clock cycle for data conversion so four
bits will be shifted into the register in four clock pulses.
410. Time taken by the shift register to transfer the content is called _______
a) Clock duration
b) Bit duration
c) Word duration
d) Duration
Answer: c
Explanation: Serial computer needs less hardware because one circuit can be used over and over
again to manipulate the bits that come out of the shift register. The time required by the shift
register to shift the entire content is called word duration.
library ieee;
use ieee.std_logic_1164.all;
entity shift_siso is
port (Clock, Sin : in std_logic;
Sout : out std_logic);
end shift_siso;
architecture behav of shift_siso is
signal temp: std_logic_vector(7 downto 0);
begin
process (Clock)
begin
if (Clock'event and Clock='1') then
for i in 0 to 6 loop
temp(i+1) <= temp(i);
end loop;
temp(0) <= Sin;
end if ;
end process;
Sout <= temp(7);
end behav;
This set of VHDL Multiple Choice Questions & Answers (MCQs) focuses on “Package”.
416. Any item declared in a package declaration section are visible to _______
a) Every design unit
b) Package body only
c) Library containing that package
d) Design unit that USE the package
Answer: d
Explanation: To use any component, constant, signal, subprogram or function declared in a
package, one needs to declare the package in the code itself by using the USE clause. When the
package is declared in the library declaration part of the code then the functions or datatypes
defined in the package will be visible to the design unit.
417. What do you call a constant declared in the package declaration, without its initial
value specified?
a) Constant
b) Package constant
c) Deferred constant
d) Undefined constant
Answer: c
Explanation: Deferred constants are constants that have their name and type declared in the
package declaration section but the actual value is specified in the package body section. It is
important to use package body when a deferred constant is declared in the package declaration
body.
PACKAGE package_name IS
declarations;
END package_name;
PACKAGE BODY package_name IS
Functions and procedures descriptions;
END package_name;
b)
PACKAGE package_name IS
declarations;
PACKAGE BODY package_body_name IS
Functions and procedures descriptions;
END package_name;
c)
PACKAGE package_name IS
declarations;
END package_name;
PACKAGE BODY package_body_name IS
Functions and procedures descriptions;
END package_name;
d)
PACKAGE package_name IS
declarations;
PACKAGE BODY package_name IS
Functions and procedures descriptions;
END package_name;
Answer: a
Explanation: The PACKAGE keyword is followed by the name of package and after which
there is an declaration part of the package. If any subprogram or deferred constant is declared in
the package declaration, then a package body must be defined. Note that the package body
doesn’t have a separate name. It uses the same name as that of package.
b)
LIBRARY library_name;
USE package_name.part;
c)
LIBRARY library_name;
USE library_name.package_name.part;
d)
USE library_name.package_name;
Answer: c
Explanation: To use a package, first we want to define the library in which it is actually
declared. After that to use the package, we need to use the USE clause which is followed by
library name and the package name and then the part of package which we need to include to the
design.
b)
PACKAGE my_pack IS
CONSTANT x : INTEGER := 5;
END my_pack;
c)
PACKAGE my_pack IS
FUNCTION my_func RETURN BOOLEAN IS;
END my_pack;
PACKAGE BODY my_pack IS
Function description;
END my_pack;
d)
PACKAGE my_pack IS
TYPE color IS (red, green, blue);
END PACKAGE;
Answer: a
Explanation: Though it is possible to use and declare signals in packages but signal declaration
may cause some problems in synthesis because a signal can’t be shared by two entities.
However, it is possible to declare global signals in the design itself.
b)
PACKAGE my_pack IS
CONSTANT x : INTEGER := 5;
END my_pack;
c)
PACKAGE my_pack IS
FUNCTION my_func RETURN BOOLEAN IS;
END my_pack;
d)
PACKAGE my_pack IS
TYPE color IS (red, green, blue);
END PACKAGE;
Answer: c
Explanation: Package declaration is always mandatory but package body is optional. When a
function or deferred constant is declared in the package declaration, then it is necessary to use a
package body so as to assign value to the constant or to describe the function.
422. Which of the following is not a in-built package in VHDL?
a) STD_LOGIC_1164
b) TEXTIO
c) STANDARD
d) STD
Answer: d
Explanation: STD is not a package but it is a library. All other STD_LOGIC_1164, TEXTIO,
STANDARD etc. are some in built packages of VHDL. STD_LOGIC_1164 is declared in the
IEEE library. TEXTIO and STANDARD libraries are declared in STD library.
This set of VHDL Multiple Choice Questions & Answers (MCQs) focuses on “Implementing
Combinational Circuits with VHDL – 1”.
a) 4 to 1 MUX
b) 1 to 4 DEMUX
c) 8 to 1 MUX
d) 1 to 8 DEMUX
Answer: a
Explanation: In the given architecture, the output is single (y), which is selected with the help of
a and b. So, a and b are select lines and y is the output which is selected from 4 inputs.
Therefore, it is the multiplexer circuit with 4 inputs and 1 output.
a) L2
b) L3
c) L4
d) No error
Answer: d
Explanation: There is no error in the given piece of the code. However, there was no need to use
WHEN in the line L4 because there is no other case to be selected from many inputs. Last case
can be directly expressed without any use of WHEN.
429. In a given combinational circuit, the concurrent statements are used with selected
assignments using WHEN and ELSE keyword. What is the other alternative to implement
the same?
a) WITH-SELECT
b) WITH-SELECT-WHEN
c) IF-ELSE
d) CASE
Answer: b
Explanation: Because only concurrent statements can be used, therefore, WITH-SELECT is the
correct alternative for the method used by the user. But, WITH-SELECT also requires WHEN
keyword to implement the selected assignment.
ENTITY decoder IS
PORT( inp : IN STD_LOGIC_VECTOR(3 DOWNTO 0);
Outp: OUT STD_LOGIC_VECTOR(8 DOWNTO 0));
END decoder;
b)
ENTITY decoder IS
PORT( inp : IN STD_LOGIC_VECTOR(8 DOWNTO 0);
Outp: OUT STD_LOGIC_VECTOR(3 DOWNTO 0));
END decoder;
c)
ENTITY decoder IS
PORT( inp : IN STD_LOGIC_VECTOR(7 DOWNTO 0);
Outp: OUT STD_LOGIC_VECTOR(2 DOWNTO 0));
END decoder;
d)
ENTITY decoder IS
PORT( inp : IN STD_LOGIC_VECTOR(2 DOWNTO 0);
Outp: OUT STD_LOGIC_VECTOR(7 DOWNTO 0));
END decoder;
Answer: d
Explanation: In a 3 by 8 decoder, there must be 3 inputs and 8 outputs. For 3 inputs the
dimension of vector must be 2 DOWNTO 0 and for output the dimensions should be 7
DOWNTO 0. Therefore, option d is the correct port entity of the 3 by 8 decoder.
430. For using a process to implement a combinational circuit, which signals should be in
the sensitivity list?
a) Inputs of the circuit
b) Outputs of the circuit
c) Both of the Inputs and Outputs
d) No signal should be in the sensitivity list
Answer: a
Explanation: In a process used for the implementation of the combinational circuit, all the input
signals used which are to be read, should appear in its sensitivity list. In a combinational circuit,
there can be many inputs and those inputs should appear in the sensitivity list of the process.
431. A 4 to 16 decoder can be used as a code converter. What will be the inputs and outputs
of the converter respectively?
a) Binary, Octal
b) Octal, Binary
c) Hexadecimal, Binary
d) Binary, Hexadecimal
Answer: c
Explanation: Since, 24 = 16, therefore, the decoder can act as hexadecimal to binary converter.
Because, 4 bits input is converted to 16 bits output. Each bit corresponding to 4 output bits. So,
clearly it is a hexadecimal to binary convertor.
ENTITY my_circuit IS
PORT (a, b : IN STD_LOGIV_VECTOR(3 DOWNTO 0);
x : OUT STD_LOGIC_VECTOR(3 DOWNTO 0);
y : OUT STD_LOGIC);
END my_circuit;
a) Half adder
b) Full adder
c) Multiplexer
d) Parallel adderr
Answer: d
Explanation: The entity gives information about inputs and outputs of the circuit. The circuit
has two inputs and both are of vector type. There is one vector output and another single bit
output. Therefore, it has to be an adder, but because 4 bits are there in the input and output so it
is a 4-bit parallel adder.