A positive edge-triggered D-type flip-flop is provided with an active-low asynchronous clear input, and has only its Q output available. By considering the functional behaviour of the flip-flop, develop a test sequence for this device for all single-stuck faults on inputs and outputs.