Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Python Application
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.
Saddleback college Registration
Enter student ID (or 'add' to add a new student, or 'exit' to exit the application):
Login
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.
Saddleback college Registration
Enter student ID (or 'add' to add a new student, or 'exit' to exit the application): kmcbean
Good Afternoon Kelly, 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:
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.
Saddleback college Registration
Enter student ID (or 'add' to add a new student, or 'exit' to exit the application): bgateso
student ID not found, please try again.
Enter student ID (or 'add' to add a new student, or 'exit' to exit the application):
If the user enters 'exit', the application should display a message and end (see Exit section).
Saddleback college Registration
Enter student ID (or 'add' to add a new student, or 'exit' to exit the application): exit
Session ended.
If the user types 'add', the application should allow the user to create a new student (see Add a New
Student section).Add a New Student
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. Example:
First name: Kelly
Last name: McBean
Student Id: kmcbean
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 (See image below)
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 wilson 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:
Extra Credit:
The student ID should include a unique numeric number at the end starting at 0(Example: kmcbeanO). If
the student ID is not a unique student ID based on the student IDs already entered in the student data
file, the number should be incremented by 1 until a unique student ID is generated (see Creating a
Unique Student ID).Student Information (info)
The user should be able to display their student information (assume the logged-in user is the student).
The information should include the student's 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 course details should be formatted (see field widths in Assignment 9 or String
Methods in Assignment 10).
Format as follows (field length): ticket # (7), code (9), course name (45), units (5 & right justified), day (6),
time (14), and instructor (15). The list should be followed by a total line that includes the number of
courses registered and total units (formatted to align under the unit's column).
Enter selection: info
student ID: kmcbean
Mcbean, kelly
Registered courses
Course Listing (list)
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 course list formatting should be the same as used in the Student Information
course list. Include the total number of courses at the end.Student Information (info)
The user should be able to display their student information (assume the logged-in user is the student).
The information should include the student's 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.
Format as follows (field length): ticket # (7), code (9), course name (45), units (5 & right justified)
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

Pro Database Migration To Azure Data Modernization For The Enterprise

Authors: Kevin Kline, Denis McDowell, Dustin Dorsey, Matt Gordon

1st Edition

1484282299, 978-1484282298

More Books

Students also viewed these Databases questions

Question

List the components of the strategic management process. page 72

Answered: 1 week ago