Question: Python Trivia Game In this programming exercise you will create a simple trivia game for two players. The program will work like this Starting with

Python Trivia Game In this programming exercise you will create a simple trivia game for two players. The program will work like this Starting with player 1, each player gets a turn at answering 5 trivia questions. (There should be a total of 10 questions. When a question is displayed, 4 possible answers are also displayed. Only one of the answers is correct, and if the player selects the correct answer, he or she earns a point.
After answers have been selected for all the questions, the program displays the number of points earned by each player and declares the player with the highest number of points the winner.
To create this program, write a question class to hold the data for a trivia question. The question class should have attributes for the following data:
A trivia question
A possible answer 1
A possible answer 2
A possible answer 3
A possible answer 4
The number of the correct answer (1,2,3 or 4)
The question class also should have an appropriate __init__method, accessors, and mutators.
The program should have a list or a dictionary containing 10 question objects, one for each trivia question. See below
Here is my list: (it is based on what groups of different animals are called and the answer is next to it)
Question 1: a group of cats are called: 1. A clowder 2. A pace 3. A troop 4. A pack = 1
Question 2: a group of sharks are called: 1. A murder 2. A flock 3. A shiver 4. A army = 3
Question 3: a group of giraffe are called: 1. A battery 2. A pack 3. A herd 4. A tower = 4
Question 4: a group of dogs are called: 1. A brood 2. A pack 3. A troop 4. A sleuth = 2
Question 5: a group of clams are called: 1. A pod 2. A mob 3. A bed 4. A cast = 2
Question 6: a group of bears are called: 1. A sleuth 2. A gang 3. A trip 4. A band = 1
Question 7: a group of crows are called: 1. A cast 2. A pack 3. A tribe 4. A murder = 4
Question 8: a group of lions are called: 1. A pack 2. A pride 3. A troop 4. A romp = 2
Question 9: a group of whales are called: 1. A party 2. A team 3. A pod 4. A herd = 3
Question 10: a group of otters are called: 1. A romp 2. A troop 3. A pack 4. A leap = 1
Please use this list as your class question bank thank you
 Python Trivia Game In this programming exercise you will create a

PYTHON CODING ONLY-please use proper indentations Python Trivia Game In this programming exercise you will create a simple trivia game for two players. The program will work like this Starting with player 1, each player gets a turn at answering 5 trivia questions. (There should be a total of 10 questions. When a question is displayed, 4 possible answers are also displayed. Only one of the answers is correct, and if the player selects the correct answer, he or she earns a point. After answers have been selected for all the questions, the program displays the number of points earned by each player and declares the player with the highest number of points the winner To create this program, write a question class to hold the data for a trivia question. The question class should have attributes for the following data A trivia question A possible answer1 A possible answer 2 A possible answer A possible answer The number of the correct answer (1,2,3 or 4) The question class also should have an appropriate mutators initmethod, accessors, and The program should have a list or a dictionary containing 10 question objects, one for each trivia question. See below Here is my list: (it is based on what groups of different animals are called and the answer is next to it) Question 1: a group of cats are called: 1. A glowder 2. A pace 3. A troop 4. A pack-1 Question 2: a group of sharks are called: 1. A murder 2. A flock 3. A shiver 4. A army 3 Question 3: a group of giraffe are called: 1. A battery 2. A pack 3. A herd 4. A tower 4 Question 4: a group of dogs are called: 1. A brood 2. A pack 3. A troop 4. A sleuth 2 Question 5: a group of clams are called: 1. A pod 2. A mob 3. A bed 4. A cast 2 Question 6: a group of bears are called: 1. A sleuth 2. A gang 3. A trip 4. A band 1 Question 7: a group of crows are called: 1. A cast 2. A pack 3. A tribe 4. A murder 4 Question 8: a group of lions are called: 1. A pack 2. A pride 3. A troop 4. A romp 2 Question 9: a group of whales are called: 1. A party 2. A team 3. A pod 4. A herd3 Question 10: a group of otters are called: 1. A romp 2. A troop 3. A pack 4. A leap 1 Please use this list as your class question bank thank you

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!