Welcome Guest, Not a member yet? Register   Sign In
Making Quizzes
#1

[eluser]digital_frog[/eluser]
I'm working on an educational website and need the ability to give our users quizzes. I don't need the ability to create questions built into the site, but I need to be able to randomize the answers as well as the order of the questions. I've tried Savsoft Test, but it has a different user auth system and seems to be malfunctioning with the dates, automatically thinking that tests have expired. Would I be better off programming a quiz module on my own?
#2

[eluser]vipercat[/eluser]
I'm running into the same problem. Maybe try http://igivetest.com/. I'm just probably going to buy it at this point since there's no other option.
#3

[eluser]vipercat[/eluser]
maybe moodle.com. i'm looking into it right now.
#4

[eluser]Faisal Alghamdi[/eluser]
You can create two tables Questions and Answers.

Question
-----------
..quiz_id..
..questions..

The questions should be in one field like this: What is your name?@How old Are you?@What .. split the string with @ to split the questions into an 2d-array.. Do the same for the answers and if you have multiple type of questions,, you might have a field contains the type of the questions which is linked to another table called Options.

When you retrieve the data, make sure you put them into 2d-array or a matrix so you can have a good data structure to manipulate the data easily.

I hope this helps.
#5

[eluser]digital_frog[/eluser]
[quote author="vipercat" date="1343974680"]maybe moodle.com. i'm looking into it right now.[/quote]

Moodle is an entire framework on it's own. I have run it and it is a decent system for what it's meant for, but it's not being used for this project. It has useful features for running classes, but all we need is a quiz and a way to track progress.
#6

[eluser]digital_frog[/eluser]
[quote author="Faisal Alghamdi" date="1343989764"]You can create two tables Questions and Answers.

Question
-----------
..quiz_id..
..questions..

The questions should be in one field like this: What is your name?@How old Are you?@What .. split the string with @ to split the questions into an 2d-array.. Do the same for the answers and if you have multiple type of questions,, you might have a field contains the type of the questions which is linked to another table called Options.

When you retrieve the data, make sure you put them into 2d-array or a matrix so you can have a good data structure to manipulate the data easily.

I hope this helps.[/quote]





I've actually already implemented something kind of like this. I have columns for questions, their answers, which quiz their for, as well as what type (ie:multiple choice/true false) of question it is. Now I'm working on finding ways to shuffle the order of the questions and answers as well as keeping track of the shuffle for when the answers are being checked.




Theme © iAndrew 2016 - Forum software by © MyBB