• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

online exam simulation s/w

 
Ranch Hand
Posts: 2378
MySQL Database Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ranchers,
I m thinking of creating an online exam simulation s/w on SCJP or SCWCD in a web site that'll be freely hosted in www.mycgiserver.com . In this regard i want to know how many options i have? I m thinking of the following feasible solutions and want ur opines on which is better and why?
(1) Providing questions in seperate HTML forms and using JavaScript to contain the answers in some global variables. But the problem is how can i calculate the total marks obtained from all the forms.
(2) Using JSP a JavaBeans, not yet clear single bean or many beans are to implement!
(3) Using Servelts and Database. Here the problem is that cgiserver does not support MS-Access and provides support for mySQL... ...then i may have tio learn mySQL in a week-end.
(4) The combination of Servlets, JSP, Java Beans and if necessary some flat files. This is the idea i m thinking on and want to work work if possible for me.
Any kind of comments are welcome on this....

------------------
Muhammad Ashikuzzaman (Fahim)
Sun Certified Programmer for the Java� 2 Platform
--When you learn something, learn it by heart!
 
Ranch Hand
Posts: 2166
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ashik,
I started with the same some weeks ago, but I left it unfinished cause it got rather caotic, but I definitedly will pick it up, when I have more time next week. But it will be a complete redesign.
Greatest problem I encountered was that application-design stuff (and I believe that UML, Patterns makes a lot of sence, but I still have to learn a lot).
I would say that solution (4) is the most promising starting point. I would use XML instead of a simple flat file, because thats a more clean design basis.
Design was a little like this:
1. User starts application
2. Program takes a ArrayList (sorted) of questionIDs (based on Random Numbers). Map of questionIDs(key) with all pertinent information about the questions as ArrayList (from now on called AyrrayList_Sub)(not so structured data structure, my problem) is generated. Map is saved in HttpSession.
3. User navigates through the questions. Question-Html pages are displayed by JSP.
4. Selected answers are appended to ArrayList_Sub.
Comments???
Axel
 
Ashik Uzzaman
Ranch Hand
Posts: 2378
MySQL Database Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Excellent ideas Axel! I also should have thaught of xml files instead of flat files....now no. questions will be 59 uin total, so i think random question generating will not be necessary. U can check one created by anand chawla at : http://www.podar.net/scwcd ....

------------------
Muhammad Ashikuzzaman (Fahim)
Sun Certified Programmer for the Java� 2 Platform
--When you learn something, learn it by heart!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic