Sify Interview Question

simple basic questions on DBMS and algo