Java Python CIT5900 Midterm 2
Programming Languages and Techniques
Python Exam: Expense Management System
You must submit the completed program as per instructions provided on Canvas.
You CANNOT:
● Work, collaborate or share code with someone else on this exam.
● Search for keywords leading to solutions on the exam. For example, do not Google “loading a .csv file in Python” .
● Discuss the exam with other students. Other students have not yet taken the exam, and you CANNOT provide academically dishonest assistance to them.
You CAN:
● Reference any material from the course or recitation. This includes videos, slides, code samples, homework assignments, quizzes, recitation recordings and coding exercises.
● Reference any online Python documentation.
● Use the Canvas search bar for quick syntax and content searches.
Use of Ed Discussion/Office Hours as it Relates to the Exam
● You CAN ask any question on Ed Discussion or during office hours that directly relates to the exam logistics and/or technical errors.
● You CANNOT ask a question specifically related to code or “how to do something” . For example, you cannot ask “How should I go about writing the code for this function?” . You also cannot post code and ask “Can you help me understand why my code isn’t working?”
The Assignment
This Python exam will involve implementing a system for managing expenses. You will download the skeleton of the program, then implement the functions/methods. The design of the program has been set up for you.
In this system, users will be able to add and deduct expenses, update expenses, sort expenses, and export filtered expenses to a file. The program will initially load a collection of expenses from 2 different .txt files (in the same format) and store them in a dictionary.
Steps for Completing the Exam
1. Complete all of the required methods
a. Implement all of the methods defined in ExpensesLoader.py, ExpensesManager.py, and Expense.py
b. Docstrings have already been provided
c. Add comments to your code
d. You can create any number of helper methods (with docstrings).
e. The main function in expenses.py has already been implemented for you. DO NOT CHANGE THE CODE IN MAIN.
2. Test your code by running (and passing) all of the provided test cases in the given expenses_test.py.
a. Write additional test cases as noted and make&

最低0.47元/天 解锁文章
1099

被折叠的 条评论
为什么被折叠?



