logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

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

expert
Irina KossovaNursing
(/5)

780 Answers

Hire Me
expert
Rashmi AgnihotriComputer science
(5/5)

746 Answers

Hire Me
expert
Neville StevensMarketing
(5/5)

908 Answers

Hire Me
expert
Neill BissonnetteData mining
(5/5)

882 Answers

Hire Me
Python Programming

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.

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

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

  • You need to ask for the 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 for each user in class instances 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.

Be sure to put comments in your code that clearly mark how you are performing your program logic and use descriptive variable names. Your score will be evaluated on adherence to the above requirements, efficiency of code, how well your program runs, modularity of your code, and adherence to professional coding practices (comments, formatting, variable names, etc.).

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