In the circuit shown, the switch is momentarily closed and then opened. Assuming the logic gates to have equal non-zero delay, at steady state, the logic states of X and Y are

- AX is latched, Y toggles continuously
- BX and Y are both latched
- CY is latched, X toggles continuously
- DX and Y both toggle continuously
Solution & Step-by-step Explanation
When switch is closed, X = 0 and Y = 1
When switch is opened, X = 1 and Y = 0
Now the truth table for switching operations is
X and Y both toggles continuously.
When switch is opened, X = 1 and Y = 0
Now the truth table for switching operations is
| X | Y |
|---|---|
| 0 | 1 |
| 1 | 0 |
| 0 | 1 |
| 1 | 0 |