2026 A/L Physics Past Paper · Question 29 (English Medium)
Releasing S and R together
The output of an flip-flop is at . After setting inputs simultaneously to , briefly, both inputs are set to . Which of the following conclusions is true about the output state of the flip-flop now?
Answer and explanation
Answer: (3) Its output state is unpredictable.
What the question asks
This question is about a flip-flop, a small circuit that remembers a 1 or a 0.
It is made of two NOR gates, each feeding its output back into the other. sets it to , resets it to , and with it keeps what it had. Here both inputs are switched on together for a moment, then switched off together.
What we must find: what we can say for sure about after that.
How we find it: follow the two gates step by step, first with , then with .
What each letter means:
: the set input. : the reset input. Each is or .
, : the two outputs. In a working flip-flop is always the opposite of .
NOR gate: its output is only when both its inputs are . If any input is , its output is .
Relevant theory
Although a memory cannot be there in a single logic gate, a particular combination of logic gates known as a flip-flop can store a binary digit 0 or 1, also stored digit can be read when required.
There is a major problem in this state. That is, it does not satisfy the essential condition of the flip-flop that the outputs should be with inversion to each other. The condition Qnew= 0 and Qnew= 0 is contrary to this. Therefore, the input state S = 1 and R = 1 which is leading to this unwanted situation, is never applied to the flip-flop. Therefore, this input state is known as the ''invalid state''.
What is happening: with each gate has a at an input, so both outputs fall to . That is the invalid state, .
Now both inputs drop to at the same instant. Each gate sees and , so each starts to switch its output to . Whichever gate gets there first holds the other one at .
The two gates are built alike, and which one is a tiny bit faster cannot be known. So the final can be or .
For example, two friends who reach a narrow door at the same moment.
Both say "after you" and both wait. Then both step forward at exactly the same instant. One of them will get through first and the other will stop, but you cannot say beforehand which one it will be.
Required equations
Reading the options
Four options say is certain. Each is checked against what the two gates really do:
is certain only if stays at a little longer than . Here both go to together, from the invalid state , so nothing makes certain.
is certain only if stays at a little longer than . When both drop together, the two gates are in exactly the same position, so neither result is certain.
The first two steps are right: , then while . But after both inputs return to , does not certainly stay at : both gates try to go to at once.
This says never leaves . But while and , the gate with input gives , so does drop to .
Reasoning and calculation
, together
Each gate has a at an input, so each output is . and are no longer opposite: this is the invalid state.
, together
Both gates race towards at the same time. If wins, . If wins, and . Nothing in the inputs decides the winner.
So the output state cannot be predicted. This is option (3).
Checks
Conclusion
From the invalid state , both gates race to when and drop together. The answer is (3).
is the invalid state. Releasing both together leaves to a race, so it is unpredictable.
Exam tip