File Assignments Menu Create Schedule File Create Report File Exit Please enter your choice:   Example of a schedule file ( notice class info is stored as a record containing three fields ( class name, class number, meeting days and meeting time) with each field on a separate line : CIS 115 mw 10-12 CSC 121 tth 01-03 Example above only shows two classes (records), your file will have more entries (5 minimum 10 maximum)   If the user chooses option 2 (Create Report File), program is to read the schedule report and create a report file similar to the example shown below: Example of a report file Student Name 2019 Spring Schedule (center this heading) Class Name       Meting Days   Meeting Times CIS115               MW                10-12 CSC121              TTh                01-03 Design the program to notify the user if no schedule.txt file exists (hint: exception handling)

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Based on what you took thus far in this chapter, your boss(me) needs you to create an application that will that accept a student’s 2019 Spring schedule thru input.  Name the file XXXM7HW2 where XXX is your last name. You will need to get the student’s course number, course name, days it meets and times it will meet.

Once you get this information, you will need to write the information to a text file called schedule.txt and also create a student schedule report called report.txt. You can ask the user what to call the file or just name the files within the program. You will need to create a menu that can be ran more than once. Below is an example of a menu you can use:

File Assignments Menu

  1. Create Schedule File
  2. Create Report File
  3. Exit

Please enter your choice:

 

Example of a schedule file ( notice class info is stored as a record containing three fields ( class name, class number, meeting days and meeting time) with each field on a separate line :

CIS

115

mw

10-12

CSC

121

tth

01-03

Example above only shows two classes (records), your file will have more entries (5 minimum 10 maximum)

 

If the user chooses option 2 (Create Report File), program is to read the schedule report and create a report file similar to the example shown below:

Example of a report file

Student Name 2019 Spring Schedule (center this heading)

Class Name       Meting Days   Meeting Times

CIS115               MW                10-12

CSC121              TTh                01-03

Design the program to notify the user if no schedule.txt file exists (hint: exception handling)

FULL PYTHON CODE

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 7 steps with 6 images

Blurred answer
Knowledge Booster
File Input and Output Operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education