Logic circuits

What does a JK flip-flop do when a clock edge arrives with J = 1 and K = 1?

  1. AThe output inverts (toggles)
  2. BThe output is reset to 0
  3. CThe output is held
Show answer and explanation

Answer: A. The output inverts (toggles)

A JK flip-flop sets with J = 1, K = 0, resets with J = 0, K = 1, holds with J = K = 0, and toggles with J = K = 1. It gives meaning ("toggle") to the S = R = 1 input forbidden in an SR flip-flop, with next state Q⁺ = J·¬Q + ¬K·Q. Tying J and K together as a single input T makes a T flip-flop, which toggles when T = 1 and is used in counters. Practical designs mainly use D flip-flops.

  • A. Correct. With J = K = 1 the output toggles.
  • B. Reset occurs with J = 0, K = 1.
  • C. Hold occurs with J = K = 0.

Related calculators

Books on Logic circuits Ad

Learn hands-on: parts and kits

Building real circuits is a good way to check what you learned in the questions.

As an Amazon Associate I earn from qualifying purchases.

More Logic circuits questions

  1. A T flip-flop whose output toggles on every active clock edge produces an output at what multiple of the clock frequency?
  2. Which circuit outputs, in binary, the number of the highest-priority input when several inputs are 1 at the same time?
  3. What is the drawback of a ripple-carry adder made by chaining full adders?
  4. Which correctly describes the hold time of a flip-flop?
  5. Which correctly describes clock skew in a synchronous circuit?

Comparisons in this topic