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
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 2
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 3
Level 1: Warm-up
Which of the following statements correctly identifies the condition for a Static-1 hazard on a Karnaugh map?
Question 4
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?
Question 5
Level 1: Warm-up
Which of the following statements correctly describes the possible values for data inputs when implementing an n-variable function using a 2n−1-to-1 multiplexer via the Implementation Table method?
Question 6
Level 1: Warm-up
A student claims that dynamic hazards can occur in 2-level logic circuits. According to the topic introduction, what is the minimum number of gate levels actually required for dynamic hazards to occur, contradicting this claim?
Question 7
Level 1: Warm-up
A combinational circuit exhibits momentary false outputs due to unequal propagation delays. Considering all possible hazard types (Static-1, Static-0, and Dynamic), what is the total number of distinct hazard categories?
Question 8
Level 1: Warm-up
Assertion (A): To select one of 32 words in a register file, 5 address bits are required.
Reason (R): The memory size is 32 bytes, and since each byte requires 1 address bit, 32 bytes require 5 bits.
Which of the following is correct?
Question 9
Level 1: Warm-up
A signal can travel from input A to output Y through two paths. Path 1 has 3 gates each of delay 2 ns. Path 2 has 2 gates each of delay 4 ns. What is the maximum propagation delay from A to Y?
Question 10
Level 1: Warm-up
Consider the following two statements about a timing analysis circuit where input A transitions at t = 0 and feeds through a NOT gate (delay 2 ns) and an AND gate (delay 3 ns) to an OR gate (delay 2 ns):
Assertion (A): The output Y experiences a static-1 hazard.
Reason (R): The hazard occurs because the NOT gate path (2 ns) and AND gate path (3 ns) have unequal propagation delays.
Which of the following is correct?
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 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 2 · 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 3 · 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 4 · 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)
Question 5 · Digital LogicMCQ
Which of the following statements correctly describes the possible values for data inputs when implementing an n-variable function using a 2n−1-to-1 multiplexer via the Implementation Table method?
A.
Any arbitrary boolean variable
B.
Only logic 0 or logic 1
C.
Logic 0, logic 1, the MSB variable, or its complement
D.
The LSB variable or its complement, but never a constant
Correct Answer:
C
Step-by-Step Solution
Key idea: This is a bounding question testing the constraints of the Implementation Table method.
Step 1: Recall the Implementation Table method for a 2n−1-to-1 MUX.
Step 2: The table compares the function values for MSB = 0 and MSB = 1.
Step 3: The possible outcomes for each column are:
(0, 0) → Logic 0
(1, 1) → Logic 1
(0, 1) → MSB variable
(1, 0) → Complement of MSB variable
Step 4: Match this with the options.
Answer: Logic 0, logic 1, the MSB variable, or its complement (Option C)
Question 6 · Digital LogicMCQ
A student claims that dynamic hazards can occur in 2-level logic circuits. According to the topic introduction, what is the minimum number of gate levels actually required for dynamic hazards to occur, contradicting this claim?
A.
1
B.
2
C.
3
D.
4
Correct Answer:
C
Step-by-Step Solution
Key idea: Dynamic hazards require multi-level circuits with at least 3 gate levels.
Step 1: Recall the definition from the topic introduction:
"Dynamic hazard: Common in multi-level logic circuits (3+ gate levels)"
Step 2: The student's claim: dynamic hazards in 2-level circuits
Step 3: The contradiction: dynamic hazards require at least 3 levels
Step 4: Minimum number of levels = 3
Answer: 3 (Option C)
Question 7 · Digital LogicMCQ
A combinational circuit exhibits momentary false outputs due to unequal propagation delays. Considering all possible hazard types (Static-1, Static-0, and Dynamic), what is the total number of distinct hazard categories?
A.
1
B.
2
C.
4
D.
3
Correct Answer:
D
Step-by-Step Solution
Key idea: This is a casework question asking you to count the distinct types of hazards.
Step 1: List all hazard types mentioned in the concept:
Static-1 hazard
Static-0 hazard
Dynamic hazard
Step 2: Count the total number of distinct categories.
Total = 3
Step 3: Match with the given options.
Answer: 3 (Option D)
Question 8 · Digital LogicMCQ
Assertion (A): To select one of 32 words in a register file, 5 address bits are required.
Reason (R): The memory size is 32 bytes, and since each byte requires 1 address bit, 32 bytes require 5 bits.
Which of the following is correct?
A.
Both A and R are true and R is the correct explanation of A
B.
A is true but R is false
C.
Both A and R are true but R is NOT the correct explanation of A
D.
A is false but R is true
Correct Answer:
B
Step-by-Step Solution
Key idea: This is an assertion-reason question testing the distinction between words and bytes in memory interfacing.
Step 1: Evaluate Assertion (A): To select 1 of 32 words, we need n bits where 2n=32. Thus, n=5. Assertion A is True.
Step 2: Evaluate Reason (R): R states the size is 32 bytes and each byte requires 1 bit. This is a unit mismatch. Address bits select words (or bytes, depending on addressing), but the calculation "32 bytes require 5 bits because each byte requires 1 bit" is logically false. The correct reasoning is 25=32 unique addresses.
Step 3: Conclusion: A is true, but R is false.
Answer: Option B
Question 9 · Digital LogicMCQ
A signal can travel from input A to output Y through two paths. Path 1 has 3 gates each of delay 2 ns. Path 2 has 2 gates each of delay 4 ns. What is the maximum propagation delay from A to Y?
A.
6 ns
B.
8 ns
C.
10 ns
D.
14 ns
Correct Answer:
B
Step-by-Step Solution
Key idea: Calculate the total delay for each path, then identify the maximum.
Step 1: Calculate delay for Path 1:
Path 1 delay = 3 gates × 2 ns/gate = 6 ns
Step 2: Calculate delay for Path 2:
Path 2 delay = 2 gates × 4 ns/gate = 8 ns
Step 3: Identify the maximum delay:
Max(6 ns, 8 ns) = 8 ns
Answer: 8 ns (Option B)
Question 10 · Digital LogicMCQ
Consider the following two statements about a timing analysis circuit where input A transitions at t = 0 and feeds through a NOT gate (delay 2 ns) and an AND gate (delay 3 ns) to an OR gate (delay 2 ns):
Assertion (A): The output Y experiences a static-1 hazard.
Reason (R): The hazard occurs because the NOT gate path (2 ns) and AND gate path (3 ns) have unequal propagation delays.
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: Analyze the timing to verify both the assertion and the reason.
Step 1: Trace the signal paths:
Path 1 (NOT): A changes at t=0, NOT output changes at t=2 ns
Path 2 (AND): A changes at t=0, AND output changes at t=3 ns
Step 2: Analyze OR gate output Y:
At t=0: Assume initial state Y=1
At t=2 ns: NOT output changes (1→0), AND output still 0, so Y=0
At t=3 ns: AND output changes (0→1), so Y=1
Y transitions: 1 → 0 → 1 (glitch)
Step 3: Verify Assertion (A):
Y should stay at 1 but glitches to 0 → Static-1 hazard ✓
Step 4: Verify Reason (R):
Unequal delays (2 ns vs 3 ns) cause the timing mismatch ✓
This unequal delay is why the glitch occurs ✓
Step 5: Check if R explains A:
Yes, the unequal delays directly cause the hazard
Answer: Both A and R are true, and R correctly explains A (Option A)