Correct choice is (d) Both the flip-flop for 1 and resetting the flip-flop
Easiest explanation: The input data bit (1 or 0) is written into the cell by setting the flip-flop for 1 and the resetting the flip-flop for a 0 when the R/W’ line is low, R/W is active-low pin.