∑GateAndNet
Practice MCQs
GATE CS / Digital Logic
Edit
INTERMEDIATE🔥 High-Yield Exam Topic 4 min read 3 views

Boolean Minimization, K-Maps, Multiplexers & Sequential Flip-Flop Counters

Universal NAND/NOR gate counts, Prime vs Essential Prime Implicants in 4-variable K-Maps, MUX universal logic realization, and JK/D/T Flip-Flop synchronous & ripple counters.

1. Universal Gate Counts & Consensus Theorem

The Consensus Theorem eliminates redundant terms without drawing a K-Map:

AB+A‾C+BC=AB+A‾CAB + \overline{A}C + BC = AB + \overline{A}C
Target Gate / FunctionMin 2-Input NAND GatesMin 2-Input NOR Gates
NOT (A‾\overline{A})11
AND (ABAB)23
OR (A+BA + B)32
XOR (A⊕BA \oplus B)45
XNOR (A⊙BA \odot B)54
Half Adder55
Full Adder99

2. K-Map Implicants & Combinational MUX Realization

  • Prime Implicant (PI): Largest possible power-of-2 group (1,2,4,8,161, 2, 4, 8, 16) of 1s (and optional Don’t Cares X) not contained inside any larger valid group.
  • Essential Prime Implicant (EPI): A PI covering at least one true minterm (1, never a Don’t Care X) that no other PI covers.
  • Universal 2n−1×12^{n-1} \times 1 MUX: Any nn-variable Boolean function can be implemented using a single 2n−1×12^{n-1} \times 1 Multiplexer plus at most one inverter (and zero extra gates if both polarities of the nn-th variable are available!).

3. Flip-Flop Excitation Tables & Counters

Flip-FlopCharacteristic Equation Q(t+1)Q(t+1)Key Exam Behavior
SRS+R‾QS + \overline{R}Q (with SR=0SR = 0)S=R=1S = R = 1 is invalid/forbidden
JKJQ‾+K‾QJ\overline{Q} + \overline{K}QJ=K=1J = K = 1 toggles; level-triggered suffers Race-Around when tp>tpdt_p > t_{pd}, cured by Master-Slave or edge triggering
DDDTransparent delay element; Q+=DQ^+ = D
TT⊕QT \oplus QFrequency divider (f/2f / 2) when T=1T = 1
📐 Key Formula

Mod-NN Counter: Requires n=⌈log⁡2N⌉n = \lceil \log_2 N \rceil flip-flops and divides input clock frequency by NN (fout=fclk/Nf_{\text{out}} = f_{\text{clk}} / N). Ring counter with nn FFs is Mod-nn; Johnson (Twisted Ring) counter with nn FFs is Mod-2n2n!

📐 Quick Revision Formula Sheet
Minimum 2-Input NAND / NOR Gate Table
NOT=1,  AND=2/3,  OR=3/2,  XOR=4/5,  XNOR=5/4\text{NOT}=1,\; \text{AND}=2/3,\; \text{OR}=3/2,\; \text{XOR}=4/5,\; \text{XNOR}=5/4
💡 Formatted as NAND / NOR minimum gate count
Ripple Counter Maximum Clock Frequency
fmax⁡=1n⋅tpd+tstrobef_{\max} = \frac{1}{n \cdot t_{pd} + t_{\text{strobe}}}
💡 For synchronous counter: T_clk >= t_pd(FF) + t_comb + t_setup
#Digital Logic#K-Map#Multiplexer#Flip-Flops#Counters#NAND Gates

🎯 Practice PYQs on This Topic (3)

Q1.GATE CS Digital LogicMCQEASY
+1 Marks • -0.33 Neg

What is the minimum number of 2-input NAND gates required to implement a 2-input XOR function Y=A⊕BY = A \oplus B without complemented inputs?

Q2.GATE CS Digital LogicMCQMEDIUM
+2 Marks • -0.67 Neg

A 4-bit Johnson (Twisted-Ring) Counter is driven by a 24 MHz24\text{ MHz} clock signal. What is the output frequency at any flip-flop output QiQ_i?

Q3.GATE CS Digital LogicMCQEASY
+2 Marks • -0.67 Neg

Simplify the Boolean expression F(A,B,C)=AB+A‾C+BCF(A, B, C) = AB + \overline{A}C + BC to its minimal Sum-of-Products (SOP) form:

Previous TopicIEEE-754 Floating-Point Standard & 2’s Complement ArithmeticNext Topic 5-Stage Instruction Pipelining, Hazards & Cache Mapping Bit Math