GATE CS 2015 Set 1 — Question 21
Go beyond PYQs with Success TrackerAI-powered personalised practice and doubt support. Unlimited practice on eligible plans; AI usage limits apply.MCQ+1 / -0.33MediumCounters (Sync, Async)Sequential CircuitsDigital Logic
Digital Logic → Sequential Circuits → Counters (Sync, Async)
Last updated
Question
Consider a 4-bit Johnson counter with an initial value of 0000. The counting sequence of this counter is
Correct answer
(D) 0, 8, 12, 14, 15, 7, 3, 1, 0
Solution
A 4-bit Johnson counter (also known as a twisted ring counter) operates by shifting bits and feeding the complement of the last bit back into the first bit. Assuming a right-shift operation:
1.Initial state: 0000 (Decimal 0)
2.Complement of last bit (0) is 1. Shift right and feed 1 to MSB: 1000 (Decimal 8)
3.Complement of last bit (0) is 1. Shift right and feed 1 to MSB: 1100 (Decimal 12)
4.Complement of last bit (0) is 1. Shift right and feed 1 to MSB: 1110 (Decimal 14)
5.Complement of last bit (0) is 1. Shift right and feed 1 to MSB: 1111 (Decimal 15)
6.Complement of last bit (1) is 0. Shift right and feed 0 to MSB: 0111 (Decimal 7)
7.Complement of last bit (1) is 0. Shift right and feed 0 to MSB: 0011 (Decimal 3)
8.Complement of last bit (1) is 0. Shift right and feed 0 to MSB: 0001 (Decimal 1)
9.Complement of last bit (1) is 0. Shift right and feed 0 to MSB: 0000 (Decimal 0)
The sequence is 0, 8, 12, 14, 15, 7, 3, 1, 0. This matches option (D).Continue learning with Success Tracker
A step still unclear? Work through it with support
Use Success Tracker to ask about the reasoning, then try another GATE CS question to check your understanding.
AI-powered practice· Unlimited practice on eligible plans
- PYQs with solutions
- Attempt available previous-year questions, then compare your reasoning with the worked solution. Coverage varies by stream.
- Practice that adapts
- Choose a topic, work on weaker areas and bookmark questions to revisit. Your attempts feed your progress tracking.
- AI doubt support
- Ask follow-up questions about a step or concept while practising, instead of stopping at the final answer.
Unlimited practice is available on eligible plans. Free practice and AI usage have limits; check the current plan allowances before choosing.
This page stays readable without an account. AI responses can be wrong; check them against the solution and source material.
More questions on Sequential Circuits
2026 Set 2 Q16Which one of the following options is not a property of Boolean Algebra? Note: is OR…2026 Set 1 Q21Consider the following Boolean expression of a function :…2026 Set 1 Q22Consider the 8-bit signed integers and represented using the sign-magnitude form. The…2026 Set 2 Q28In a system, numbers are represented using 4-bit two’s complement form. Consider four numbers…2026 Set 2 Q34The 32-bit IEEE 754 single precision representation of a number is . The number…