3. T flip - flop T flip-flop works as follows: if the input T = 0, the output stays the same; if the input T =1,the output toggles. In other words, the characteristic equation for the T flip-flop is Q+= TOQ. a) Complete the following state transition table for the T flip-flop. b) Complete the following timing diagram for the T flip-flop. Assuming Q=0 at the beginning.

Fig: 1

Fig: 2

Fig: 3

Fig: 4

Fig: 5

Fig: 6