GATE Computer ScienceVery hardGATE CS (PYQ pattern)
A 4-bit asynchronous (ripple) up-counter has its clear inputs driven by a NAND gate whose inputs are Q3, Q1 and Q0 (active-low asynchronous clear). The input clock has frequency f. Ignoring the very short reset glitch, the Q3 output has frequency and duty cycle (fraction of the period spent high) of
- A. f/11 and 3/11 (about 27%)
- B. f/11 and 50% (square wave)
- C. f/12 and 1/4 (25%)
- D. f/10 and 3/10 (30%)
Correct answer: A. f/11 and 3/11 (about 27%)
The first state with Q3 = Q1 = Q0 = 1 is 1011 (11), which clears the counter at once, so the stable sequence is 0 to 10 (modulus 11). Q3 is high only for counts 8, 9, 10, i.e. 3 of 11 clock periods; the output is not a square wave.
More Digital Logic questions
- A 6-bit ring counter (right shift, the last flip-flop's output fed back to the first) has no self-correcting logic, so all 64 states…
- A 5-bit Johnson (twisted-ring) counter shifts right and feeds the complement of the last flip-flop back to the first, with no…
- A 6-bit Johnson (twisted-ring) counter (right shift, complement of the last stage fed back to the first) has no self-correcting logic. How…
- A 4-bit register Q3Q2Q1Q0 shifts right every clock; the new value of Q3 is Q3 ⊕ Q1 (Q2 takes the old Q3, and so on). Of the 16 possible…
- A 4-bit register Q3Q2Q1Q0 shifts right on every clock (Q2 ← Q3, Q1 ← Q2, Q0 ← Q1) while the new Q3 = Q3 ⊕ Q1 (old values). It starts at…
- A 5-bit right-shifting register has a new Q4 equal to Q4 ⊕ Q0. What is the length of its longest cycle of states?