Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Python programming only I need help designing a program to record, search and create the students of a course in a file. This program first

Python programming only

I need help designing a program to record, search and create the students of a course in a file.

This program first shows a menu including the following options to the user, and responds according to the user selection.

Press 1 to make a new course score file.

Press 2 to search into an existing course score.

Press 3 to add more record to an existing course score file.

Press 4 to quit the program.

Organize the program into four functions as follows:

A main function including the program logic.

A function to make a new score file.

A function to search a score file based on a student name; this function prints all the search results on the screen.

A function to add the information of one student to a course score file.

Apply try/except block to handle possible exceptions.

For simplicity, assume a student record contains student name and score. Each line of score file includes information of one student. Repetitive names in score file is ok.

Please attach a picture of the source code and the program run thanks.

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

Database Programming Languages 12th International Symposium Dbpl 2009 Lyon France August 2009 Proceedings Lncs 5708

Authors: Philippa Gardner ,Floris Geerts

2009th Edition

3642037925, 978-3642037924

More Books

Students also viewed these Databases questions

Question

2. Describe why we form relationships

Answered: 1 week ago

Question

Is how things are said consistent with what is said?

Answered: 1 week ago

Question

Has the priority order been provided by someone else?

Answered: 1 week ago