Infosys interview question

Question on DP and DBMS