Question: 1. Write python program which create TCP connection between server and client and do the following: 1.1. When connecting to the server, the server will

1. Write python program which create TCP connection between server and client and do the following: 1.1. When connecting to the server, the server will ask the user(client) for his/her name. 1.2. Then the server will ask the user(client) the following question "What is your student ID" and the user(client) must respond. The id must be 8 digits. 1.3. Then the server will ask the user(client) the following question "What is your Major" and the user(client) must respond. 1.4. Then the server will ask the user(client) the following question "Which is the best Operating System: A) Windows, B) Linux C) MACOS and the user(client) must respond with either A, B or C. 1.5. After that, the server will store the user's name, questions and answers into a file with the name of the user. 1.6. If the user provides an empty answer or a wrong answer (question #3) the server must re-ask the user the same
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
