chapter

    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 (): Time for input change to affect output.
    • Wire Delay: Assumed to be zero unless explicitly stated otherwise.
    • Total Path Delay: Sum of 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)
    • Dynamic: Output changes multiple times (e.g., 0 1 0 1). (Multi-level circuits)

    3. Hazard Elimination Strategy

    • 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: inputs outputs.
    • Logic: Each output is a minterm of the inputs.
    • Enable: Must be active for any output to respond.

    2. Multiplexer Fundamentals

    • Function: data inputs 1 output.
    • Control: select lines choose the data path.
    • Equation: .

    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 (-to-1)
    • Connect variables to select lines.
    • Tie if exists, else $0$.
    2. Optimized (-to-1)
    • Use Implementation Table for inputs.
    • Inputs .
    • Rule: (0,1) MSB; (1,0) .
    3. Critical Checks
    • Confirm MSB assignment to highest 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 using a 4-to-1 multiplexer with and as select lines, the data input is connected to the variable .

    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 .

    Which of the following is correct?

    Question 3
    Level 1: Warm-up

    Consider a combinational circuit implementing the Boolean function . A student analyzes this circuit and makes the following claim: "Since both product terms and 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 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 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 can be added to eliminate the static-1 hazard when transitions with .

    Which of the above statements are CORRECT?

    Question 6
    Level 1: Warm-up

    When implementing an -variable Boolean function using a -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 -variable Boolean function using a -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.

    Explore complete test series, official past papers, and chapter-wise study tools.

    Why MastersUp

    Personalised first. High quality throughout.

    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 (): Time for input change to affect output.
    • Wire Delay: Assumed to be zero unless explicitly stated otherwise.
    • Total Path Delay: Sum of 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)
    • Dynamic: Output changes multiple times (e.g., 0 1 0 1). (Multi-level circuits)

    3. Hazard Elimination Strategy

    • 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: inputs outputs.
    • Logic: Each output is a minterm of the inputs.
    • Enable: Must be active for any output to respond.

    2. Multiplexer Fundamentals

    • Function: data inputs 1 output.
    • Control: select lines choose the data path.
    • Equation: .

    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 (-to-1)
    • Connect variables to select lines.
    • Tie if exists, else $0$.
    2. Optimized (-to-1)
    • Use Implementation Table for inputs.
    • Inputs .
    • Rule: (0,1) MSB; (1,0) .
    3. Critical Checks
    • Confirm MSB assignment to highest 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 -to-1 MUX requires 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 Logic NAT

    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 Logic MCQ

    Assertion (A): When implementing the function using a 4-to-1 multiplexer with and as select lines, the data input is connected to the variable .

    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 .

    Which of the following is correct?

    1. A.

      Both A and R are true and R is the correct explanation of A

    2. B.

      Both A and R are true but R is NOT the correct explanation of A

    3. C.

      A is true but R is false

    4. 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: ,
    • For : (binary 2)
    • This corresponds to minterms where : 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 =
    • 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 ✓
    • 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

    Answer: Both A and R are true, and R is the correct explanation of A (Option A)

    Question 3 · Digital Logic MCQ

    Consider a combinational circuit implementing the Boolean function . A student analyzes this circuit and makes the following claim: "Since both product terms and 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?

    1. A.

      The claim is valid; essential prime implicants ensure hazard-free operation

    2. B.

      The claim is invalid; a static-1 hazard exists when transitions with

    3. C.

      The claim is invalid; a static-0 hazard exists when transitions with

    4. 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 on a K-map with variables :

    • covers minterms and
    • covers minterms and

    Step 2: Check for adjacent 1s from different prime implicants:

    • and are adjacent (differ only in )
    • is covered by , is covered by
    • These adjacent 1s are NOT in the same prime implicant loop

    Step 3: Identify the hazard condition:

    • When and 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 would eliminate the hazard

    Answer: B - The claim is invalid; a static-1 hazard exists when transitions with .

    Question 4 · Digital Logic NAT

    A student claims that the Sum-of-Products (SOP) implementation of the Boolean function 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 on a K-map with variables :

    • covers minterms and
    • covers minterms and

    Step 2: Identify adjacent 1s from different prime implicants:

    • and are adjacent (differ only in )
    • is covered by , is covered by
    • 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 and is
    • Adding covers both and in a single loop
    • This requires ONE additional AND gate to implement

    Step 4: Verify the hazard is eliminated:

    • With , when transitions with :
    • remains active during the transition
    • No glitch occurs

    Answer: 1.00 additional AND gate is required.

    Question 5 · Digital Logic MSQ

    Consider a combinational circuit implementing the Boolean function 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 can be added to eliminate the static-1 hazard when transitions with .

    Which of the above statements are CORRECT?

    1. A.

      Statement (A) only

    2. B.

      Statements (B) and (D) only

    3. C.

      Statements (A) and (C) only

    4. 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 has prime implicants and
    • Plot on K-map: covers ; covers
    • Adjacent 1s at and are NOT in the same loop
    • When transitions with , 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 and
    • 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 and is (by consensus theorem)
    • Adding covers both and in one loop
    • This eliminates the static-1 hazard when transitions with
    • 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 Logic MSQ

    When implementing an -variable Boolean function using a -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?

    1. A.

      Top = 0, Bottom = 0 Logic 0

    2. B.

      Top = 0, Bottom = 1 MSB variable

    3. C.

      Top = 1, Bottom = 0 MSB variable

    4. D.

      Top = 1, Bottom = 1 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 Logic NAT

    When implementing an arbitrary -variable Boolean function using a -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 -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 Logic MCQ

    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:

    1. A.

      both cells contain 0 and are covered by the same prime implicant loop

    2. B.

      both cells contain 1 and are covered by the same prime implicant loop

    3. C.

      both cells contain 1 but are not covered by the same prime implicant loop

    4. 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 Logic MCQ

    Which of the following statements correctly identifies the condition for a Static-1 hazard on a Karnaugh map?

    1. A.

      Two adjacent 0s not covered by the same prime implicant loop

    2. B.

      Any two 1s in the K-map that are not adjacent

    3. C.

      Two adjacent 1s not covered by the same prime implicant loop

    4. 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 Logic MCQ

    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?

    1. A.

      True, because only constants are needed

    2. B.

      False, because the MSB variable or its complement may be required

    3. C.

      True, because external gates are not allowed

    4. 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 -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)

    More short notes in this unit