Question: Calculator Project Assignment Description: Create a calculator app. It should provide the user with the ability to calculate basic arithmetic operations (add, subtract, multiply, divide).
Calculator Project
Assignment Description:
Create a calculator app. It should provide the user with the ability to calculate basic arithmetic operations (add, subtract, multiply, divide). For simplicity, the calculator should operate using the tabulation approach. This means only one operation is handled at a time. Meaning the user will specify a number then an operation then another number and press the equals button. In the event, the equals button is not pressed but another operation button is pressed, the calculator should calculate the preceding value display it on the screen then proceed to use the recently calculated value as the first value of the next operation. The calculator does NOT have to operate like a scientific calculator where all the options are specified then calculated but if you are feeling ambitious try to make it a scientific calculator. For an example of the tabulation approach, take a look at this calculator. If the user types in an invalid mathematical expression the application should display an error message, and still be able to accept further input.
Aside from the operations specified above the calculator should have a button that clears the current operation and value. It should also have a button that opens a window that displays the past 100 instructions and answers. The user should be able to click one of these past answers and it should automatically be input at the first value of on the calculator main screen. The calculator should have a button to clear everything in the memory. This list of instructions should persist after the application is terminated. In other words, if you open the app and make a few calculations then close the app, then open the app again, we should be able to view the calculations from the previous session. No information is lost when we quit the app.
There are no guidelines for the presentation and GUI, it is entirely up to you. Your application will be assessed on the functionality and that it has the necessary capabilities. You are NOT allowed to work in groups for this assignment.
What are the next steps? Please read this document for more details on the assignment. Then read the materials posted on Moodle pertaining to Tkinter and follow the videos provided.
Context/Purpose:
This final project will require the use of all the information we have discussed in this course. You will be primarily cultivating the understanding of how to effectively combine multiple classes and functions with logical flow control, then wrap it in a graphical user interface to produce a single cohesive application. Time management of any programming exercise is crucial as the size of problems and the time required to fix them is asymmetric. Getting started as early as possible will give you the best chance for success in this project.
Project Submission:
Upload a zip file of your complete calculator source code. You do not need to include your virtual environment in your submission. If you are using any third-party packages please include a requirements.txt file in the zip file. Additionally, submit a screen recording video of you using your calculator. The screen recording should properly demonstrate all of the required application features.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
