Similar questions 1 more →
Counters & Timing

Answer & solution
Answer: D (no official key was published)
1. Before 1 ns both first-XOR inputs are 0. At 1 ns its direct input rises, but its delayed input stays 0 until 3 ns. Therefore X is 1 exactly on [1,3).
2. The 4 ns delayed copy of X is 1 on [5,7). The second XOR is high when exactly one copy is high, so B is high on those two nonoverlapping intervals.
3. List the changes: 0→1 at 1 ns, 1→0 at 3 ns, 0→1 at 5 ns, and 1→0 at 7 ns. There are four, giving D.
Solution: Let A(t) rise once at t=1 ns. The first XOR output is A(t) XOR A(t−2), a pulse on [1,3). The second output XORs this pulse with its copy delayed by 4 ns. The copies occupy [1,3) and [5,7), so they do not overlap and the output changes at 1,3,5,7 ns. There are four transitions in the stated interval, option D.