Nokia interview question

Few riddles followed by basic DBMS oops and networking questions