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

    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 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 -variable function using a -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.

    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 .
    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 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 2 · 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 3 · 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 4 · 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)

    Question 5 · Digital Logic MCQ

    Which of the following statements correctly describes the possible values for data inputs when implementing an -variable function using a -to-1 multiplexer via the Implementation Table method?

    1. A.

      Any arbitrary boolean variable

    2. B.

      Only logic 0 or logic 1

    3. C.

      Logic 0, logic 1, the MSB variable, or its complement

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

    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?

    1. A.

      1

    2. B.

      2

    3. C.

      3

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

    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?

    1. A.

      1

    2. B.

      2

    3. C.

      4

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

    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?

    1. A.

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

    2. B.

      A is true but R is false

    3. C.

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

    4. 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 bits where . Thus, . 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 unique addresses.

    Step 3: Conclusion: A is true, but R is false.

    Answer: Option B

    Question 9 · Digital Logic MCQ

    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?

    1. A.

      6 ns

    2. B.

      8 ns

    3. C.

      10 ns

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

    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?

    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: 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)

    More short notes in this unit