Answer:
See explaination
Step-by-step explanation:
The D flip-flop is an edge triggered device which transfers input data to Q on clock rising or falling edge. Data Latches are level sensitive devices such as the data latch and the transparent latch.
See attachment for the step by step solution of the given problem.