Personality Test

In careers class, you probably completed some tests to help diagnose your learning style. In you have ever read a teen magazine there are always tests about "what type of friend are you?" and other such nonsense.

Your assignment is to code one of these tests so that it automatically totals the user's score as they complete it. Of course your program will be visually appealling and have many instructions so your user can easily follow it.

Design

Document Details

Requirements

Rubric

Note: you can NOT move on to a higher rubric category without completeing previous categories.

  1-2 3 4 4+
Websites 3 websites. Some variety of citing. Outline of what is in each website. Correctly cited websites. A creative and diverse list of websites. Sites that no one else has in the class.
List of 5 Personality Tests A list of 5 tests. Briefly explain each one. Noting positive and negatives of each option. A creative and diverse list of ideas. Ideas that no one else has in the class.
Choice of Test A clear choice. A justification. Two reasons it is the best choice. Creative choice or outstanding justification.
List of Questions, Scoring System < 10 questions. 10 questions. Scoring or answers noted. Very complete scoring and answer scheme. Easy to follow.

 

Code

Your code should be:

  1-2 3-4 5-6 7 8
Formatting Some titles, some instructions, 2 ASCII. 5 ASCII somethings (titles or pictures) Has been spelling and grammar checked. Dialog boxes - pictures, instructions, input. Print Slow Especially well formatted. Extra features galore.
Functions Input and Output. Basic Math (+, -, /, *). Ifs. &&, ||, ! have all been used. Switch, ?, mod, math functions or other extra features. Especially well coded. Extra features galore.
Complexity Basic program only. Couple of hundred lines of code. > 400 lines of code. Attempts at extra features. Creative. Well coded. Elegant use of features.

Starting Code - Kids won't get this.

import javax.swing.*;
   public class quiz
   {
   public static void main (String args [])
   {
   new quiz ();
   }
   public quiz ()
   { //your code goes here
 }
   public double round (double num, int digit)
   {
   double num2 = num * Math.pow (10, digit);
   double num3 = (num2 - ((int) num2)) * 10;
   num2 = ((int) num2);
   if (num3 >= 5)
   num2++;
   return num2 /= Math.pow (10, digit);
   }
   public void printSlow (String s)
   {
   for (int i = 0 ; i < s.length () ; i++)
   {
   System.out.print ("" + s.charAt (i));
   //sleep for a bit after printing a letter
   try
   {
   Thread.sleep (100);
   }
   catch (InterruptedException m)
   {
   ;
   }
   }
   System.out.println ();
   }
   protected static ImageIcon createImageIcon (String path)
   { //change the red to your class name
   java.net.URL imgURL = quiz.class.getResource (path);
   if (imgURL != null)
   {
   return new ImageIcon (imgURL);
   }
   else
   {
   System.err.println ("Couldn't find file: " + path);
   return null;
   }
   }
   } //class!