Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Python Program. When the application is first launched, display the application title, and a prompt for the student to log in . From here, the

Python Program. When the application is first launched, display the application title, and a prompt for the student to log in. From here, the user should have the ability to log in, add a new student, or exit the application. If the user types in a valid student ID, an entry is found in the student data file and displays a greeting (see Greeting Message), followed by the menu. If the user types in an invalid student id (it is not found in the student data file), display a message letting the user know the ID was invalid and display the login message again. If the user enters exit, the application should display a message and end (see Exit section). If the user types add, the application should allow the user to create a new student (see Add a New Student section). Greeting: Feel free to change up the greeting messages as you wish but the message should include the students first name in title case, i.e., the first letter is uppercase. When adding a new student, the user should be prompted for the first and last name, these should consist of alphabetic characters only (see Student Name Validation). If the first and last names are valid, the application should generate a student id based on the first letter of the student's first name and the last name. After the student ID is created, a new entry should be made for the student into the students.csv file. Upon successful creation of the new entry, display a message that lets the user know the add was successful (include the student ID in the message), display a Greeting (see Greeting Message), and finally display the command menu:
Saddleback College Registration
Enter Student ID (or 'add' to add a new student, or 'exit' to exit the application): add
Enter Student's Last Name: Wilson
Enter Student's First Name: Wade
Student wwilson has been added.
Hello wade, what would you like to do today?
info - Student information
list - Course listing
detail - Course detail
register - Register for a class
drop - drop a class
menu - menu
exit - End session
Enter selection:
you will only be required to validate that the first and last name fields are alphabetic (you can assume names will be alphabetic characters only and not include spaces, dashes, or apostrophes. If the first or last name does not include only alphabetic characters, display a message, and allow the user to enter the names again.) The user should be able to display their student information (assume the logged-in user is the student). The information should include the students first and last name, pulled from the student data file (displayed in title case), and a list of the courses the student is currently registered in, pulled from the registration data file. The student should be able to list all the courses being offered, pulled from the courses data file. The courses in the courses data file are in random order, so you will need to sort the courses by ticket number before displaying them. The user should be able to list course detail information based on a course ticket number. The information should be obtained from the courses data file. The listing should include some basic course information include the course code, course name, course units, day/time offered as well as the instructor. Make sure you handle the edge cases, when the ticket number is not found, and when the user wants to exit the selection. Existing student registration information should be pulled from and updated in the registration data file. The user should be able to add a course using a prompt for the course ticket number and the student id for the logged-in user. You will need to perform some validation (see Registration Validation) before registering a student for a course. Students should not be able to register for a course they have already registered for. Students should not be able to exceed 12 Units. Class capacity is a maximum of 15 students. The user should be able to drop a course using the course ticket number. Display an appropriate message when the student has successfully and unsuccessfully dropped a course. Make sure you handle the edge cases, when the ticket number is not found and when the user wants to exit the selection. The user should also have the ability to redisplay the menu. the user makes an invalid menu option, a message should be displayed. The user should have the ability to redisplay the menu.The user should have the ability to exit the application and a message should be displayed that the application has ended.Enter selection: detail
Enter course ticket # (or 'exit'): 13595
Code: CIMS 150 Course Name: Intro to Cybersecurity
Units: 3.0 Day: 1 Tine: 6: epM-8:ep
Instructor: Jobachett
Enter selection: detail
Enter course ticket # (or 'exit'): 8888s
sgsis nat found
Enter course ticket # (or 'exit') : exit
Enter selection:
Enter selection: register
Enter ticket # or 'exit'
Enter course ticket #: 13575
kncheane was added to 13575
Enter selection:
Enter selection: register
Enter ticket #
image text in transcribed

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

More Books

Students also viewed these Databases questions

Question

Do teachers across cultures differ in immediacy? Explain.

Answered: 1 week ago