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.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

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.

 

 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 6 steps with 8 images

Blurred answer
Knowledge Booster
Stack
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education