
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