BCR interview question

A few simple questions about basic programming and to solve some algorithms