MCS-178: Project 3 Gradesheet
Part 1: Using Stacks (55 pts)
- Completing the
RemoveLastCommand.py
class; the code is working (tested) and correct (10 pts).
- Completing the
SwapCommand.py
class; the code is working (tested) and correct (10 pts).
- Completing the
InsertAtCommand.py
class; the code is working (tested) and correct (10 pts).
- Completing the
GroceryList.py
class; the code is working (tested) and correct (15 pts).
- Appropriate comments were given (5 pts)
- Meaningful variable names were given. Appropriate helper functions were made if the function is too long. (5 pts)
Part 2: Implementing a Deque (45 pts)
- Correctness of the three existing functions in
Deque.py
(10 pts).
- Correctness of the three new functions in
Deque.py
(20 pts).
- All exceptions cases were handled for each function (5 pts).
- All exception cases and normal cases were tested in
main.py
for each function; comments were given labeling each test case (5 pts).
- Appropriate comments were given. Meaningful variable names were given (5 pts).
Total: 100 pts