logo Use CA10RAM to get 10%* Discount.
Order Nowlogo
(5/5)

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.).

(5/5)
Attachments:

Related Questions

. Introgramming & Unix Fall 2018, CRN 44882, Oakland University Homework Assignment 6 - Using Arrays and Functions in C

DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma

. The standard path finding involves finding the (shortest) path from an origin to a destination, typically on a map. This is an

Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t

. 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. The LineItem class will represent an individual

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

. SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

. Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

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

expert
Um e HaniScience

939 Answers

Hire Me
expert
Muhammad Ali HaiderFinance

945 Answers

Hire Me
expert
Husnain SaeedComputer science

863 Answers

Hire Me
expert
Atharva PatilComputer science

747 Answers

Hire Me