Combinational Logic Circuits and Data Selectors Short Notes for Gate Cs
Combinational Logic Circuits and Data Selectors short notes for GATE CS: 4 study cards covering concepts, formulas, shortcuts and exam traps, plus solved prac
Combinational Logic Circuits and Data Selectors short notes
Hazards and Delays Quick Reference
Summary
Hazards and Delays Quick Reference
1. Timing Fundamentals
Propagation Delay (tpd): Time for input change to affect output.
Wire Delay: Assumed to be zero unless explicitly stated otherwise.
Total Path Delay: Sum of tpd of all gates in series along that path.
2. Hazard Classification
Static-1: Output should stay 1, glitches to 0. (SOP circuits)
Static-0: Output should stay 0, glitches to 1. (POS circuits)
Detection: Find adjacent 1s (for SOP) or 0s (for POS) on the K-map not covered by a single loop.
Solution: Add the redundant prime implicant (consensus term) to bridge the adjacent cells.
Result: Circuit is no longer minimal, but is hazard-free.
Decoders and MUX Quick Reference
Summary
Decoders and MUX Quick Reference
1. Decoder Fundamentals
Function:n inputs →2n outputs.
Logic: Each output is a minterm of the inputs.
Enable: Must be active for any output to respond.
2. Multiplexer Fundamentals
Function:2n data inputs → 1 output.
Control:n select lines choose the data path.
Equation:Y=∑(mi⋅Ii).
3. Common Exam Patterns
Expansion: Use MSB to drive Enable lines of smaller blocks.
Polarity: Check for bubbles (Active Low) vs no bubbles (Active High).
Memory Interfacing: Address bits are subsets of the instruction word, selected by mode bits.
4. Key Distinction
Decoder: Activates a line (Device Selection).
MUX: Routes data (Data Selection).
MUX Realization Quick Reference
Quick Revision Checklist
1. Direct Realization (2n-to-1)
Connect n variables to n select lines.
Tie Ik=1 if mk exists, else $0$.
2. Optimized (2n−1-to-1)
Use Implementation Table for inputs.
Inputs ∈{0,1,MSB,MSB}.
Rule: (0,1) → MSB; (1,0) →MSB.
3. Critical Checks
Confirm MSB assignment to highest S line.
Solve cascaded MUX stage-by-stage.
Count external NOT gates for complements.
1 more card in this chapter
Try a question
Answer it here to see how it works. Nothing is recorded until you sign in.
Question 1
Level 1: Warm-up
Consider the following assertion about hazard types in combinational circuits: "A 2-level Sum-of-Products (SOP) implementation of any Boolean function can exhibit all three types of hazards: static-1, static-0, and dynamic." To test the validity of this assertion, determine how many of these three hazard types can actually occur in a 2-level SOP circuit.
Question 2
Level 1: Warm-up
Assertion (A): When implementing the function f(x,y,z)=∑m(0,1,3,4,5,6) using a 4-to-1 multiplexer with y and z as select lines, the data input I2 is connected to the variable x.
Reason (R): Minterm 2 (binary 010) is absent from the function, and minterm 6 (binary 110) is present, so the transition from 0 to 1 in the implementation table requires the MSB variable x.
Which of the following is correct?
Question 3
Level 1: Warm-up
Consider a combinational circuit implementing the Boolean function F=AB+A′C. A student analyzes this circuit and makes the following claim: "Since both product terms AB and A′C are essential prime implicants, the circuit is guaranteed to be hazard-free for all single-variable input transitions."
Which of the following statements correctly evaluates this claim?
Question 4
Level 1: Warm-up
A student claims that the Sum-of-Products (SOP) implementation of the Boolean function F=AB+A′C is already hazard-free for all single-variable input transitions. To verify and correct this claim, redundant prime implicants must be added to eliminate all static-1 hazards. How many additional AND gates are required to make this circuit completely hazard-free?
Question 5
Level 1: Warm-up
Consider a combinational circuit implementing the Boolean function F=AB+A′C in Sum-of-Products (SOP) form. A student analyzes this circuit for hazards and makes the following statements:
(A) The minimal SOP implementation is already hazard-free for all single-variable input transitions.
(B) To eliminate all static-1 hazards, a redundant prime implicant must be added to the expression.
(C) After adding the redundant prime implicant, the circuit remains minimal but becomes hazard-free.
(D) The consensus term BC can be added to eliminate the static-1 hazard when A transitions with B=C=1.
Which of the above statements are CORRECT?
Question 6
Level 1: Warm-up
When implementing an n-variable Boolean function using a 2n−1-to-1 multiplexer via the implementation table method, the data inputs are determined by comparing minterms from the top row (MSB=0) and bottom row (MSB=1). Which of the following matchings of table transitions to data input values are CORRECT?
Question 7
Level 1: Warm-up
When implementing an arbitrary n-variable Boolean function using a 2n−1-to-1 multiplexer via the implementation table method, the data inputs are determined by comparing minterms. What is the maximum number of external NOT gates that could ever be required to generate the necessary data inputs?
Question 8
Level 1: Warm-up
When identifying static-1 hazards in a Sum-of-Products circuit using a Karnaugh map, a hazard exists during a single-variable transition between two adjacent cells if:
Question 9
Level 1: Warm-up
Which of the following statements correctly identifies the condition for a Static-1 hazard on a Karnaugh map?
Question 10
Level 1: Warm-up
Consider the following statement: "When implementing a 3-variable Boolean function using a 4-to-1 multiplexer with the implementation table method, the data inputs can only be connected to logic 0 or logic 1."
Is this statement true or false?
Free preview ends here
Login to view the complete short notes
Creating an account is free. You get the rest of this chapter, step-by-step solutions, and a study plan built around the topics you are actually weak at.
Most platforms hand everyone the same content. Here the content moves with your performance, topic by topic.
Built around you, not around a syllabus PDF
Every answer you give moves your topic-level intelligence rate. The next question, the next revision card and tomorrow's plan all change with it.
Revision that hits your weak spots
We only revise topics you have actually attempted and are still below the safe bar on — never the same chapter on repeat.
Questions calibrated to the real exam
Each question carries a measured toughness. You are served a rung above your current level, so practice keeps stretching you.
Notes written for recall, not for volume
Full lesson cards for first study, curated short-note cards for the last mile — with derivations, traps and exam patterns marked.
One place for everything
Notes, chapter practice, previous-year questions, test series and full-length papers — all feeding one picture of your preparation.
Honest progress
No vanity streaks. Progress here means chapters mastered and accuracy that held up on harder questions.
Unlock the whole course
Full notes and short notes, the complete question bank with worked solutions, mock tests, full-length papers, and an adaptive plan that rebuilds itself as you improve.
Combinational Logic Circuits and Data Selectors Short Notes for GATE CS
Combinational Logic Circuits and Data Selectors short notes for GATE CS: 4 study cards covering concepts, formulas, shortcuts and exam traps, plus solved practice questions.
Hazards and Delays Quick Reference
Summary
Hazards and Delays Quick Reference
1. Timing Fundamentals
Propagation Delay (tpd): Time for input change to affect output.
Wire Delay: Assumed to be zero unless explicitly stated otherwise.
Total Path Delay: Sum of tpd of all gates in series along that path.
2. Hazard Classification
Static-1: Output should stay 1, glitches to 0. (SOP circuits)
Static-0: Output should stay 0, glitches to 1. (POS circuits)
Detection: Find adjacent 1s (for SOP) or 0s (for POS) on the K-map not covered by a single loop.
Solution: Add the redundant prime implicant (consensus term) to bridge the adjacent cells.
Result: Circuit is no longer minimal, but is hazard-free.
Decoders and MUX Quick Reference
Summary
Decoders and MUX Quick Reference
1. Decoder Fundamentals
Function:n inputs →2n outputs.
Logic: Each output is a minterm of the inputs.
Enable: Must be active for any output to respond.
2. Multiplexer Fundamentals
Function:2n data inputs → 1 output.
Control:n select lines choose the data path.
Equation:Y=∑(mi⋅Ii).
3. Common Exam Patterns
Expansion: Use MSB to drive Enable lines of smaller blocks.
Polarity: Check for bubbles (Active Low) vs no bubbles (Active High).
Memory Interfacing: Address bits are subsets of the instruction word, selected by mode bits.
4. Key Distinction
Decoder: Activates a line (Device Selection).
MUX: Routes data (Data Selection).
MUX Realization Quick Reference
Quick Revision Checklist
1. Direct Realization (2n-to-1)
Connect n variables to n select lines.
Tie Ik=1 if mk exists, else $0$.
2. Optimized (2n−1-to-1)
Use Implementation Table for inputs.
Inputs ∈{0,1,MSB,MSB}.
Rule: (0,1) → MSB; (1,0) →MSB.
3. Critical Checks
Confirm MSB assignment to highest S line.
Solve cascaded MUX stage-by-stage.
Count external NOT gates for complements.
Cascading Rules Quick Reference
Cascading Rules Quick Reference
1. MUX Cascading
4-to-1 from 2-to-1: Needs 3 units.
8-to-1 from 2-to-1: Needs 7 units.
Rule: An N-to-1 MUX requires N−1 units of 2-to-1 MUXes.
2. Decoder Cascading
Shared Inputs: Lower-order bits go to all chips.
Enable Control: Higher-order bits select the active chip via Enable pins.
Active-Low: A bubble on Enable means 0 activates the chip.
3. Hybrid Circuits
Solve Decoder outputs first (Minterms).
Substitute into MUX equation.
Final Tip: In a cascade, the LSB usually controls the first stage/layer, and the MSB controls the final selection.
Combinational Logic Circuits and Data Selectors: Solved Questions with Step-by-Step Explanations (10 Problems)
Question 1 · Digital LogicNAT
Consider the following assertion about hazard types in combinational circuits: "A 2-level Sum-of-Products (SOP) implementation of any Boolean function can exhibit all three types of hazards: static-1, static-0, and dynamic." To test the validity of this assertion, determine how many of these three hazard types can actually occur in a 2-level SOP circuit.
Correct Answer:
1.00
Step-by-Step Solution
Key idea: This is a hazard classification question testing which hazard types are possible in specific circuit structures. The assertion is invalid because not all hazard types can occur in all circuits.
Step 1: Recall hazard types and their circuit requirements:
Static-1 hazard: Output should stay 1, glitches to 0. Occurs in SOP circuits.
Static-0 hazard: Output should stay 0, glitches to 1. Occurs in POS circuits.
Dynamic hazard: Output changes multiple times before settling. Requires 3+ gate levels.
Step 2: Analyze the given circuit structure:
Circuit type: 2-level SOP (Sum-of-Products)
Gate levels: 2 (AND-OR structure)
Step 3: Check each hazard type:
Static-1 hazard: Possible in SOP circuits ✓
Static-0 hazard: Requires POS structure, NOT possible in SOP ✗
Dynamic hazard: Requires 3+ gate levels, NOT possible in 2-level circuit ✗
Step 4: Count possible hazards:
Only 1 out of 3 hazard types (static-1) can occur
The assertion is invalid
Answer: 1.00 hazard type can occur in a 2-level SOP circuit.
Question 2 · Digital LogicMCQ
Assertion (A): When implementing the function f(x,y,z)=∑m(0,1,3,4,5,6) using a 4-to-1 multiplexer with y and z as select lines, the data input I2 is connected to the variable x.
Reason (R): Minterm 2 (binary 010) is absent from the function, and minterm 6 (binary 110) is present, so the transition from 0 to 1 in the implementation table requires the MSB variable x.
Which of the following is correct?
A.
Both A and R are true and R is the correct explanation of A
B.
Both A and R are true but R is NOT the correct explanation of A
C.
A is true but R is false
D.
A is false but R is true
Correct Answer:
A
Step-by-Step Solution
Key idea: This is a construction problem testing the implementation table method with assertion-reason format.
Step 1: Verify Assertion (A):
Select lines: S1=y, S0=z
For I2: S1S0=10 (binary 2)
This corresponds to minterms where yz=10: minterm 2 (010) and minterm 6 (110)
Minterm 2 is absent (0), minterm 6 is present (1)
Implementation table: top=0, bottom=1 → input = MSB = x
Assertion A is True ✓
Step 2: Verify Reason (R):
Minterm 2 (010) is absent ✓
Minterm 6 (110) is present ✓
Transition 0→1 requires MSB variable x ✓
Reason R is True ✓
Step 3: Check if R explains A:
Yes, the absence of minterm 2 and presence of minterm 6 directly leads to I2=x
Answer: Both A and R are true, and R is the correct explanation of A (Option A)
Question 3 · Digital LogicMCQ
Consider a combinational circuit implementing the Boolean function F=AB+A′C. A student analyzes this circuit and makes the following claim: "Since both product terms AB and A′C are essential prime implicants, the circuit is guaranteed to be hazard-free for all single-variable input transitions."
Which of the following statements correctly evaluates this claim?
A.
The claim is valid; essential prime implicants ensure hazard-free operation
B.
The claim is invalid; a static-1 hazard exists when A transitions with B=C=1
C.
The claim is invalid; a static-0 hazard exists when B transitions with A=C=0
D.
The claim is valid; the function has no adjacent 1s on its Karnaugh map
Correct Answer:
B
Step-by-Step Solution
Key idea: Essential prime implicants do NOT guarantee hazard-free operation. Hazards occur when adjacent 1s on the K-map are not covered by the same prime implicant loop.
Step 1: Plot F=AB+A′C on a K-map with variables A,B,C:
AB covers minterms m6(110) and m7(111)
A′C covers minterms m1(001) and m3(011)
Step 2: Check for adjacent 1s from different prime implicants:
m3(A=0,B=1,C=1) and m7(A=1,B=1,C=1) are adjacent (differ only in A)
m3 is covered by A′C, m7 is covered by AB
These adjacent 1s are NOT in the same prime implicant loop
Step 3: Identify the hazard condition:
When B=C=1 and A transitions from 0 to 1 (or 1 to 0)
The circuit momentarily has no active product term
This creates a static-1 hazard (output should stay 1 but glitches to 0)
Step 4: Evaluate the student's claim:
The claim assumes essential prime implicants prevent hazards
This is an invalid assumption; hazard elimination requires adding redundant consensus terms
For this function, adding BC would eliminate the hazard
Answer: B - The claim is invalid; a static-1 hazard exists when A transitions with B=C=1.
Question 4 · Digital LogicNAT
A student claims that the Sum-of-Products (SOP) implementation of the Boolean function F=AB+A′C is already hazard-free for all single-variable input transitions. To verify and correct this claim, redundant prime implicants must be added to eliminate all static-1 hazards. How many additional AND gates are required to make this circuit completely hazard-free?
Correct Answer:
1.00
Step-by-Step Solution
Key idea: This is a hazard elimination question. The student's claim is invalid because essential prime implicants do not guarantee hazard-free operation. We need to identify adjacent 1s on the K-map not covered by the same prime implicant loop.
Step 1: Plot F=AB+A′C on a K-map with variables A,B,C:
AB covers minterms m6(110) and m7(111)
A′C covers minterms m1(001) and m3(011)
Step 2: Identify adjacent 1s from different prime implicants:
m3(A=0,B=1,C=1) and m7(A=1,B=1,C=1) are adjacent (differ only in A)
m3 is covered by A′C, m7 is covered by AB
These adjacent 1s are NOT in the same prime implicant loop
Step 3: Add redundant prime implicant to bridge the gap:
The consensus term for AB and A′C is BC
Adding BC covers both m3 and m7 in a single loop
This requires ONE additional AND gate to implement BC
Step 4: Verify the hazard is eliminated:
With F=AB+A′C+BC, when A transitions with B=C=1:
BC remains active during the transition
No glitch occurs
Answer: 1.00 additional AND gate is required.
Question 5 · Digital LogicMSQ
Consider a combinational circuit implementing the Boolean function F=AB+A′C in Sum-of-Products (SOP) form. A student analyzes this circuit for hazards and makes the following statements:
(A) The minimal SOP implementation is already hazard-free for all single-variable input transitions.
(B) To eliminate all static-1 hazards, a redundant prime implicant must be added to the expression.
(C) After adding the redundant prime implicant, the circuit remains minimal but becomes hazard-free.
(D) The consensus term BC can be added to eliminate the static-1 hazard when A transitions with B=C=1.
Which of the above statements are CORRECT?
A.
Statement (A) only
B.
Statements (B) and (D) only
C.
Statements (A) and (C) only
D.
Statements (B), (C), and (D)
Correct Answer:
["B"]
Step-by-Step Solution
Key idea: This is a hazard elimination question testing the understanding that minimal implementations are NOT necessarily hazard-free, and that adding redundant terms makes circuits hazard-free but no longer minimal.
Step 1: Analyze statement (A):
The function F=AB+A′C has prime implicants AB and A′C
Plot on K-map: AB covers m6,m7; A′C covers m1,m3
Adjacent 1s at m3(011) and m7(111) are NOT in the same loop
When A transitions with B=C=1, there's a static-1 hazard
Statement (A) is FALSE - minimal does NOT mean hazard-free
Step 2: Analyze statement (B):
To eliminate the hazard, we need to bridge the gap between m3 and m7
This requires adding a redundant prime implicant (consensus term)
Statement (B) is TRUE
Step 3: Analyze statement (C):
Adding redundant terms makes the circuit NO LONGER minimal
The trade-off is: hazard-free but not minimal
Statement (C) is FALSE - contradicts the fundamental trade-off
Step 4: Analyze statement (D):
The consensus of AB and A′C is BC (by consensus theorem)
Adding BC covers both m3 and m7 in one loop
This eliminates the static-1 hazard when A transitions with B=C=1
Statement (D) is TRUE
Step 5: Conclusion:
Correct statements: (B) and (D) only
Answer: Option B
Answer: Statements (B) and (D) only are correct.
Question 6 · Digital LogicMSQ
When implementing an n-variable Boolean function using a 2n−1-to-1 multiplexer via the implementation table method, the data inputs are determined by comparing minterms from the top row (MSB=0) and bottom row (MSB=1). Which of the following matchings of table transitions to data input values are CORRECT?
A.
Top = 0, Bottom = 0 ightarrow Logic 0
B.
Top = 0, Bottom = 1 ightarrow MSB variable
C.
Top = 1, Bottom = 0 ightarrow MSB variable
D.
Top = 1, Bottom = 1 ightarrow Logic 1
Correct Answer:
["A","B","D"]
Step-by-Step Solution
Key idea: This is a direct recall question on the implementation table boundary conditions. The data input depends on the transition from the top row (MSB=0) to the bottom row (MSB=1).
Step 1: Recall the rules for the implementation table.
(0, 0) → 0
(1, 1) → 1
(0, 1) → MSB variable (since it goes from 0 to 1 as MSB goes from 0 to 1)
(1, 0) → MSB' (since it goes from 1 to 0 as MSB goes from 0 to 1)
Step 2: Evaluate Option A. (0, 0) maps to Logic 0. (True)
Step 3: Evaluate Option B. (0, 1) maps to MSB variable. (True)
Step 4: Evaluate Option C. (1, 0) maps to MSB variable. (False, it maps to MSB')
Step 5: Evaluate Option D. (1, 1) maps to Logic 1. (True)
Answer: A, B, D
Question 7 · Digital LogicNAT
When implementing an arbitrary n-variable Boolean function using a 2n−1-to-1 multiplexer via the implementation table method, the data inputs are determined by comparing minterms. What is the maximum number of external NOT gates that could ever be required to generate the necessary data inputs?
Correct Answer:
1.00
Step-by-Step Solution
Key idea: This is a boundary condition question on the implementation table method. The data inputs for a 2n−1-to-1 MUX can only be 0, 1, the MSB variable, or the complement of the MSB variable.
Step 1: Recall the rules for the implementation table. The data inputs are determined by comparing the top row (MSB=0) and bottom row (MSB=1).
Step 2: The possible values for the data inputs are:
0 (if both are 0)
1 (if both are 1)
MSB variable (if top is 0, bottom is 1)
MSB' (if top is 1, bottom is 0)
Step 3: Notice that the only variable that ever appears is the MSB. We might need its complement (MSB'), but we never need the complement of any other variable.
Step 4: Therefore, the maximum number of external NOT gates required is exactly 1 (to generate MSB').
Answer: 1.00
Question 8 · Digital LogicMCQ
When identifying static-1 hazards in a Sum-of-Products circuit using a Karnaugh map, a hazard exists during a single-variable transition between two adjacent cells if:
A.
both cells contain 0 and are covered by the same prime implicant loop
B.
both cells contain 1 and are covered by the same prime implicant loop
C.
both cells contain 1 but are not covered by the same prime implicant loop
D.
both cells contain 0 but are not covered by the same prime implicant loop
Correct Answer:
C
Step-by-Step Solution
Key idea: Static-1 hazards occur when adjacent 1-cells are not covered by a common prime implicant.
Step 1: Recall the condition for static-1 hazards in SOP circuits:
Output should remain at 1 during transition
Both cells must contain 1
Step 2: Recall the hazard condition:
The two adjacent 1-cells must NOT be covered by the same prime implicant loop
Step 3: Combine conditions:
Both cells contain 1 AND are not in the same loop
Answer: Option C
Question 9 · Digital LogicMCQ
Which of the following statements correctly identifies the condition for a Static-1 hazard on a Karnaugh map?
A.
Two adjacent 0s not covered by the same prime implicant loop
B.
Any two 1s in the K-map that are not adjacent
C.
Two adjacent 1s not covered by the same prime implicant loop
D.
Two diagonally adjacent 1s not covered by the same loop
Correct Answer:
C
Step-by-Step Solution
Key idea: This is a bounding question where you must identify the exact constraints for a Static-1 hazard.
Step 1: Recall that Static-1 hazards occur in SOP circuits when the output should stay at 1 but briefly drops to 0.
Step 2: On a K-map, this happens when two adjacent 1s are not covered by the same prime implicant loop.
Step 3: The constraints are:
Must be 1s (not 0s)
Must be adjacent (not diagonal or non-adjacent)
Must not be in the same loop
Step 4: Match with the options.
Answer: Option C
Question 10 · Digital LogicMCQ
Consider the following statement: "When implementing a 3-variable Boolean function using a 4-to-1 multiplexer with the implementation table method, the data inputs can only be connected to logic 0 or logic 1."
Is this statement true or false?
A.
True, because only constants are needed
B.
False, because the MSB variable or its complement may be required
C.
True, because external gates are not allowed
D.
False, because all variables must appear on data inputs
Correct Answer:
B
Step-by-Step Solution
Key idea: This is a bounding question testing the implementation table method constraints.
Step 1: Recall the implementation table method for 2n−1-to-1 MUX.
Step 2: For a 3-variable function with a 4-to-1 MUX, 2 variables are select lines, and 1 variable (MSB) determines data inputs.
Step 3: Data inputs can be: 0, 1, MSB variable, or complement of MSB variable.
Step 4: The statement says "only 0 or 1", which is false because variables can appear.
Answer: False, because the MSB variable or its complement may be required (Option B)