Concurrent Server Programming TITLE: Quiz Game In this assignment you are asked to write a phyton system to support an online math contest. The contest consists of answering the maximum quantity of sums in 30 seconds. This is done in a concurrent way, which means, that there are three participants answering at the same time. The participant with most correct answers WINS. The jury is responsible in starting up the server, after that they wait for the clients. When the three clients are connected, they must send the message: READY to the server. When the server receives the three READY from the clients, the contest starts. At the end of the program, the server must show the results . Execution (SERVER) - Please provide me the complete code and solution to arrive to the results below. python3 MathinikServer 192.168.1.2 Connected 192.168.1.2 is Anne 192.168.1.4 Connected 192.168.1.4 is Billy 192.168.1.3 Connected 192.168.1.3 is Mark Mark is READY Anne is READY Billy is READY Starting Contest… Contest Finished The results are: 1. Mark(7 correct / 2 wrong) 2. Anne (6 correct / 6 wrong) 3. Billy (4 correct / 7 wrong) Execution (CLIENT) - Please provide me the complete code and solution to arrive to the results below. python3 MathinikClient 192.168.1.1 Please enter your name: >> Billy Write READY when you are prepared >> READY Contest Started! Question 1: 25+23? 48 … … Time is UP! The results are: 1. Mark(7 correct / 2 wrong) 2. Anne (6 correct / 6 wrong) 3. Billy (4 correct / 7 wrong) NOTE: The numbers are 2 digits long. Use random generator in python with seed 99.
Concurrent Server
TITLE: Quiz Game
In this assignment you are asked to write a phyton system to support an online math contest. The contest
consists of answering the maximum quantity of sums in 30 seconds. This is done in a concurrent way,
which means, that there are three participants answering at the same time. The participant with most
correct answers WINS.
The jury is responsible in starting up the server, after that they wait for the clients. When the three
clients are connected, they must send the message: READY to the server. When the server receives the
three READY from the clients, the contest starts. At the end of the program, the server must show the
results
.
Execution (SERVER) - Please provide me the complete code and solution to arrive to the results below.
python3 MathinikServer
192.168.1.2 Connected
192.168.1.2 is Anne
192.168.1.4 Connected
192.168.1.4 is Billy
192.168.1.3 Connected
192.168.1.3 is Mark
Mark is READY
Anne is READY
Billy is READY
Starting Contest…
Contest Finished
The results are:
1. Mark(7 correct / 2 wrong)
2. Anne (6 correct / 6 wrong)
3. Billy (4 correct / 7 wrong)
Execution (CLIENT) - Please provide me the complete code and solution to arrive to the results below.
python3 MathinikClient 192.168.1.1
Please enter your name:
>> Billy
Write READY when you are prepared
>> READY
Contest Started!
Question 1: 25+23?
48
…
…
Time is UP! The results are:
1. Mark(7 correct / 2 wrong)
2. Anne (6 correct / 6 wrong)
3. Billy (4 correct / 7 wrong)
NOTE: The numbers are 2 digits long. Use random generator in python with seed 99.

Trending now
This is a popular solution!
Step by step
Solved in 6 steps with 8 images









