What is the reason that JK flip flop is often preferred over SR flip flop?
In the truth table shown below, if:
With the modified circuit shown below with the extra AND gates we get a JK flip flop. JK stands for Jack Kilby who invented the circuit.
In the truth table shown below we notice that it is similar to SR flip flop except that, when J and K both are 1 at the clock edge, the output will simply toggle instead of being undefined. So if the output was previously 0, it becomes 1 and if it was 1, it becomes 0.