two j-k flip-flops are shown below. determine the output q waveform using the given input waveforms. the flip-flops are initially set to reset.