Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For this assignment, you are going to pretend that you are writing a variable sorter application that stores inputted variables into lists based on their

For this assignment, you are going to pretend that you are writing a variable sorter application that stores inputted variables into lists based on their type.

In order to do this, you are going to create a VariableSort class that contains the following lists as properties on it:

  • A list of string values
  • A list of float values
  • A list of integer values

In addition, if a value is a string, it must only have upper- and lower-case values on it. No other values should make it onto your lists. In order to make this work, you are going to create methods to validate your data and place them into the proper lists based on their data type.

You program must also have a main program loop that leverages your class and keeps asking the user for values until it's told to stop.

The rest of the implementation details are up to your discretion, applying the things you have learned about Python so far. Please note, however, that you must organize your class into a module and produce documentation (using Pydoc) for your work using the principles discussed earlier in the class. You must also include exception handling in your code according to the principles discussed this week.

You must also create a comprehensive set of test cases for your application applying the principles discussed this week. As well, your test cases must be stored according to the methods discussed this week in the lecture.

Be sure to put comments in your code that clearly mark how you are performing your program logic. In the submission comments of this assignment, please place the repository URL of your file submission.

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

Database Systems Design Implementation And Management

Authors: Carlos Coronel, Steven Morris

14th Edition

978-0357673034

More Books

Students also viewed these Databases questions

Question

What is the difference between Needs and GAP Analyses?

Answered: 1 week ago

Question

What are ERP suites? Are HCMSs part of ERPs?

Answered: 1 week ago