Difficulty: Medium
How many cells represent a four-variable Boolean function?
A 8
B 12
C 32
D 16
Answer: D. 16 Four Boolean variables produce 2β΄ possible input combinations.
Adjacent Karnaugh-map cells differ in how many variables?
A One variable
B No variables
C Two variables
D Four variables
Answer: A. One variable K-map ordering makes adjacent cells differ in one input bit.
Wrap-around grouping is possible because opposite K-map edges are logically adjacent.
A They share one output
B They are don’t-cares
C They are logically adjacent
D They have equal labels
Answer: C. They are logically adjacent Gray ordering makes the first and last rows or columns adjacent.
How can don’t-care entries help minimize logic?
A Force output zero
B Permit larger groups
C Add required literals
D Create new inputs
Answer: B. Permit larger groups A don’t-care may be treated as zero or one to simplify the implementation.
Within canonical SOP, how are all literals combined within one minterm?
A Sum of all maxterms
B One selected literal
C Product of all literals
D Only complemented inputs
Answer: C. Product of all literals Each minterm is an AND product containing every variable once.
Conversely, canonical maxterms contain which operation?
A Product of all minterms
B One selected literal
C Only uncomplemented inputs
D Sum of all literals
Answer: D. Sum of all literals Each maxterm is an OR sum containing every variable once.
Which notation lists canonical SOP terms?
A Sum of minterms
B Product of maxterms
C Product of literals
D Sum of variables
Answer: A. Sum of minterms The Ξ£m notation identifies the minterms for which the function is one.
How is a full-adder carry-out expressed?
A A XOR B XOR Cin
B AB + ACin + BCin
C A + B + Cin
D ABCin
Answer: B. AB + ACin + BCin Carry-out is high when at least two of the three input bits are high.
Carry-lookahead logic computes carries early for what purpose?
A Parity bits
B Display codes
C Memory addresses
D Carry signals
Answer: D. Carry signals It derives carry terms in parallel to avoid waiting for each ripple stage.
Eight mux inputs require how many select bits?
A 3
B 2
C 4
D 8
Answer: A. 3 Three bits encode eight distinct choices because 2Β³ equals eight.
Input 11 on a standard active-high 2-to-4 decoder selects which output?
A Y0
B Y1
C Y3
D Y2
Answer: C. Y3 Binary 11 is decimal three, so output Y3 is asserted.
Three Johnson stages yield how many states?
A 3
B 6
C 4
D 8
Answer: B. 6 An n-stage Johnson counter has 2n states; three stages give six.
Which range fits a five-bit two’s-complement number?
A β16 to +15
B β15 to +16
C β31 to +31
D 0 to 31
Answer: A. β16 to +15 An n-bit two’s-complement range is β2βΏβ»ΒΉ through 2βΏβ»ΒΉβ1.
When does signed two’s-complement addition overflow?
A Different signs, result flips
B Carry-out is zero
C Operands are equal
D Same signs, result flips
Answer: D. Same signs, result flips Overflow occurs when like-signed operands produce a result with the opposite sign.
Invert and increment 0101; which pattern is its negation?
A 1010
B 1101
C 1011
D 1110
Answer: C. 1011 Invert 0101 to 1010, then add one to obtain 1011.
To change Q from 0 to 1 in a JK flip-flop, what is required?
A J=0; K=1
B J=1; K=don’t-care
C J=K=0
D J=K=1
Answer: B. J=1; K=don’t-care The excitation table requires J high; K may be either value for this transition.
For an edge-triggered D flip-flop, what is Q(next)?
A D at active edge
B Q plus D
C D XOR Q
D Clock divided by two
Answer: A. D at active edge The next state equals the D input sampled at the active edge.
In Mealy logic, which signals determine the output?
A State only
B Clock frequency only
C State and current input
D Previous output only
Answer: C. State and current input A Mealy output is a function of the present state and present inputs.
For Moore logic, which signal determines the output?
A Present input only
B State and input
C Previous clock only
D Present state only
Answer: D. Present state only A Moore output depends only on the present state.
When can a level-triggered JK flip-flop race around?
A J=K=0; short clock
B J=K=1; long clock
C J=1; K=0
D Reset is inactive
Answer: B. J=K=1; long clock With J and K high, a long active level can permit repeated toggles.
Setup time is measured immediately before which event?
A Active clock edge
B Reset release
C Data transition
D Output transition
Answer: A. Active clock edge Input data must be stable for the setup interval before the active edge.
Hold time is measured immediately after which event?
A Clock assertion only
B Reset release
C Active clock edge
D Output transition
Answer: C. Active clock edge The data input must remain stable for the hold interval after the active edge.
Increasing ripple-counter stages has what effect on total delay?
A All stages switch together
B Each stage has no delay
C Outputs are combinational
D Carry propagates stage by stage
Answer: D. Carry propagates stage by stage Later stages wait for transitions to propagate through earlier stages.
Synchronous counters share which clock arrangement?
A Each stage clocks the next
B Common clock to all flip-flops
C No clock signal
D Only output clocks
Answer: B. Common clock to all flip-flops All state elements receive the same clock and update together.
Moore-machine outputs change when what event occurs?
A After a state transition
B Whenever input changes
C Only during reset
D Before a clock exists
Answer: A. After a state transition Since output depends on state, it changes when the state changes.