Draw the Truth Table of a JK Flip-Flop

Draw the Truth Table of a JK Flip-Flop

Verified Sources
Nov 4, 2026

A JK flip-flop is described by its characteristic (truth) table, which specifies the next state Qn+1Q_{n+1} from the present state QnQ_n and inputs JJ and KK. The table is typically drawn for the combinations of J,KJ,K and the two possible present values of QnQ_n (i.e., Qn=0Q_n=0 or Qn=1Q_n=1). For a JK flip-flop: J=0,K=0J=0,K=0 holds QQ; J=1,K=0J=1,K=0 sets QQ; J=0,K=1J=0,K=1 resets QQ; and J=1,K=1J=1,K=1 toggles QQ.

To verify/derive the toggling row, use the fact that when J=K=1J=K=1 the flip-flop acts like a controlled inverter: if Qn=0Q_n=0 then Qn+1=1Q_{n+1}=1, and if Qn=1Q_n=1 then Qn+1=0Q_{n+1}=0.

Mermaid depiction of the “case” logic:

Step-by-step: draw the JK flip-flop truth (characteristic) table

  1. 1
    Step 1

    Write Qn+1Q_{n+1} as a function of present state QnQ_n and inputs J,KJ,K.

  2. 2
    Step 2

    Use columns: JJ, KK, QnQ_n, and Qn+1Q_{n+1}.

  3. 3
    Step 3

    When J=0J=0 and K=0K=0, the flip-flop is in the hold mode: Qn+1=QnQ_{n+1}=Q_n.

  4. 4
    Step 4

    When J=1J=1 and K=0K=0, the flip-flop is in the set mode: Qn+1=1Q_{n+1}=1 (independent of QnQ_n).

  5. 5
    Step 5

    When J=0J=0 and K=1K=1, the flip-flop is in the reset mode: Qn+1=0Q_{n+1}=0 (independent of QnQ_n).

  6. 6
    Step 6

    When J=1J=1 and K=1K=1, the flip-flop toggles: if Qn=0Q_n=0 then Qn+1=1Q_{n+1}=1, and if Qn=1Q_n=1 then Qn+1=0Q_{n+1}=0.

  7. 7
    Step 7

    You’ll end with 8 rows total (all combinations of J,KJ,K with Qn∈{0,1}Q_n\in\{0,1\}).

  8. 8
    Step 8

    Present the completed characteristic table as the “truth table” of the JK flip-flop’s state transition.

JK flip-flop truth/characteristic table

JJKKQnQ_nQn+1Q_{n+1}Mode
0000Hold
0011Hold
1001Set
1011Set
0100Reset
0110Reset
1101Toggle
1110Toggle

Hold and Set and Reset and Toggle are the four essential behaviors.

Mermaid view of toggle:

Pro Tip: quick mental rule for the 11 row

For J=1J=1 and K=1K=1, do not “set” or “reset”—instead invert the present state: Qn+1=Qn‾Q_{n+1} = \overline{Q_n} (toggle).

Common mistake: mixing up toggling vs set/reset

A frequent error is writing Qn+1=1Q_{n+1}=1 for J=K=1J=K=1. That is only the set case (J=1,K=0J=1,K=0). The J=K=1J=K=1 case must depend on QnQ_n and produce inversion.

(Optional) Next-state Boolean form

Many textbooks also express the next-state equation of a JK flip-flop as:

Qn+1=JoverlineQn+overlineKQnQ_{n+1} = J\\overline{Q_n} + \\overline{K}Q_n

This equation is consistent with the characteristic table:

  • if J=0,K=0J=0,K=0, then Qn+1=QnQ_{n+1}=Q_n (hold)
  • if J=1,K=0J=1,K=0, then Qn+1=1Q_{n+1}=1 (set)
  • if J=0,K=1J=0,K=1, then Qn+1=0Q_{n+1}=0 (reset)
  • if J=1,K=1J=1,K=1, then Qn+1=overlineQnQ_{n+1}=\\overline{Q_n} (toggle)

Key terms: Next state and Characteristic table and Present state.

Knowledge Check

Question 1 of 4
Q1Single choice

In a JK flip-flop, what is Qn+1Q_{n+1} when J=0J=0 and K=0K=0?