Quantiphi interview question

about dbms and python oops