edited by
21,023 views
66 66 votes

A positive edge-triggered $D$ flip-flop is connected to a positive edge-triggered $JK$ flip-flop as follows. The $Q$ output of the $D$ flip-flop is connected to both the $J$ and $K$ inputs of the $JK$ flip-flop, while the $Q$ output of the $JK$ flip-flop is connected to the input of the $D$ flip-flop. Initially, the output of the $D$ flip-flop is set to logic one and the output of the $JK$ flip-flop is cleared. Which one of the following is the bit sequence (including the initial state) generated at the $Q$ output of the $JK$ flip-flop when the flip-flops are connected to a free-running common clock? Assume that $J = K = 1$ is the toggle mode and $J = K = 0$ is the state holding mode of the $JK$ flip-flops. Both the flip-flops have non-zero propagation delays.

  1. $0110110\ldots$
  2. $0100100\ldots$
  3. $011101110\ldots$
  4. $011001100\ldots$

12 Answers

Best answer
57 57 votes
$${\begin{array}{|c|c|c|l|}\hline
\bf{Q_{prev}}&    \textbf{D}&  \textbf{Q(JK)}&\bf{Explanation} \\\hline
\text{-}&1&0&\text{Now, the D output is 1, meaning J and K = 1; for next cycle} \\\hline 0&0&1& \text{J = K = 1(D output from prev state), so output toggles from 0 to 1} \\ \hline    1&1&1&\text{J = K = 0, so output remains 1} \\ \hline   1&1&0& \text{J = K = 0, so output remains 1} \\ \hline   0&0&1& \text{J = K = 1, so output toggles from 0 to 1}\\ \hline   1&1&1& \text{J = K = 0, so output remains 1}  \\ \hline    
\end{array}}$$
$\text{D}$ flipflop output will be same as its input and $\text{JK}$ flipflop output toggles when $1$ is given to both $\text{J}$ and $\text{K}$ inputs.
i.e., $Q = D_{\text{prev}}({Q_{\text{prev}}}') + ({D_{\text{prev}}}')Q_{\text{prev}}$

Correct Answer: $A$
edited by
23 23 votes

Correct option: A

5 5 votes

$Q_{1}^+ =\mathbf{D}=Q_2, \ Q_{2}^+ = \mathbf{JQ_2'+K'Q_2}= Q_1Q_2'+Q_1'Q_2=Q_1\oplus Q_2$
 

$$\begin{array}{|c|c|c|c|} \hline \bf{Q_1} & \bf {Q_2}& \bf {Q_1^+=Q_2} &  \bf{Q_2^+=Q_1\oplus Q_2 }\\\hline1&0&0&1\\ 0&1&1&1\\1&1&1&0\\ 0&0&0&0\\\hline\end{array}$$

$Q_1$ $Q_2$ $:10\rightarrow01\rightarrow11\rightarrow10$

Which one of the following is the bit sequence (including the initial state) generated at the Q output of the JK flip-flop

$011011011....$

Correct Answer (A)

Answer:
Position:
Show:

Related questions

64 64 votes
8 answers 8 answers
32.2k
32.2k views
Misbah Ghaya asked Feb 12, 2015
32,167 views
Consider a $4$-bit Johnson counter with an initial value of $0000.$ The counting sequence of this counter is $0, 1, 3, 7, 15, 14, 12, 8, 0$$0, 1, 3, 5, 7, 9, 11, 13, 15, ...
97 97 votes
9 answers 9 answers
44.0k
44.0k views
Misbah Ghaya asked Feb 13, 2015
44,022 views
The least number of temporary variables required to create a three-address code in static single assignment form for the expression $q + r / 3 + s - t * 5 + u * v/w$ is_...
55 55 votes
12 answers 12 answers
36.5k
36.5k views
Misbah Ghaya asked Feb 13, 2015
36,453 views
Let G be a connected planar graph with $10$ vertices. If the number of edges on each face is three, then the number of edges in G is_______________.
57 57 votes
12 answers 12 answers
40.1k
40.1k views
Misbah Ghaya asked Feb 13, 2015
40,105 views
Suppose that the stop-and-wait protocol is used on a link with a bit rate of $64$ $\text{kilobits}$ per second and $20$ $\text{milliseconds}$ propagation delay. Assume th...