GATE Computer ScienceVery hardGATE CSE
A 3-bit synchronous circuit of D flip-flops has D2 = Q1, D1 = Q0 ⊕ Q2, D0 = NOT(Q2 · Q1). Starting from Q2Q1Q0 = 010, how many distinct states are visited before the state sequence first repeats a state (counting the initial state), and what is the length of the eventual cycle?
- A. 6 states, cycle length 6
- B. 7 states, cycle length 3
- C. 5 states, cycle length 4
- D. 6 states, cycle length 3
Correct answer: D. 6 states, cycle length 3
Sequence: 010 → 101 → 001 → 011 → 111 → 100 → 011 (repeat); 6 distinct states, cycle of length 3.
More Digital Logic questions
- A Mealy machine has states A–G with (next state / output) entries for inputs 0 and 1: A: B/0, C/0; B: A/0, D/0; C: E/0, F/1; D: E/0, F/1…
- F(A,B,C,D) = A·C' + B·C + A'·C·D is implemented as a two-level AND–OR circuit with exactly these three product terms. Considering…
- F(A,B,C,D) = Σm(0, 1, 2, 5, 6, 7, 8, 9, 10, 14) + d(3, 12, 15). A minimal product-of-sums realisation (fewest total literals, using…
- The 5-variable symmetric function F(A,B,C,D,E) equals 1 exactly when the number of inputs equal to 1 is 1, 2 or 4. How many prime…
- How many distinct Boolean functions can be obtained from F(x,y,z) = x·y' + x'·y·z by permuting the three inputs and/or complementing any…
- A 4-bit Johnson (twisted-ring) counter is built with D1 = NOT Q4, D2 = Q1, D3 = Q2, D4 = Q3, with no self-correction logic. Considering…