eQ Technologic interview question

Project related, OOP concepts, Arrays, MySQL queries