Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Answer in python and use objects and Classes, All instructions are given below in image Question 2 - Fractions You are designing a quiz game

Answer in python and use objects and Classes,

All instructions are given below in image

image text in transcribed

Question 2 - Fractions You are designing a quiz game to help elementary school students with fraction calculations. All fractions must in the form "n/d Your game should have a set of 40 addition, subtraction, multiplication, division questions between two fractions stored inside a file. o Each question should be on one line and be formatted to look as follows 3/4 + 4/5 5/8 * 9/4 . Numerators should be between 1 and 15 Denominators should be between 2 and 15 The fractions should always be lowest terms This can be a 1 - 4 player game. Display a question to the player and then ask for the answer O Reward the player points for getting the answer to that question correct. Question was correct the first time 4 Points if it is in lowest terms 3 Points if it is not in lowest terms Question incorrect the first time but correct if given another chance. 2 Points if it is in lowest terms 1 Point if it is not in lowest terms Question incorrect after the second guess O Points. Your program should always display the correct answer in lowest terms so the player can learn from their mistakes. There would be no need to display the correct answer in lowest terms if they already answered it in lowest terms. . When the game is over, for each player, display the # of points scored, % of correct answers . Display the winner HAND IN THE .txt FILE WITH YOUR QUESTIONS PLEASE

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions