2026 A/L Physics Past Paper · Question 29 (English Medium)

Releasing S and R together

The output of an S−R\text{S}-\text{R} flip-flop is at Q=1Q=1. After setting inputs simultaneously to S=1S=1, R=1R=1 briefly, both inputs are set to 00. Which of the following conclusions is true about the output state of the flip-flop now?

  1. (1) It certainly sets to Q=1Q=1.
  2. (2) It certainly sets to Q=0Q=0.
  3. (3) Its output state is unpredictable.
  4. (4) QQ certainly follows the sequence Q=1→Q=0→Q=0Q=1\rightarrow Q=0\rightarrow Q=0.
  5. (5) QQ certainly follows the sequence Q=1→Q=1→Q=1Q=1\rightarrow Q=1\rightarrow Q=1.
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. SS sets it to Q=1Q=1, RR resets it to Q=0Q=0, and with S=R=0S=R=0 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 QQ after that.

How we find it: follow the two gates step by step, first with S=R=1S=R=1, then with S=R=0S=R=0.

What each letter means:

SS: the set input. RR: the reset input. Each is 00 or 11.

QQ, Qˉ\bar{Q}: the two outputs. In a working flip-flop Qˉ\bar{Q} is always the opposite of QQ.

NOR gate: its output is 11 only when both its inputs are 00. If any input is 11, its output is 00.

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 S=R=1S=R=1 each gate has a 11 at an input, so both outputs fall to 00. That is the invalid state, Q=Qˉ=0Q=\bar{Q}=0.

Now both inputs drop to 00 at the same instant. Each gate sees 00 and 00, so each starts to switch its output to 11. Whichever gate gets there first holds the other one at 00.

The two gates are built alike, and which one is a tiny bit faster cannot be known. So the final QQ can be 11 or 00.

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

X=A+B‾X=\overline{A+B}

Q=R+Qˉ‾Q=\overline{R+\bar{Q}}

Qˉ=S+Q‾\bar{Q}=\overline{S+Q}

Reading the options

Four options say QQ is certain. Each is checked against what the two gates really do:

Q=1Q=1 is certain only if SS stays at 11 a little longer than RR. Here both go to 00 together, from the invalid state Q=Qˉ=0Q=\bar{Q}=0, so nothing makes Q=1Q=1 certain.

Q=0Q=0 is certain only if RR stays at 11 a little longer than SS. When both drop together, the two gates are in exactly the same position, so neither result is certain.

The first two steps are right: Q=1Q=1, then Q=0Q=0 while S=R=1S=R=1. But after both inputs return to 00, QQ does not certainly stay at 00: both gates try to go to 11 at once.

This says QQ never leaves 11. But while S=1S=1 and R=1R=1, the gate with input R=1R=1 gives Q=0Q=0, so QQ does drop to 00.

Reasoning and calculation

S=0, R=0: Q=1, Qˉ=0S=0,\ R=0:\ Q=1,\ \bar{Q}=0

Q=0, Qˉ=0Q=0,\ \bar{Q}=0

S=1S=1, R=1R=1 together

Each gate has a 11 at an input, so each output is 00. QQ and Qˉ\bar{Q} are no longer opposite: this is the invalid state.

S=0S=0, R=0R=0 together

Q=1 or Q=0Q=1\ \text{or}\ Q=0

Both gates race towards 11 at the same time. If G1G_1 wins, Q=1Q=1. If G2G_2 wins, Qˉ=1\bar{Q}=1 and Q=0Q=0. Nothing in the inputs decides the winner.

So the output state cannot be predicted. This is option (3).

Checks

(1−a)∗(1−b)(1 - a) * (1 - b)

Conclusion

Q=1 or Q=0Q=1\ \text{or}\ Q=0

From the invalid state Q=Qˉ=0Q=\bar{Q}=0, both gates race to 11 when SS and RR drop together. The answer is (3).

S=R=1S=R=1 is the invalid state. Releasing both together leaves QQ to a race, so it is unpredictable.

Exam tip

தமிழ் · සිංහල