The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
 am almost finish this assignment, for the part2, i don't really understand it. Pl, help me finish this code by python.Â
Assignment #5Check Your Understanding of CS Concepts!!!Due: Sunday, 10/23/16, 11:59pmWe are going to add to our calculator by making it function as a programmer or scientificcalculator. The user can choose the mode, and once in that mode the user gets a fewoptions for calculations.You can now use conditionals and loops, but you may not useany built-in functions for the number conversion, such as bin()!!!In programmer mode, the user can enter any unsigned decimal number to convert tobinary.oYour binary number should not print leading zeros this time, and it shouldconvert numbers larger than 255!!!oFor this number, make sure you handle bad positive integers!!!You donot have to handle those numbers that are too large to be represented, youjust have to handle anything that isn’t an unsigned decimal integer!!!In scientific mode, the user can choose between the following operations: +, -, *, /,and **.oSince all these operations are binary, then the user needs to be prompted fortwo operands following the operator.These operands can be floating pointnumbers.You will continue to ask the user if he/she wants to continue doing calculations or goto a different mode after each iteration.Step 1:Problem Analysis.(10 pts)a. Understanding the Problem –Do you understand everything in the problem?Listanything you do not fully understand.b. What are the inputs, outputs, etc.?Step 2:Program Design.(30 pts)What are the decisions that need to be made in this program?How are you going tocalculate the binary number for any number > 255? Are you going to ask for thestarting exponent?Are you going to calculate this starting exponent?Based on your answers above, list thespecific steps or provide a flowchartofwhat is needed to create this calculator with two modes.Be very explicit!!!Step 3:Program Implementation.(50 pts)This is the Python code that implements the programmer and scientific calculator.Step 4:Program Testing.(20 pts)Create a test plan with the test cases (bad, good, and edge cases).What do youhope to be the expected results?You can use your Lab #3 and Assignment #4 as astarting place for the table you need to develop.oWhat are the good, bad, and edge cases for ALL input in the program?oWhat are the actual results from testing this data?
Attachments:
-----------