Welcome Guest, Not a member yet? Register   Sign In
mcq exam website
#1

[eluser]shohedshakil[/eluser]
I want to make a website for exam.Here mcq exams will be scheduled and any member can register for exam and i will show live countdown of exams . And in exam i want to show time count down and a exam page full of mcqs .When examinee clicks options of mcqs ,then he submits.If time is over automatic submission is made. how can i do real time mcq exam?
would anyone kindly help me?
#2

[eluser]nagata[/eluser]
Do you have any knowladge in CI for a start?
#3

[eluser]shohedshakil[/eluser]
ya i am making this website , just now i want to make mcq exam part.
#4

[eluser]kanjimaster[/eluser]
Your question is a bit vague, but I'll have a go. Apologies if I misinterpret it.

This doesn't have much to do with Codeigniter. As the events to which your exam site needs to respond are triggered by actions in the examinee's browser (e.g. a answer, clock ticking down, clock reaching zero) it's really about the javascript that you write to manage these events and to ajax answers back to the server.

Apart from the initial page load, you'd use Codeigniter functions only to record each answer and provide a response back to the browser (which may simply be an acknowledgement that it's been received and recorded.
#5

[eluser]shohedshakil[/eluser]
Thanks for your reply , you correctly got the point. i don't know javascript , ajax that was the problem . And i am a beginner of CI ,so i didn't figure out what should i do.Whatever thanks a lot to you.
#6

[eluser]kanjimaster[/eluser]
Here are a few recommendations based on what I'd do ...

I'd use jQuery and the [email=http://jquery.malsup.com/form/]jQuery form plugin[/email] to greatly simplify the javascript.

Then you can build an ajax handler in Codeigniter in pretty much the same way as you'd load a page, except that the output will be returned to browser as an ajax response rather than a fresh page load (jQuery's ajax wrapper will take care of that for you).

It is a big, big learning curve. But once past it you'll be surprised at how little code you need to write to achieve all this - jQuery and Codeigniter do all the hard work for you, and nowadays a bit of an understanding of javascript is indispensible for anybody doing web development.
#7

[eluser]shohedshakil[/eluser]
@kanjimaster
Thanks. i will try to follow your instruction. Hope, it will end easily with little code.
Smile




Theme © iAndrew 2016 - Forum software by © MyBB