TwoScots interview question

Basic questions, nothing too hard