Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I am having trouble with indents when I try to add these to Pycharm For Lab 6, you will write an object-oriented program. As long

I am having trouble with indents when I try to add these to Pycharm

For Lab 6, you will write an object-oriented program.

As long as your program satisfies the requirements listed below, you are free to design and write any type of program that you care to. You are welcome to complete one of the programming exercises from Chapter 14 for this lab (pages 565-566).

Requirements

Your lab submission should consist of a single Lab6.py file, uploaded to the Lab 6 dropbox. The Lab6.py file should meet all of the following requirements:

Your name given as the author.

Comments including a brief description of the program, Input List and Output List, and full pseudocode. Place the pseudocode for each module above the module's Python code.

It must have at least one output.

If it has user input (which is up to you), then it must validate the user input. This means the user is not allowed to just enter any value. You must check the value, and ask the user to enter it again, and repeat this loop until the user enters a valid value.

Your program must use at least one class and must create and use at least two object instances in a meaningful way. Values that should be part of your class should be represented as fields/properties, and functions that should be part of your class should be represented as methods. Your class must incorporate multiple fields/properties, and you must incorporate at least two of them in your program. Your class must incorporate multiple methods, and you must make use of (execute) at least two of them in your program. You are welcome to use multiple classes with inheritance and polymorphism, but that isn't required for full credit.

Your program should be organized into separate modules. Each module should be "cohesive" and should only do one thing.

Use parameters and arguments to pass values into your modules (don't use global variables). Most values will probably end up being fields of your objects, and objects or arrays of objects will be passed into your modules. Use methods appropriately.

The Python code should run correctly, and the logic should match your pseudocode.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database 11g SQL

Authors: Jason Price

1st Edition

0071498508, 978-0071498500

More Books

Students also viewed these Databases questions

Question

6. Conclude with the same strength as in the introduction

Answered: 1 week ago

Question

7. Prepare an effective outline

Answered: 1 week ago