I want to make a Quiz software using Java .(I am making this for Educational purposes for students and professionals)
It will be a desktop application and any one can install on their system and play with it.
In it there will be Categories.
User can select any one quiz under category .User can cancel Quiz at any time.
After finishing the Quiz he can review his answers. Questions will be in random order and I will be able to change the database of questions (I don`t know there will be need to use a database or not)
There will also be Image questions in which user have to identify the image and answer question based on image.
It is very much similar to ExamLab .If any one of you can tell how to do it And the skills that will be needed
Mahtab Alam (OCJP )
Blogs : alamsql.blogspot.in , alammahtab.blogspot.in
If there aren't too many questions you could have a 3d array of [category][question][answer]. A separate array would hold images.
This would be an excellent problem for getting started with SQL (replace the arrays with tables).
It's a no-brainer. We just need to take it to the next level to turn this into a win-win situation. The best practice is to get rid of the low-hanging fruit first. Ping me with an agenda so we can go flag up on this thing
For a side information, ExamLab was a desktop app long time ago. There were many conflicts on screen resolution and platform-specific configurations that made me convert it to a web app.
As per your requirement, a light-weight solution might not need a database at all. What all you need is a way to structure your question-answer pairs in relation to categories. Depending on the number of questions, storing each category with its questions and answers in a single file would do the trick.
Devaka Cooray wrote:For a side information, ExamLab was a desktop app long time ago. There were many conflicts on screen resolution and platform-specific configurations that made me convert it to a web app.
Looks like someone didn't use proper LayoutManagers
Shukran for your reply , I am going well in building this app.
But facing one problem. I have four JRadioButton as choices
When user selects JRadioButton j1 as answer for question 1 and clicks next, when question 2 is displayed that JRadioButton (that he chosen as answer of question 1) is shown selected by default for next question.