Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi yaar,

I am doing project in asp.net using c# coding.Kindly help me for my project yaar.

QUIZQUESTIONS FORM


LABEL
RADIOBUTTON1
RADIOBUTTON2
RADIOBUTTON3
RADIOBUTTON4

LABEL
RADIOBUTTON5
RADIOBUTTON6
RADIOBUTTON7
RADIOBUTTON8

LABEL
RADIOBUTTON9
RADIOBUTTON10
RADIOBUTTON11
RADIOBUTTON12

LABEL
RADIOBUTTON13
RADIOBUTTON14
RADIOBUTTON15
RADIOBUTTON16

LABEL
RADIOBUTTON17
RADIOBUTTON18
RADIOBUTTON19
RADIOBUTTON20

LABEL
RADIOBUTTON1
RADIOBUTTON1
RADIOBUTTON1
RADIOBUTTON1

label(maximum marks) label(your marks)
label (for displaying the maximum mark 5)
Textbox(to display marks scored by
the student who attended quiz)

Button(submit)

Button(list of programs)


I completed my codings upto displaying all the five questions.
After that,(I need codings for the below process).........

when the student answered for all the five quiz questions then they should click the submit button.After clicking the submit button their marks should be calculated and displayed in the textbox below your marks.
Posted
Comments
OriginalGriff 29-Mar-13 6:57am    
And what have you tried? Where are you stuck?
[no name] 29-Mar-13 7:18am    
I tried but i don,t know to code for the condition below yaar can you help me by providing codings i will be very much thank full to you..

when the student answered for all the five quiz questions then they should click the submit button.After clicking the submit button their marks should be calculated and displayed in the textbox below your marks.
Here the condition is,
1) If the student scored mark 3 and above only they are abel to download the list of programs. Otherwise they should continue the quiz again. only three chances must be given to student for attending quiz.
2) If the three chance is over for the student then also they can abel to download the list of programs but -2 mark should be given to them.
Anurag Sinha V 29-Mar-13 6:58am    
handle the button click in code behind...check the anwser of the user against the correct answer by using if loops and award mark for the correct answer and no mark for wrong answer..In the end..add all the marks and display in the lblyourmarks...try it..
pradiprenushe 29-Mar-13 6:59am    
Rather than using that much control use databound control like gridview. For your solution use hidden fields which having correct answer. You can check selected answer with respected hidden field on button click & get no of correct answer.
V. 29-Mar-13 7:03am    
And how are the marks calculated? Do you get negative points for wrong answers? How many points for a correct answer? Have you managed to handle the submit event handler? Where does the students name come from? Add more info before we can help you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900