Empyra.Com interview question

oops, dbms and pseudo code