logo Use SA10RAM to get 10%* Discount.
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Clifton KariukiComputer science
(/5)

500 Answers

Hire Me
expert
Susanne ParkerNursing
(5/5)

683 Answers

Hire Me
expert
Ray BadranEducation
(5/5)

682 Answers

Hire Me
expert
Carson FisherEnglish
(5/5)

613 Answers

Hire Me
Python Programming

Write a Python program that gathers information about instructors and students according to the rules provided: What type of individual we're dealing with (instructor or student)

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Week 1 - Modularizing/Debugging Your Code And Generating Documentation Assignment

For this assignment, you are going to pretend that you were just hired into a job where a previous developer left the company and you are taking their spot. The code they left is incomplete, has bugs and logic flaws in it, and needs to be documented and modularized according to the standards discussed this week in class.

Here is what the program needs to do (note that these instructions should look familiar to you from IT 533 and/or the pre-assessment for IT 534):

------------------------

Write a Python program that gathers information about instructors and students according to the rules provided:

What type of individual we're dealing with (instructor or student)

If the individual is a student, we need to get their Student ID (this is required, and must be a number that is 7 or less digits long)

We also need to obtain their program of study (this is required)

If the individual is an instructor, we need to get their Instructor ID (this is required, and must be a number that is 5 or less digits long)

We also need to obtain the name of the last institution they graduated from (this is required) and highest degree earned (this is required)

The individual's name (this is required, and must be primarily comprised of upper- and lower-case letters. It also cannot contain any of the following characters: ! " @ # $ % ^ & * ( ) _ = + , < > / ? ; : [ ] { } ).

The individual's email address (this is required, and must be primarily comprised of alphanumeric characters. It also cannot contain any of the following characters: ! " ' # $ % ^ & * ( )  = + , < > / ? ; : [ ] { } ).

Write your program such that if a user inputs any of the above information incorrectly, the program asks the user to re-enter it before continuing on. Your program should accept any number of individuals until the person using the program says they are done.

You will store the information you collect in classes that you will append to a list called "college_records". There will be an Instructor class and a Student Class (which should be pretty simple), and your submission must use inheritance principles. Create a method that displays all collected information for an individual called "displayInformation".

You must also create a class called "Validator" that has methods attached to it that validate submitted information.

When your submission is through gathering data, print out all entries in the college_records list.

Your submission should use principles of augmentation where appropriate and be as flexible as possible.

------------------------

The code you need to modify can be found at this link. Your job is to thoroughly test and debug it; reorganize your classes into modules; and produce documentation (using Pydoc) for your work using the principles discussed in the lectures this week.

Be sure to also 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.

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme

Get Free Quote!

276 Experts Online