subject

This assignment has three parts. Part One: Write an interactive program to calculate the volume and surface area of a three-dimensional object. Use the following guidelines to write your program:

Create a word problem that involves calculating the volume and surface area of a three-dimensional object. Choose one of the following:
Cube: surface area 6 s2 , volume s3
Sphere: surface area 4πr2 , volume (4.0/3.0) π r3
Cylinder: surface area 2π r2 + 2 π r h, volume π r2 h
Cone: surface area πr(r+√(h2+r2) ), volume 1.0/3.0 π r2 h
Print the description of the word problem for the user to read.
Ask the user to enter the information necessary to perform the calculations.
Use 3.14 for the value of π as needed.
Print the results of each calculation.
Write the pseudocode for this program. Be sure to include the needed input, calculations, and output.
Insert your pseudocode here:

Part Two: Code the program. Use the following guidelines to code your program.

To code the program, use the Python IDLE.
Using comments, type a heading that includes your name, today’s date, and a short description of the program.
Follow the Python style conventions regarding indentation and the use of white space in your program.
Use meaningful names for all variables.
Example of expected output: The output for your program should resemble the following screen shot. Your specific results will vary depending on the choices you make and the input provided.

Output

Insert a copy of your code from the IDLE here:

Part Three: Complete the Post Mortem Review (PMR). Write thoughtful two to three sentence responses to all the questions in the PMR chart.

Review Question Response
What was the purpose of your program?

How could your program be useful in the real world?

What is a problem you ran into, and how did you fix it?

Describe one thing you would do differently the next time you write a program.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 20:00
Amanda needs to create an informative print brochure for her local library’s fundraiser dinner. what critical detail must she have before she starts designing the brochure?
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
[java] create an application called registrar that has the following classes: a. a student class that minimally stores the following data fields for a student: - name - student id number - number of credits - total grade points earned and this class should also be provides the following methods: - a constructor that initializes the name and id fields - a method that returns the student name field - a method that returns the student id field - methods to set and retrieve the total number of credits - methods to set and retrieve the total number of grade points earned. - a method that returns the gpa (grade points divided by credits) b. an instructor class that minimally stores the following data fields for an instructor: - name - faculty id number - department the following methods should be provided: - a constructor that initializes the name and id fields - methods to set and retrieve the instructor’s department. c. a course class that minimally stores the following data for a course: - name of the course- course registration code- maximum number of 35 students- instructor- number of students- students registered in the course (an array)the following methods should also be provided: - a constructor that initializes the name, registration code, and maximum number of students- methods to set and retrieve the instructor- a method to search for a student in the course; the search should be based on an id number.- a method to add a student to the course. if the course is hill, then an exception with an appropriate message should be raised (try creating your own exception class for this). also, be sure that the student is not already registered in the course. the list of students should be in the order that they registered.- a method to remove a student from the course. if the student is not found, then an exception with an appropriate message should be raised (use the same exception class mentioned a method that will allow course objects to be output to a file using object serialization- a method that will allow course objects to be read in from a file created with object serializationyou will note that the student and instructor classes described above have some commonality. create aperson class that captures this commonality and uses it as a base class for student and instructor. this class should be responsible for the name and id fields and also provide atostring method that returns a string of the form name, id. this will be the inheritedtostring method for the student and instructor classes.1. draw a uml diagram for diss application.2. implement the previous classes in java. write a main program that can serve as a test class that tests all of the methods created and demonstrates that they are working
Answers: 2
question
Computers and Technology, 23.06.2019 23:30
A. in packet tracer, only the server-pt device can act as a server. desktop or laptop pcs cannot act as a server. based on your studies so far, explain the client-server model.
Answers: 2
question
Computers and Technology, 24.06.2019 00:40
What social factors affect your health
Answers: 3
You know the right answer?
This assignment has three parts. Part One: Write an interactive program to calculate the volume and...
Questions
question
Mathematics, 03.10.2019 01:00
question
Social Studies, 03.10.2019 01:00
question
Mathematics, 03.10.2019 01:00
Questions on the website: 13722361