Electronic – How to proceed to solve this question

clock

I was trying to solve this question but I got stuck when I tried to use AND gate with clock and some output. I want to ask whether value of rising edge of a clock is taken as 1 or value preceding it and same for falling edge does it is taken to be 0 or value preceding it while gating clocks ?

What I think rising edge=1 and falling edge=0.

Question:enter image description here

Also, have a look at solution provided. Is that correct ? It's not mine solution.

Solution:enter image description here

Ignore flip flop delays.

Best Answer

enter image description here The solution is wrong. This is what I got. At t2, both Qb and the adjacent nand gate output go high. Qc goes High only at t3. i.e., when the nand gate's output goes low and triggers the third flip flop. At t4, you could find that the transition at below nand gate causes another falling clock edge to compliment Qc. So this would be the ideal waveform, assuming zero delays in the flip flops and gates.