| JREF Homepage | Swift Blog | Events Calendar | $1 Million Paranormal Challenge | The Amaz!ng Meeting | Useful Links | Support Us |
![]() |
|
|
|
|||||||
| Notices |
| Welcome to the JREF Forum, where we discuss skepticism, critical thinking, the paranormal and science in a friendly but lively way. You are currently viewing the forum as a guest, which means you are missing out on discussing matters that are of interest to you. Please consider registering so you can gain full use of the forum features and interact with other Members. Registration is simple, fast and free! Click here to register today. |
|
|
#1 |
|
Student
Join Date: Nov 2002
Posts: 26
|
Help with Java
Hi,
I am looking for a little help with a Java quiz See Quiz. It was created using the Hot Potato program. At the min all it does is give whoever takes the quiz their score but what I'd like it to do is a statisical analysis of all participants, so that it shows scores, avg score, what was the hardest/easiest question etc. The source files can be edited to do this but i dont have any knowledge in Java so have no clue where to start. Is there anyone out there who can HELP!!!!! Druid. |
|
__________________
www.theskepticexpress.com A credulous mind . . . finds most delight in believing strange things, and the stranger they are the easier they pass with him; but never regards those that are plain and feasible; for every man can believe such. Samuel Butler, Characters (1667-9) |
|
|
|
|
|
#2 |
|
Muse
Join Date: Jan 2006
Location: Melbourne, Australia
Posts: 645
|
Honestly, what Hot Potato seems to output (technically, more JavaScript than Java) is a pretty long way from what you're looking to do, and looks to be a bit of a mess (despite having some decent internal comments).
The basic problem you're up against is this: the quiz is in client-side javascript (meaning it gets downloaded to the user's machine and run entirely there), while gathering stats and such will need to take place server-side (on some centralized server, probably the site that hosts the quiz page). It's probably easy enough to sneak in a call to "phone home" at the end of the quiz with the results, but you'd still have to set up some sort of server to receive the call (and store the results, etc), which will be non-trivial. I'd almost say you'd be better off cutting-and-pasting the text (with permission, of course into some other quiz-hosting site that's equipped to aggregate results...That's my opinion -- seek a second, naturally. |
|
__________________
I can find no fault with Pascal's Wager. And so, I've decided to worship Thor. |
|
|
|
|
|
#3 |
|
Student
Join Date: Nov 2002
Posts: 26
|
|
|
__________________
www.theskepticexpress.com A credulous mind . . . finds most delight in believing strange things, and the stranger they are the easier they pass with him; but never regards those that are plain and feasible; for every man can believe such. Samuel Butler, Characters (1667-9) |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|