An R-S flip-flop is capable of doing all of...