home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 December / CMCD1203.ISO / Software / Shareware / Programare / toolkit / toolkitsetup.msi / Instal01.cab / _5AF8E4725E1B4B66B308FBAAB5DF5F19 < prev    next >
Text File  |  2003-11-07  |  1KB  |  26 lines

  1. var modTitle = "Evaluation Title";
  2. var copyright = "⌐ 2003 My Organization Name";
  3. var useSCORM = true;
  4. var shuffleEvalQuestions = true;
  5. var intNumQuestions = 1;
  6.  
  7. EvalID = arrQuestions.length;
  8. thisID = EvalID+1;
  9. arrQuestions[EvalID] = new objEvalQuestion(thisID, "radio");
  10. arrQuestions[EvalID].evalQuestion = "Enter a question here.";
  11. thisOpt = arrQuestions[EvalID].evalDistractors.length;
  12. arrQuestions[EvalID].addDistractor(true);
  13. arrQuestions[EvalID].evalDistractors[thisOpt].txtValue = "1";
  14. arrQuestions[EvalID].evalDistractors[thisOpt].txtDisplay = "True";
  15. thisOpt = arrQuestions[EvalID].evalDistractors.length;
  16. arrQuestions[EvalID].addDistractor(false);
  17. arrQuestions[EvalID].evalDistractors[thisOpt].txtValue = "2";
  18. arrQuestions[EvalID].evalDistractors[thisOpt].txtDisplay = "False";
  19. arrQuestions[EvalID].evalRationale = "What should it say when the learner answers this question?";
  20.  
  21. if(intNumQuestions > arrQuestions.length)
  22.     intNumQuestions = arrQuestions.length;
  23.  
  24. //Used to randomize order of questions
  25. if(shuffleEvalQuestions)
  26.     arrQuestions = shuffle(arrQuestions);