ISsoft interview question

Logic questions from diff. sites