Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write this code iThe project will be written in Java. The final demonstration of the project will be in the week stated in the Course

Write this code iThe project will be written in Java. The final demonstration of the project will be in the week stated in
the Course Syllabus. The project team to implement the project will be composed of 3 or 4 CMPE114
students from Section 02. Earn Diamond contains two part:
Part 1: Ask&Answer
Part 2: Play
In Part I the program will enable the user to select the category of questions to be answered. There
are three categories: 1) Easy questions, 2) Moderate Questions, 3) Difficult Questions. The project will
be developed in a Graphical User Interface. Thus, elements like textboxes, panels, frames, labels,
checkboxes etc. should be used appropriately and as needed.
After category is selected a pre stored question will randomly be selected and displayed to the user.
The user then selects the answer from the choice of answers.
When the user correctly answers an easy question the user will get 10 points.
If the user correctly answers a category 2 question, s/he will get 30 points.
Correct answers to the difficult questions will add 50 points to the total points earned by the user.
At any point during the execution, the user may stop Part 1, namely Ask&Answer part, and may start
Play game part.
In Part II Play game part, a 6x6 matrix appears on the screen. There also
appears a magic tool and any random number of diamonds located in the
matrix. By using the navigation buttons on the screen, the user aims to move
the magic tool and go and touch the diamond by the magic tool. When the
diamond is touched by the magic tool, diamond disappears from the matrix
and added to the basket of the player. As a result, the user earns 100 points.
Part II duration is determined by the points collected in Part 13 seconds.
When time is up, the user turn is finished.
Questions to be used in Part 1 should be stored in a csv file. The format of the cvs file should be:
Question no, question category, question text, option a, option b, option c, option d, correct choice
Examples are:
1,1, What is the capital of Trkiye, Ankara, zmir, London, Hakkari, a
1,2, What is the square root of 196,11,25,16,4, cn java
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Database Concepts

Authors: David M Kroenke, David J Auer

6th Edition

0132742926, 978-0132742924

More Books

Students also viewed these Databases questions

Question

=+ What does the usage of these products abroad look like?

Answered: 1 week ago