Great Deal! Get Instant $25 FREE in Account on First Order + 10% Cashback on Every Order Order Now

Assessment Details: This assessment is designed to assess develop your skills in computer programming using Java. You are required to develop Java programs to find the solution of given problem. In...

1 answer below »
Assessment Details:
This assessment is designed to assess develop your skills in computer programming using Java. You
are required to develop Java programs to find the solution of given problem. In completing this
assessment successfully, you will be able to learn problem analysis, algorithm design and how to
map those algorithms into meaningful computer programs, which will help in achieving ULO1, ULO-
2, ULO-3, and ULO-4.
Write a program to create a “Calculator Quiz-Test” application to perform addition of three random
questions. When the program starts your application should display 2 random numbers ranged from
1-100 and asking user to enter the addition of these 2 numbers (similarly you have to create 2 more
sets of question) and finally you should display the number of correct and incorrect questions and
display the total marks as well. A correct answer will earn 10 marks and an incorrect answer will get -
5 (negative mark).
When the program ends you should display the following,



1) Number of correct and incorrect questions
2) Total marks obtained
3) The answer for all generated question.


Sample output:
Welcome to “Calculator Quiz-Test”

Question:1
What’s the total of 2+3?
5

Question:2
What’s the total of 5+5?
10

Question:3
What’s the total of 10+10?
21

Results:
Total number of correct answers - 2
Total number of incorrect answers - 1
Total mark XXXXXXXXXX
Answer for the quiz:
2+3 = 5
5+5 = 10
10+10 = 20

Thank you taking the “Calculator Quiz-Test”. See you again.!


Hint: Loop and IF statement need to be used in this question
Coding: (Copy and Paste Source Code in word document. Format your code using Courier 10pts).
Take the screenshots of your final results and paste them in your word file. Assessment Details:
This assessment is designed to assess develop your skills in computer programming using Java. You
are required to develop Java programs to find the solution of given problem. In completing this
assessment successfully, you will be able to learn problem analysis, algorithm design and how to
map those algorithms into meaningful computer programs, which will help in achieving ULO1, ULO-
2, ULO-3, and ULO-4.
Write a program to create a “Calculator Quiz-Test” application to perform addition of three random
questions. When the program starts your application should display 2 random numbers ranged from
1-100 and asking user to enter the addition of these 2 numbers (similarly you have to create 2 more
sets of question) and finally you should display the number of correct and incorrect questions and
display the total marks as well. A correct answer will earn 10 marks and an incorrect answer will get -
5 (negative mark).
When the program ends you should display the following,



1) Number of correct and incorrect questions
2) Total marks obtained
3) The answer for all generated question.


Sample output:
Welcome to “Calculator Quiz-Test”

Question:1
What’s the total of 2+3?
5

Question:2
What’s the total of 5+5?
10

Question:3
What’s the total of 10+10?
21

Results:
Total number of correct answers - 2
Total number of incorrect answers - 1
Total mark XXXXXXXXXX
Answer for the quiz:
2+3 = 5
5+5 = 10
10+10 = 20

Thank you taking the “Calculator Quiz-Test”. See you again.!


Hint: Loop and IF statement need to be used in this question
Coding: (Copy and Paste Source Code in word document. Format your code using Courier 10pts).
Take the screenshots of your final results and paste them in your word file. This assessment is designed to assess develop your skills in computer programming using Java. You
are required to develop Java programs to find the solution of given problem. In completing this
assessment successfully, you will be able to learn problem analysis, algorithm design and how to
map those algorithms into meaningful computer programs, which will help in achieving ULO1, ULO-
2, ULO-3, and ULO-4.
Write a program to create a “Calculator Quiz-Test” application to perform addition of three random
questions. When the program starts your application should display 2 random numbers ranged from
1-100 and asking user to enter the addition of these 2 numbers (similarly you have to create 2 more
sets of question) and finally you should display the number of correct and incorrect questions and
display the total marks as well. A correct answer will earn 10 marks and an incorrect answer will get -
5 (negative mark).
When the program ends you should display the following,



1) Number of correct and incorrect questions
2) Total marks obtained
3) The answer for all generated question.


Sample output:
Welcome to “Calculator Quiz-Test”

Question:1
What’s the total of 2+3?
5

Question:2
What’s the total of 5+5?
10

Question:3
What’s the total of 10+10?
21

Results:
Total number of correct answers - 2
Total number of incorrect answers - 1
Total mark XXXXXXXXXX
Answer for the quiz:
2+3 = 5
5+5 = 10
10+10 = 20

Thank you taking the “Calculator Quiz-Test”. See you again.!


Hint: Loop and IF statement need to be used in this question
Coding: (Copy and Paste Source Code in word document. Format your code using Courier 10pts).
Take the screenshots of your final results and paste them in your word fileThis assessment is designed to assess develop your skills in computer programming using Java. You
are required to develop Java programs to find the solution of given problem. In completing this
assessment successfully, you will be able to learn problem analysis, algorithm design and how to
map those algorithms into meaningful computer programs, which will help in achieving ULO1, ULO-
2, ULO-3, and ULO-4.
Write a program to create a “Calculator Quiz-Test” application to perform addition of three random
questions. When the program starts your application should display 2 random numbers ranged from
1-100 and asking user to enter the addition of these 2 numbers (similarly you have to create 2 more
sets of question) and finally you should display the number of correct and incorrect questions and
display the total marks as well. A correct answer will earn 10 marks and an incorrect answer will get -
5 (negative mark).
When the program ends you should display the following,



1) Number of correct and incorrect questions
2) Total marks obtained
3) The answer for all generated question.


Sample output:
Welcome to “Calculator Quiz-Test”

Question:1
What’s the total of 2+3?
5

Question:2
What’s the total of 5+5?
10

Question:3
What’s the total of 10+10?
21

Results:
Total number of correct answers - 2
Total number of incorrect answers - 1
Total mark XXXXXXXXXX
Answer for the quiz:
2+3 = 5
5+5 = 10
10+10 = 20

Thank you taking the “Calculator Quiz-Test”. See you again.!


Hint: Loop and IF statement need to be used in this question
Coding: (Copy and Paste Source Code in word document. Format your code using Courier 10pts).
Take the screenshots of your final results and paste them in your word file
Answered 1 days AfterMar 16, 2022

Solution

Neha answered on Mar 17 2022
33 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here