GATE Computer ScienceEasyGATE CS (PYQ pattern)
A 5-bit Johnson counter Q4Q3Q2Q1Q0 shifts right (Q3 ← Q4, …, Q0 ← Q1) with Q4 ← Q0' and starts at 00000. Each of its 10 states is decoded by one 2-input AND gate. Which inputs decode the states 11100 and 00000 respectively?
- A. Q4·Q2 and Q4'·Q3'
- B. Q2·Q1' and Q1'·Q0'
- C. Q2·Q1' and Q4'·Q0'
- D. Q3·Q1' and Q4'·Q0'
Correct answer: C. Q2·Q1' and Q4'·Q0'
Sequence: 00000, 10000, 11000, 11100, 11110, 11111, 01111, 00111, 00011, 00001. Every state has a single 1→0 (or 0→1) boundary, and two adjacent bits at that boundary identify it: 11100 is the only state with Q2 = 1, Q1 = 0. The all-0 and all-1 states have no internal boundary and use the end bits: 00000 is the only state with Q4 = 0 and Q0 = 0. Q1'·Q0' is also true for 10000, 11000 and 11100.
More Digital Logic questions
- Flip-flops FF1 and FF2 form a loop: logic of 4.0 ns (max) from FF1 to FF2 and 3.2 ns (max) from FF2 back to FF1. Clock-to-Q is 1.1 ns and…
- A 4-bit ring counter FF0 → FF1 → FF2 → FF3 → FF0 has no logic between flip-flops. Clock-to-Q is 0.4 ns (min) to 0.6 ns (max), setup 0.2…
- A chain of seven logic blocks with delays 1.5, 2.0, 1.0, 2.5, 1.0, 1.5 and 0.5 ns (in this order) is to be cut into three pipeline stages…
- A decimal code is self-complementing if inverting all four bits of the code for digit d gives the code for 9 − d. Which of the following…
- F(A,B,C,D) = Σm(0,2,5,6,7,8,9,11,13,14). What is the number of literals in the minimal product-of-sums (POS) expression of F?
- Segment g of a BCD-to-seven-segment decoder (inputs A B C D, codes 10-15 don't-care) is on for digits 2, 3, 4, 5, 6, 8, 9, and is…