Selection doesn't work

Topics: Developer Forum, User Forum
Mar 17, 2009 at 8:36 AM
Hello. I'm trying to use randomization and selection in quiz I develop, but it seems, that selection doesn't work. I'm creating a quiz, which should show only limited number of variants for each question. I really don't know, is it the problem of SLK, or maybe I understood something wrong. Look at the code below, where I'm trying to select 2 from 3 variants for the question #1. Well, randomization works perfectly, but I still see all the three variants of question in navigation. If I had used selection of only one variant, I could set isvisible="false" for the variants so that student would see only title "Question #1" in menu, while clicking on it he would open the first one question from the randomized set. But if I want to select at least 2 variants or create my own navigation buttons, using "forward" rules etc., I don't know how to exclude unnecessary variants. May be you can help me? :)
The code I'm trying to use for selection in imsmanifest.xml:
<organizations default="MyTest">
   <organization identifier="MyTest" structure="hierarchical">
      <item identifier="TEST">
         <item identifier="QUEST1" isvisible="true">
            <title>Question #1</title>
            <item identifier="QUEST1_1" identifierref="QUEST1_1_REF" isvisible="true">
                <title>Question #1.1</title>
                    <imsss:sequencing>
                      <imsss:controlMode flow="true" />
                      <imsss:rollupRules objectiveMeasureWeight="1.0" />
                </imsss:sequencing>
-              </
item>
         <item identifier="QUEST1_2" identifierref="QUEST1_2_REF" isvisible="true">
            <title>Question #1.2</title>
                <imsss:sequencing>
                  <imsss:controlMode flow="true" />
                  <imsss:rollupRules objectiveMeasureWeight="1.0" />
                    </imsss:sequencing>
            </
item>
    <item identifier="QUEST1_3" identifierref="QUEST1_3_REF" isvisible="true">
       <title>Question #1.3</title>
           <imsss:sequencing>
             <imsss:controlMode flow="true" />
             <imsss:rollupRules objectiveMeasureWeight="1.0" />
                </imsss:sequencing>
         </
item>
<imsss:sequencing>
   <imsss:controlMode flow="true" />
   <imsss:randomizationControls selectCount="2" randomizationTiming="onEachNewAttempt" reorderChildren="true" selectionTiming="onEachNewAttempt" />
   <imsss:rollupRules objectiveMeasureWeight="0.3333333" />
</imsss:sequencing>
</item>
<!--  here are the items fot other quesrions (#2, #3 etc.) and their variants (2.1, 2.2...) are placed -->
</item>
      </
organization>

</
organizations>
Mar 17, 2009 at 8:38 AM
Argh, posting has broken some closing tags but I hope, it's still understandable.
Coordinator
Mar 19, 2009 at 4:42 AM
Best thing to do would be to create an issue and attach your quiz (or a smaller sample) to it for others to try.

Richard
SLK Co-ordinator
http://blog.salamandersoft.co.uk