Hi programmers
I am developing a standalone application that is used to conduct objective type exam.
The problem is as follow:
Suppose a student is giving a exam of 10 questions and while attempting the exam he/ she can navigate the questions.
Initially if he chooses 1st question's answer and goes to next and suppose he thinks that answer to 1st question is wrong and he goes to 1st question by clicking previous button and changes the answer.
When he/She is done with the exam and when they click on the end exam button i want that whatever they should get a review of attempted questions and there answers .
For reference i am using a Forms:
Form
---->It has a multiline textbox which is used to display the question from the database.
----> It has a groupbox control which contain 4 radiobuttons to display the choices to users.
-----> It has 3 buttons named as follow:
1. Previous: to go back to previous question.
2. Next: To move to next question.
3. End Exam: To finish the exam.
Now as i am using Microsoft Sql Server 2005 for storing questions and answers.
How this can be done.
Loading
Sam HobbsPosted Oct 9, 2011, 9:32 PM
One thing you could do is to create a UserControl and then use ten instances of that UserControl and then set all except one to be hidden and disabled. Then when you need to go backward or forwared just change which one is shown and enabled.
Or you can simply write logic so that when the button is pushed to go forward or backward then you simply change the contents of the textbox and the radio buttons. That seems easy enough to do; if there is something you need help with then the best thing to do is to ask specific questions and usually it is best to create separate threads for each question.
Ravindra RodgePosted Oct 9, 2011, 10:41 AM
Suthish NairPosted Oct 5, 2011, 12:11 PM