ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 3 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 11 May 2017 My Price 8.00

Understanding of CS Concepts

 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:

Answers

(11)
Status NEW Posted 11 May 2017 07:05 AM My Price 8.00

-----------

Attachments

file 1494488581-Solutions file 2.docx preview (51 words )
H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly -----------onl-----------ine----------- an-----------d g-----------ive----------- yo-----------u e-----------xac-----------t f-----------ile----------- an-----------d t-----------he -----------sam-----------e f-----------ile----------- is----------- al-----------so -----------sen-----------t t-----------o y-----------our----------- em-----------ail----------- th-----------at -----------is -----------reg-----------ist-----------ere-----------d o-----------n -----------THI-----------S W-----------EBS-----------ITE-----------. ----------- Th-----------ank----------- yo-----------u -----------
Not Rated(0)