A flip-flop is a device having two states and is capable to store a bit of information.
D flip-flop:-
D flip-flop is the data flip-flop. In SR flipflop two inputs are used to store a single input. D flip flop is designed to overcome this disadvantage. .The logic …