chapter
    Digital Logic Notes for GATE CS

    GATE CS Digital Logic: 1 units and 4 chapters, weightage from 33 previous year questions across 10 papers, a study order by exam weight and 537 practice quest

    A question from this chapter

    Question 1
    Level 1: Warm-up

    Assertion (A): In a 4-bit 2's complement system, adding and does not result in an overflow.

    Reason (R): The addition produces a carry out of 1 from the most significant bit, which indicates an overflow in signed arithmetic.

    Question 2
    Level 1: Warm-up

    Assertion (A): For a 3-variable function , if the sum-of-minterms is , then the product-of-maxterms is .

    Reason (R): The arithmetic sum of the minterm indices and the maxterm indices equals the total number of rows in the truth table, which is .

    Question 3
    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 4
    Level 1: Warm-up

    An SR flip-flop has two inputs and . One specific input combination is invalid (undefined output). What is the number of valid input combinations for the SR flip-flop?

    Free preview ends here

    Login to view the complete 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.

    Digital Logic Notes for GATE CS

    GATE CS Digital Logic: 1 units and 4 chapters, weightage from 33 previous year questions across 10 papers, a study order by exam weight and 537 practice questions.

    About Digital Logic Notes

    Full study notes for Digital Logic in GATE CS, organised across 4 chapters. Each chapter page explains concepts from the basics with worked examples and the formulas you need.

    GATE CS Digital Logic Unit-wise Weightage from Past Papers

    We counted every GATE CS Digital Logic previous year question in our bank (33 questions from 10 papers) and grouped them by unit.

    UnitChaptersPYQsShare of sectionAvg per paper
    Digital Logic433100%3.3

    Suggested Digital Logic Study Order for GATE CS

    1. Digital Logic: 100% of past Digital Logic questions, about 3.3 per paper.

    Start where the marks are. Units at the top of this list have appeared most often in past GATE CS papers.

    Units in GATE CS Digital Logic

    All Digital Logic chapters

    One Solved Question from Each Digital Logic Chapter

    Question 1 · Number Systems, Binary Arithmetic and Data Representation MCQ

    Assertion (A): In a 4-bit 2's complement system, adding and does not result in an overflow.

    Reason (R): The addition produces a carry out of 1 from the most significant bit, which indicates an overflow in signed arithmetic.

    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:

    C

    Step-by-Step Solution

    Key idea: This is a construction question testing the precise definition of overflow and the common trap of confusing carry-out with overflow.

    Step 1: Evaluate Assertion (A). , .

    Step 2: Add them: . Discard the carry out. The 4-bit result is , which is .

    Step 3: Since is within the 4-bit range , no overflow occurred. Assertion (A) is TRUE.

    Step 4: Evaluate Reason (R). The addition does produce a carry out of 1. However, in signed 2's complement arithmetic, a carry out does NOT indicate overflow. Overflow is determined by the sign bits or XOR of carries. Thus, Reason (R) is FALSE.

    Answer: A is true, but R is false.

    Question 2 · Boolean Algebra, Canonical Forms and Logic Minimization MCQ

    Assertion (A): For a 3-variable function , if the sum-of-minterms is , then the product-of-maxterms is .

    Reason (R): The arithmetic sum of the minterm indices and the maxterm indices equals the total number of rows in the truth table, which is .

    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: Verify the mathematical truth of the Assertion, then check the Reason for conceptual and arithmetic accuracy.

    Step 1: Evaluate Assertion (A). For a 3-variable function, there are total rows (0 to 7). The minterm indices are . The maxterm indices must be the complement set: . Assertion (A) is TRUE.

    Step 2: Evaluate Reason (R). The reason claims the "arithmetic sum" of the indices equals 8. Let's calculate the arithmetic sum: .

    Step 3: The arithmetic sum is 28, not 8. The correct concept is that the <i>union of the sets</i> of indices contains exactly 8 elements. Reason (R) is FALSE due to a unit mismatch (confusing set union size with arithmetic sum).

    Answer: B

    Question 3 · Combinational Logic Circuits and Data Selectors 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 4 · Flip-Flops, Counters and Finite State Machines MCQ

    An SR flip-flop has two inputs and . One specific input combination is invalid (undefined output). What is the number of valid input combinations for the SR flip-flop?

    1. A.

      2

    2. B.

      3

    3. C.

      4

    4. D.

      5

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: This is a direct recall of the SR flip-flop characteristic table.

    Step 1: An SR flip-flop has two binary inputs, and . The total number of input combinations is : namely .

    Step 2: From the characteristic table:

    • : Hold (valid)
    • : Reset (valid)
    • : Set (valid)
    • : Undefined / Invalid

    Step 3: Excluding the one invalid combination , the number of valid combinations is .

    Answer: B