Create an online multiple choice quiz, JAVA Programming

Assignment Help:

Create an online multiple-choice quiz using JSP/Servlets technology. The quiz should draw questions from an array of predefined questions (at least fifteen). You should use a meaningful topic for your questions and there should be no repeated questions/answers. Questions should be implemented based on a class Question as follows:

  • 2 Question constructors (default and non-default)
  • Private fields

 

1) Description (String)

2) Answers (String array or ArraList of four elements)

3) CorrectAnswer (integer that represent the position of the correct answer in the array/ArrayList)

4) Difficulty (integer that can have values of 1 - easy, 2 - average, or 3 - hard)

  • get/set methods for all the fields

 

Every question should be displayed in a different page and proper navigation should be provided for users to move through questions of the quiz. Quiz should randomly pick 5 questions from the array of questions but they should all be different questions. 

The last page of the quiz should display the score of the quiz both as a "percentage" and "x out of 5" format. 

 1.  Quiz should keep track of how many users have taken the quiz since the server  has been restarted and how many users are currently taking the quiz. This  information should be displayed for all users to see.

2.  Quiz should contain at least one question from each difficulty levels (1 - easy, 2 - average, 3 - hard)

3.  If the user scores less than 60%, on the last page of the quiz, they should be given an option to retake the quiz. 

4.  If they score 60%, "You have barely passed the test." message should be displayed.

5.  If they score 80%, "Congratulations! You almost got a perfect score." message should be displayed.

6.  If they score 100%, "You are a genius!" message should be displayed.


Related Discussions:- Create an online multiple choice quiz

MATLAB, Requested figure handle in use by another object, how do i fix this...

Requested figure handle in use by another object, how do i fix this?

What is jms provider, An execution of the JMS interface for a Message Orien...

An execution of the JMS interface for a Message Oriented Middleware (MOM). Providers are executed as either a Java JMS execution or an adapter to a non-Java MOM.

Student, short Java application that stores words in an Array or ArrayList....

short Java application that stores words in an Array or ArrayList.

Explain about the dynamic java, Dynamic JAVA Class and type informatio...

Dynamic JAVA Class and type information is kept around at runtime. This allows runtime loading and inspection of code in a very flexible way.

Android Development Project, Task I have an Android mobile app project tha...

Task I have an Android mobile app project that I''m trying to get profiles to transfer by connecting to a server at 23.23.175.213 port 1337. I have to send a json string to the se

What is the core container module, This module is gives the fundamental fun...

This module is gives the fundamental functionality of the spring framework. In this module BeanFactory is the heart of any spring-based application. The whole framework was built o

Simple Java Project Please help, I have a project due tonight and I need he...

I have a project due tonight and I need help setting up the project I know what I need to put in the class but not sure how to set it up properly

Illustrate jdbc, JDBC stands for Java Database Connectivity: It is an ...

JDBC stands for Java Database Connectivity: It is an API which gives easy connection to a wide range of databases. To connect to a database we have to load the appropriate dri

What does the keyword "synchronize" mean in java, What does the keyword " s...

What does the keyword " synchronize " mean in java. What are the usage and disadvantages of synchronization?

Draw a use case diagram in uml, Extend the given drawing program (the versi...

Extend the given drawing program (the version that allows undo and redo) as follows: a) Allow the user to select font and font size; user should also be able to boldface, underl

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd