D-FLIP FLOP

A D flip-flop (Data or Delay flip-flop) is a type of digital storage element that captures and stores a binary…