edited by
52,279 views
113 113 votes
The minimum number of $\text{JK}$ flip-flops required to construct a synchronous counter with the count sequence $(0, 0, 1, 1, 2, 2, 3, 3, 0, 0, \ldots)$ is _______.

11 Answers

Best answer
250 250 votes
First, lets design a counter for $0, 1, 2, 3$. It is a MOD - $4$ counter. Hence, number of Flip Flops required will be two. Count sequence will be:

$00 \to 01 \to 10 \to 11$
 
Count sequence mentioned in question is:

$00 \to 00 \to 01 \to 01 \to 10 \to 10 \to 11 \to 11$
 
Now, two flip flops won't suffice. Since we are confronted with repeated sequence, we may add another bit to the above sequence:

$000 \to 100 \to 001 \to 101 \to 010 \to 110 \to 011 \to 111$
 
Now each and every count is unique, occurring only once. Meanwhile, our machine has been extended to a MOD - $8$ counter. Hence, three Flip Flops suffice.

Just neglect the MSB flip flop output and take the o/p of other two only. So, we have :

$0,0,1,1,2,2,3,3,\ldots$

So, correct answer: $3.$
edited by
56 56 votes
People are asking for explaination , I am not giving full solution but an approach how to handle these kind of questions .

First for creating  counter for any sequence we need to identify the states .

Lets say we are taking a sequence of 0-1-2-3 then the states of flip flop (counter design) will be (ff1-ff0) 00->01->10->11-> , only 2 flipflop will be sufficient to give output in 2 bits.

but for the above sequence as you see there are two digits of same kind  0,0,1,1,2,2,3,3 , for which binary values will be 00,00,01,01,10,10,11,11 we cant diffrenciate first 00 from 2nd 00 or third 01 from fourth 01 using only 2 bits so we will add 3rd bit as follow

000,100,001,101,010,110,011,111 here if you see i have just added one extra bit and we can now differenciate between each number seperately , if we made a counter for this sequence and take output of only  first two flipflops (ff1,ff0) from (ff2,ff1,ff0) then our sequence is realized.

 

(PS for futher clearance on the topic refer Morris Mano book )
10 10 votes

Here it appears to have 8 discrete states. That requires 3 bits, therefore 3 flip-flops. From inspection, there are 4 groups of 2 identical bits per group. I'd break that down to into a divide by two (1 flip-flop) followed by a divide by four (2 flip-flops).

4 4 votes
question is slightly ambigus.the thing is we can get sequence 0,0,1,1,2,2,3,3, by 2 FF.

how?

the o/p of the FF will be sampled at twice the i/p clock frequency.

e.g. let my FF retains a state for 2 seconds and i sample o/p at 1 second interval.

and this is quite possible.

and other cases users have already discussed
4 4 votes

Found something interesting. Guys at MadeEasy were able to do this with 2 flip flops using an additional clock.

Although I would like to clarify that the answer in the official sheet is 3.

 MadeEasy answer

Answer:
Position:
Show:

Related questions

155 155 votes
14 14 answers
111k
111k views
go_editor asked Feb 13, 2015
111,119 views
A half adder is implemented with XOR and AND gates. A full adder is implemented with two half adders and one OR gate. The propagation delay of an XOR gate is twice that o...
76 76 votes
15 answers 15 answers
35.5k
35.5k views
go_editor asked Feb 12, 2015
35,538 views
The number of min-terms after minimizing the following Boolean expression is _______.$[D'+AB'+A'C+AC'D+A'C'D]'$
54 54 votes
5 answers 5 answers
13.5k
13.5k views
go_editor asked Feb 13, 2015
13,522 views
Let $X$ and $Y$ denote the sets containing $2$ and $20$ distinct objects respectively and $F$ denote the set of all possible functions defined from $X$ to $Y$. Let $f$ be...
46 46 votes
6 answers 6 answers
23.8k
23.8k views
go_editor asked Feb 13, 2015
23,772 views
The number of states in the minimal deterministic finite automaton corresponding to the regular expression $(0+1)^* (10)$ is _____.