Home / Expert Answers / Computer Science / using-java-nbsp-a-jframe-as-a-software-developer-you-have-been-tasked-with-designing-a-simple-math-pa509

(Solved): using JAVA  a JFrame As a software developer you have beentasked with designing a simple Math ...



using JAVA  a JFrame As a software developer you have been tasked with designing a simple Math quiz application that will help grade 5 learners develop their mathematical skills.
The Math quiz app should do the following:
1. Allow the student to choose what type of questions they would like to test themselves on (Addition, Subtraction, Multiplication, Division)
2. Choose the number of questions they would like to answer
3. Specify if they want their quiz to be timed or not
Program Validation:
• The user is not allowed to choose multiple types of questions to be asked
• If the user chooses Random under No. of Questions the maximum questions that the program computes should be 15
• The timer should count down from 30sec. When the time reaches 15 sec the font should change to red.
• If the user selects the Off Radio button, the textbox to display the time should be hidden from the GUI

• The program should display how many times the user answered the question correctly or incorrectly and show the respective output in the correct textfield box.
• The Exit button should only appear when the user has run out of time, or the user has completed the quiz. When the Exit button is pressed the application should terminate
• The Check Answer button should be used to check if the answer is correct or incorrect. A message box should appear to let the user know if the answer is correct or not
• The Start button will start the quiz

Tried:
Correct:
0
\[
=? ?
\]
Exit
Check Answer
Start

Tried: Correct: 0 \[ =? ? \] Exit Check Answer Start


We have an Answer from Expert

View Expert Answer

Expert Answer


Game.java import java.util.Scanner; import java.util.Arrays; public class GameEnhancedFinal { static public void main(String[] args) { Scanner scan=new Scanner(System.in); int noOfPlayers,noOfQuestions,num1,num2,answer,remainder,playerscore=0,playert

We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe