Skip to content
GATEiit

GATE CSE 2026 Session 1 Q37: D flip-flop inputs for a 2-bit saturating up/down counter

Question

Consider a 2-bit saturating up/down counter that performs the saturating up count when the input P is 0, and the saturating down count when P is 1. The Next State table of the counter is as shown. The counter is built as a synchronous sequential circuit using D flip-flops.

Input PPCurrent Q1Q_1Current Q0Q_0Next Q1+Q_1^+Next Q0+Q_0^+
00001
00110
01011
01111
10000
10100
11001
11110

Which one of the following options corresponds to the expressions for the inputs of the D flip-flops, D1D_1 and D0D_0?

Try it: multiple choice: exactly one correct option

Select one option
Wrong answer costs 2/3 mark in GATE.
Show answer and explanation

Answer: B (official GATE 2026 final answer key)

Concept used: For D flip-flops, Di=Qi+D_i = Q_i^+; minimise each next-state column with a K-map in P,Q1,Q0P, Q_1, Q_0.

First step: Read the minterms where Q1+=1Q_1^+ = 1: (PQ1Q0)=001,010,011,111(P Q_1 Q_0) = 001, 010, 011, 111, and test each option's D1D_1 against them.

Full step-by-step solution

Detailed working, common mistakes and linked mock tests will be available with a free GATEiit account. Log-in is coming soon.

Share this question

WhatsAppDownload image

Source: official GATE 2026 Session 1 CS question paper and final answer key, organised by IIT Guwahati. Question paper · Answer key