Question: -paython - 1. 1.1. 1.2. 1.3. Write python program which create TCP connection between server and client and do the following: When connecting to the
1. 1.1. 1.2. 1.3. Write python program which create TCP connection between server and client and do the following: When connecting to the server, the server will ask the user(client) for his/her name. 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. 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 question. 2.1. 2. Write python program which creates UDP connection between server and client and do the following: When connecting to the server, the client will send a 'getFile' command to the server. 2.2. The server will send the content of the file (the file created in Q1) to the client. The client will receive the content and store it inside a new file called 'quiz.txt' 2.3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
