Create an online multiple choice quiz, JAVA Programming

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.

Posted Date: 3/1/2013 2:27:29 AM | Location : United States







Related Discussions:- Create an online multiple choice quiz, Assignment Help, Ask Question on Create an online multiple choice quiz, Get Answer, Expert's Help, Create an online multiple choice quiz Discussions

Write discussion on Create an online multiple choice quiz
Your posts are moderated
Related Questions
Performance of interpreted byte codes is sufficient but it can be improved much more than that. Byte codes are changed into machine language within no time, this speed of implement

Differentiate Local and Global Variables? Local variables are the variables have limited scope although global have bigger scope Local variables are not accessed through others

Write a program of else statement in java? The else statement in Java // This is the Hello program in Java class Hello { public static void main (String args[]) { if (

What is a variable in Java program? It's a memory location. Memory location is given some name. Memory location is being assigned some value. Value may change o

What limitations are placed on method overriding ?


Luminous Jewels - The Polishing Game Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various lum

Computer application and program. Project Description: I require a project done. It is a computer desktop application program. It is not very hard. Skills required: Any

The Local Systems IP Address and Port Number and the Remote System's IPAddress and Port Number.

Explain JAR Archives ? HTTP 1.0 uses a separate connection for every request. When you're downloading several small files, the time required to set up and tear down the connec