Pilog interview question

oops concept with basic questions