employer cover photo
employer logo
employer logo

PLEXSYS Interface Products

Is this your company?

PLEXSYS Interface Products interview question

This was the home programming assignment: Write a program to parse and evaluate arithmetic expressions. Your problem should support addition and multiplication at a minimum. It should be creating in an object oriented manner. Do not use the "shunting yard" algorithm.

Interview Answers

Anonymous

7 July 2017

I used a parse tree to evaluate the expressions. It was able to solve addition, subtraction, multiplication, and division (with some problems). It had input sanitation to make sure the input expressions were valid. Admittedly my code may not have been very clean, but it did perform the minimum requirements.

2

Anonymous

14 July 2017

I had an I review a week out if school and they wanted me to do this on the whiteboard in front of 3 people. it was horrific. your lucky you got to take it home.

1