Re: Selection of questions

Martin Ertl <[email protected]>
Newsgroups gmane.comp.apache.mod-survey.general
Message-ID <[email protected]>
I remember Mike once did random selection by using a workaround
with pre-parsed perl snippets:

for example on a ROUTE-tag:
build an array with all possible followers, then select one of
them with rand() function and print this to CONTINUE parameter



Joel Palmius wrote:
> Sorry to say, but there is no random selection in Mod_Survey as of 
> today. The randomization that exists is that the order of questions 
> within a MATRIX block can be randomized.
> 
>   // Joel
> 
> 
> On Sat, 30 Oct 2004, Radim Novotny wrote:
> 
>> Hi,
>>
>> I'v found mod_survey a hour ago. I'm looking for similar product, 
>> thanks for it.
>>
>> My use-case is the following: one quiz will have for example 75 
>> quiestions, but
>> user gets only 15 of them (randomly selected). User can simply 
>> remember answer
>> to 15 questions when they are the same, but remember answers to questions
>> randomly selected from large range is not so easy.
>>
>> It is possible to do this with mod_survey?
>>
>> My second use-case is more difficult: there will be 75 questions 
>> again, but
>> divided to 5 sub-groups of 15 questions. User gets 15 questions, selected
>> pseudo-randomly :-). The first question presented to user will be 
>> selected from
>> five first questions (one of first questions from five sub-groups), 
>> the second
>> question, presented to user, will be selected from five second 
>> questions etc.
>>
>> What about this?
>>
>> Thanks,
>> Radim
>>
>> Skickat av Radim Novotny <[email protected]>
>> till survey-discussion
>>
> Skickat av Joel Palmius <[email protected]>
> till survey-discussion
> 
>
signature.asc (application/pgp-signature, 254 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBg7k0fjpzR4RmB04RAuVLAJwOfKeksY5ujWFQZ6lYxBnIsB5L/ACfWr/r
Jc3JSTlCVL+/Vx/hKQMGMhU=
=kGrn
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.