Anonymous interview question

Basics questions on CS fundamentals.