Senior interview question

Questions are based on the test.