Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

questionnaire in second life

Dominique Laville
Registered User
Join date: 24 Apr 2008
Posts: 84
04-24-2008 07:39
hi
I have to implement a virtual questionnaire in a Second Life.

It is a multiple-choice questionnaire. I want to use a blackboard to display the questions and several colored spheres representing the answers.

The user can move to or select a sphere to select an answer.

Do you know something which could be interesting for me ?

thanks,
Patrick
Papalopulus Kobolowski
working mind
Join date: 11 Aug 2006
Posts: 326
04-24-2008 10:50
Maybe its more easy to make yis with dialogs and not with multiple prims like a board, and qhen the cuestionarie its finish it the result can be stored in a external database before restored to the initial state, I already make somenting like that in my store some time before, the prim when was touchet ask some "question " to the customer with a multiple choice in the dialog if he o she give the correct answer the cuestionaire continue to the next cuestion and so.

Try with llDialog and some fixed variables for the cuestions or maybe a notecard with the cuestions and the script takes the info and then put into the cuestionarie.
Johan Laurasia
Fully Rezzed
Join date: 31 Oct 2006
Posts: 1,394
04-24-2008 21:53
From: Papalopulus Kobolowski
Maybe its more easy to make yis with dialogs and not with multiple prims like a board, and qhen the cuestionarie its finish it the result can be stored in a external database before restored to the initial state, I already make somenting like that in my store some time before, the prim when was touchet ask some "question " to the customer with a multiple choice in the dialog if he o she give the correct answer the cuestionaire continue to the next cuestion and so.

Try with llDialog and some fixed variables for the cuestions or maybe a notecard with the cuestions and the script takes the info and then put into the cuestionarie.



Read the question... he wants a blackboard to display the questions, and sphere's for making multiple choice answers. It would be just as easy to script it as he wants, and the results could be saved to a database, or reported to an avatar just as easily.
Papalopulus Kobolowski
working mind
Join date: 11 Aug 2006
Posts: 326
04-25-2008 00:18
From: Johan Laurasia
Read the question... he wants a blackboard to display the questions, and sphere's for making multiple choice answers. It would be just as easy to script it as he wants, and the results could be saved to a database, or reported to an avatar just as easily.

Sorry.... I just giving it another point of view......
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
Newgy's two pennies worth
04-25-2008 05:07
There are a number of questionaire systems already around that use the dialog approach and could be used as a starting point. Theres probably still one of my early attempts posted on the forum someplace. To convert to a blackboard wouldn't be a huge effort, it would basically just change the function that generates the dialog to one that displays on the blackboard, and likewise the way the answer is collected. The core of the system wouldn't change, it would still just be collating data and then posting it somewhere for use.

To implement a blackboard look at something like XYText or one of its derivatives.
If you want to include graphics in the questions then a texture based system (rather than text based) could also be implemented or even a hybrid.

Using linked (or even unlinked) prims as buttons would be simple enough, they would just message the main script when selected.

The buttons could be made reasonably adaptive, i.e. they could have their own text / texture displays (mini blackboards really - "which of the pictures is a cat?" type idea) and include auto disable if no answer is associated with them.
_____________________
I'm back......
Johan Laurasia
Fully Rezzed
Join date: 31 Oct 2006
Posts: 1,394
04-25-2008 20:36
I've began work on such a system using XY text. It's a chalkboard with a 40 character by 12 line display. I've got the display working, now, I'm working on a system where the instructor can create a notecard with questions, possible answers, and the correct answer (for the chalkboard to grade the question). The setup will be as such:

1. What color is the sky?

A. Red
B. Blue
C. Green
D. Yellow

//
aBcd
**

2. Who's buried in Grant's tomb?
A. Grant
B. Washington
C. Lincoln
D. Nixon

//
Abcd
**
etc...

The instructor will enter this information into the notecard, and the first portion before the // will be the display, and the // tells the chalkboard that the next line is the possible answers, with the correct answer being upper case, and the wrong answers lower case. The ** will denote the end of the entire question, and a 2nd, 3rd, 4th, etc, can be added below it.

The script will read the notecard one question at a time, so as to not limit the number of questions loadable by the script, and put the limit at the size of a notecard (about 64k). So, hundreds of questions will be possible. Once a test is completed, the chalkboard will score the test and return the results. I need to hammer out a control system, (I'm thinking a notecard with instructor names that will allow who will get the control menu), and hammering out the logic for allowing multiple avatar's to take the test simultaneously. If you're interested, IM me in world, and I'll show you where I'm at to this point. When finished, this item will be up for sale.

UPDATE: Well, I've got it parsing the notecard, extracting the question, and embedded answer key, and then displaying the question portion, and determining the correct answer (A,B,C, or D). I also added 4 'answer balls', labeled them with hover text, and have them informing the main script when the button has been pushed, and what button it is. I'm considering scripting it such that multiple avatars could take a test at the same time, but there's a few issues to address there. I think I'll get it working for one avatar, and then work on making it multi user.
Johan Laurasia
Fully Rezzed
Join date: 31 Oct 2006
Posts: 1,394
04-26-2008 20:48
Well, I got to thinking about multiple avatars in the same room taking the same test on the same machine, and I started to think about the white dotted line that appears when you touch an object, while it's useful as a pointer, it's not all that great for test taking, as it indicates what people are touching. I was discussing this with a friend, and he mentioned the better route would to be to make an accompanying hud that each test taker wears (and clicks answers via the hud), so as not to give away the choice being made, so I'm moving into that direction. Just curious, I'm not seeing anyone else posting on this thread, so is anyone out there keeping up with it, or am I just talking into the wind?
Dominique Laville
Registered User
Join date: 24 Apr 2008
Posts: 84
05-12-2008 06:51
Hello, sorry for the delayed answer, the email notifications were off and I read your very interesting post only now. I guess you contacted me on Second Life, but I didn't know who you were...

I'm interested in seeing your project, I'll send you an IM in Second Life. I think our projects are very similar except for the the fact I don't need a multi-avatar system.

Basically my idea is:

1 - a blackboard displaying the question
2 - when the question is displayed, a certain number of spheres are created in front of the avatar
3 - a when the avatar touch a sphere, this sphere change color and after some seconds all the spheres disappear
4 - a new question is displayed in the blackboard a new spheres are created

I hope you are still following this post.
bye