Digital logic: gates, K-maps & flip-flops worksheet with answers

Free printable Digital logic: gates, K-maps & flip-flops worksheet: 6 problems from easy to exam level, with an answer key. Print it or save it as a PDF.

For teachers: free to print, copy and use in class. Every new worksheet has new values and its own answer key. A link to ExamProblems on your course page is appreciated.

Name: ____________________   Date: ____________

1.Easy
ABCN1N2G1G2F

For the logic circuit shown, how many of the 8 combinations of the inputs A, B and C give the output F = 1? Find N.

A, B, C → F
N =
2.Easy
A = 0B = 1C = 1N1G1G2F

The inputs of the logic circuit are A = 0, B = 1 and C = 1. Exactly one of its gates has the output 1. Click that gate.

A = 0B = 1C = 1
  1. 1N1
  2. 2G1
  3. 3G2
3.Medium
MUXC′I0​0I1​CI2​0I3​ABS1​S0​F

A 4-to-1 multiplexer has its select inputs S₁ = A and S₀ = B, and its data inputs tied to I₀ = C′, I₁ = 0, I₂ = C, I₃ = 0. For how many of the 8 combinations of A, B and C is the output F = 1? Find N.

I₀ = C′I₁ = 0I₂ = CI₃ = 0
N =
4.Medium
MUX0I0​0I1​0I2​C′I3​ABS1​S0​F

A 4-to-1 multiplexer has its select inputs S₁ = A and S₀ = B, and its data inputs tied to I₀ = 0, I₁ = 0, I₂ = 0, I₃ = C′. For how many of the 8 combinations of A, B and C is the output F = 1? Find N.

I₀ = 0I₁ = 0I₂ = 0I₃ = C′
N =
5.Hard
CLKJK12345678

A positive-edge-triggered JK flip-flop starts with Q = 0 and receives the inputs shown. Click the first clock edge at which Q goes from 1 back to 0.

Q₀ = 0JK
  1. 1clock edge 1
  2. 2clock edge 2
  3. 3clock edge 3
  4. 4clock edge 4
  5. 5clock edge 5
  6. 6clock edge 6
  7. 7clock edge 7
  8. 8clock edge 8
6.Hard
FFQ0​Q0​FFQ1​Q1​FFQ2​Q2​FFQ3​Q3​FFQ4​Q4​FFQ5​Q5​FFQ6​Q6​CLKMOD-100

A mod-100 counter is built from the minimum number of flip-flops. How many of the possible states U are never used?

N = 100
U =

Answer key

  1. 1. N = 3
  2. 2. G1
  3. 3. N = 2
  4. 4. N = 1
  5. 5. clock edge 3
  6. 6. U = 28

Full step-by-step solutions: practise this topic on examproblems.com.