Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

using python network programming Consider a simple client - server student information system with the following text files stored on the server side only. The

using python network programming Consider a simple client-server student information system with the following text files stored on
the server side only. The server side does not store any other file related to the student
information system:
Students_ist.txt: contains three fields student_id, first_name and last_name
Courses_ist.txt: contains two fields Course_id and Course_name
Grades_ist.txt: contains three fields student_id, Course_id and grade
Here is a sample of the file contents:
StudentsList.txt
20123344:Student1:Ahmad
20123311:Sara:Ali
CoursesList.txt
CS213:Object_Oriented_Programming
CS111:Structured_Programming
GradesList.txt
20123344:CS213:77
20123344:CS111:88
A. Write a Python client-side program that:
Prompts the user to enter the student ID.
Send student ID to the server
Receives the student transcript report from the server application and stores the student's
transcript on the client side in a text file named student_id.txt (for example if the student ID
is 20123344 then the file name should be 20123344. txt).
Where:
The first line of each transcript should contain the student_id, first_name, and
last_name.
For courses where the same student has grades, the following information should
be stored in one record per line starting from the second line:
Course_id, Course_name and grade
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions