Webroop Tech interview question

Just some logic programs 1-2 & some basic core & oops question.