
You should start by prototyping what you need to do and define your categories right from the database. If you like the wire frame then you can go ahead and build the actual quiz Steve Obbayi http://blog.sobbayi.com

it seems limesurvey is meant to gather statistics...@Sobbayi> the quiz i have to create is meant to give feedback to the person taking the quiz and sort of put that person in a certain group depending on his answers. I am thinking of arrays but am not sure how exactly to go about it. On 7/16/10, Steve Obbayi <steve@sobbayi.com> wrote:
You should start by prototyping what you need to do and define your categories right from the database. If you like the wire frame then you can go ahead and build the actual quiz
Steve Obbayi http://blog.sobbayi.com
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Server donations spreadsheet http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1f... ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke

If you have MCQs of a fixed selection set then all you need to do is point out the question number and the answer selected. For this you can use String manipulation with delimiters for question and answer e.g. if question 20 was B , Question 21 A ... Question 30 C you can have this as 20:B;21:A;........;30:C; So the String will gather the question and related answer as someone clicks along. To display the Questions you can use a two D array with the row element being the question and the column elements being the choices and you can use a nested for loop for this. <im not the one who came up with this :) >

@Ndungu> thats what i was looking. If u are not the one who 2me up with it, please point me in the direction where i can get this info. I suppose i should be able to make it work. Olè skunkworks:-) Eva. On 7/16/10, ndungu stephen <ndungustephen@gmail.com> wrote:
If you have MCQs of a fixed selection set then all you need to do is point out the question number and the answer selected. For this you can use String manipulation with delimiters for question and answer e.g. if question 20 was B , Question 21 A ... Question 30 C you can have this as 20:B;21:A;........;30:C;
So the String will gather the question and related answer as someone clicks along.
To display the Questions you can use a two D array with the row element being the question and the column elements being the choices and you can use a nested for loop for this.
<im not the one who came up with this :) >

@Ndungu> thats what i was looking. If u are not the one who 2me up with it, please point me in the direction where i can get this info. I suppose i should be able to make it work. Olè skunkworks:-) Eva. On 7/16/10, ndungu stephen <ndungustephen@gmail.com> wrote:
If you have MCQs of a fixed selection set then all you need to do is point out the question number and the answer selected. For this you can use String manipulation with delimiters for question and answer e.g. if question 20 was B , Question 21 A ... Question 30 C you can have this as 20:B;21:A;........;30:C;
So the String will gather the question and related answer as someone clicks along.
To display the Questions you can use a two D array with the row element being the question and the column elements being the choices and you can use a nested for loop for this.
<im not the one who came up with this :) >

Hi Eva; It's Saturday, we were working late jana when we got to discussing your problem with a few logical ways to solve it using a program to pass time ;with a collegue (in the spirit of making positive contribution to skunkwks :) His was more logical, let me see if I can find him and convince him to give more details of the string and array idea... Sent from my iPhone On Jul 17, 2010, at 11:32 AM, Eva Kimathi <evakimathi@gmail.com> wrote:
@Ndungu> thats what i was looking. If u are not the one who 2me up with it, please point me in the direction where i can get this info. I suppose i should be able to make it work.
Olè skunkworks:-)
Eva.
On 7/16/10, ndungu stephen <ndungustephen@gmail.com> wrote:
If you have MCQs of a fixed selection set then all you need to do is point out the question number and the answer selected. For this you can use String manipulation with delimiters for question and answer e.g. if question 20 was B , Question 21 A ... Question 30 C you can have this as 20:B;21:A;........;30:C;
So the String will gather the question and related answer as someone clicks along.
To display the Questions you can use a two D array with the row element being the question and the column elements being the choices and you can use a nested for loop for this.
<im not the one who came up with this :) >
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Server donations spreadsheet http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1f... ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke

i would really appreciate that Stephen, a lot... Am trying out the 2d array... On 7/17/10, Stephen Ndungu <ndungustephen@gmail.com> wrote:
Hi Eva; It's Saturday, we were working late jana when we got to discussing your problem with a few logical ways to solve it using a program to pass time ;with a collegue (in the spirit of making positive contribution to skunkwks :)
His was more logical, let me see if I can find him and convince him to give more details of the string and array idea...
Sent from my iPhone
On Jul 17, 2010, at 11:32 AM, Eva Kimathi <evakimathi@gmail.com> wrote:
@Ndungu> thats what i was looking. If u are not the one who 2me up with it, please point me in the direction where i can get this info. I suppose i should be able to make it work.
Olè skunkworks:-)
Eva.
On 7/16/10, ndungu stephen <ndungustephen@gmail.com> wrote:
If you have MCQs of a fixed selection set then all you need to do is point out the question number and the answer selected. For this you can use String manipulation with delimiters for question and answer e.g. if question 20 was B , Question 21 A ... Question 30 C you can have this as 20:B;21:A;........;30:C;
So the String will gather the question and related answer as someone clicks along.
To display the Questions you can use a two D array with the row element being the question and the column elements being the choices and you can use a nested for loop for this.
<im not the one who came up with this :) >
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Server donations spreadsheet http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1f... ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Server donations spreadsheet http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1f... ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
participants (4)
-
Eva Kimathi
-
ndungu stephen
-
Stephen Ndungu
-
Steve Obbayi