Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently September 28th, 2024, 7:16 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Re-taking Missed Quiz Questions
PostPosted: February 7th, 2012, 1:57 am 
Offline

Joined: October 31st, 2011, 3:21 pm
Posts: 28
Opus: Pro 9.6
OS: Windows 7 Professional 64 bit
System: Intel i7-2600k, 16 GB RAM, Nvidia Quadro 4000
Hello All,

I developed a simple, random quiz. The user answers 2 questions from a pool of 5. If both questions are answered correctly, the user scores a 100. If the user does not score a 100, he must retake the quiz, but only retake the questions he missed.

This is where it gets confusing for me. I'm kind of lost on how to approach this. I'm sure somebody knows how to do this!

Thanks!


You do not have the required permissions to view the files attached to this post.


For this message zmayor has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Re-taking Missed Quiz Questions
PostPosted: February 7th, 2012, 9:52 am 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Is the retake immediate or after the Content Package is relaunched (or both)?

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: Re-taking Missed Quiz Questions
PostPosted: February 7th, 2012, 3:44 pm 
Offline

Joined: October 31st, 2011, 3:21 pm
Posts: 28
Opus: Pro 9.6
OS: Windows 7 Professional 64 bit
System: Intel i7-2600k, 16 GB RAM, Nvidia Quadro 4000
Hi Mack,

The retake will have to work on both instances. I forgot to mention that, my brain was turning into mush last night!

Thanks!


For this message zmayor has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Re-taking Missed Quiz Questions
PostPosted: February 7th, 2012, 4:37 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
This may just add to the mush.

As you want to draw from a persistent diminishing random pool, you'll need to set-up the random order beforehand. This is probably most practically achieved using a shuffled array and the quiz page names:

Code:
myQuestions[0] = "Quiz Page A";
myQuestions[1] = "Quiz Page B";
myQuestions[2] = "Quiz Page C";
myQuestions[3] = "Quiz Page D";


Then shuffle (the function is posted on this board somewhere or download it from my site.)

Code:
myQuestions[0] = "Quiz Page D";
myQuestions[1] = "Quiz Page A";
myQuestions[2] = "Quiz Page B";
myQuestions[3] = "Quiz Page C";


You then use the standard GotoPage function to traverse the array:

Code:
GotoPage(myQuestions[x])


The zero index value 'x' gets incremented to move through the random pages. If you were just staying within the publication until the user passed, then this method would be enough (though it is possible to do something simpler with actions).

However, as you require persistence between LMS attempts, you'll need to save the array contents and index value at the end of the session and repopulate them on loading. You haven't specified LMS or SCORM version so assuming the basic, this will be cmi.suspend_data read and write. Though if your course allows, it could be done with more finesse using cmi objectives or interactions.

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


For this message mackavi has been thanked by : zmayor


Top
 Profile Visit website  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group