strange error in a multiple choice quiz
Hey - it's strange. I get no error statement, BUT the third option button is a wrong answer BUT not always - pretty darn weird.
qno var = 0;
var rnd1.
var rnd2.
Tick.Visible = false;
Cross.Visible = false;
var right_answers = 0;
var wrong_answers = 0;
Grammar.Visible = false;
Grammar.addEventListener (MouseEvent.CLICK, GrammarAction);
function GrammarAction(eventObject:MouseEvent) {}
Grammar.visible = false;
}
function change_question() {}
if {(tick.visible)
right_answers ++;
}
if {(cross.visible)
wrong_answers ++;
}
if {(qno == questions.length)
gotoAndPlay (2);
} else {
tick.visible = false;
cross.visible = false;
rnd1 = Math.ceil (Math.random () * 4); Randomize the answers
rnd2 = Math.ceil (Math.random () * questions.length)-1; Randomize questions
q.text = issues [rnd2];
if (questions [rnd2] == "x") {}
change_question();
}
questions [rnd2] = 'x '.
enable_disable (1);
if (rnd1 == 1) {}
opt1.text = answers [rnd2] [0];
opt2.text = answers [rnd2] [1];
opt3.text = answers [rnd2] [2];
opt4.text = answers [rnd2] [3];
}
if (rnd1 == 2) {}
opt1.text = answers [rnd2] [2];
opt2.text = answers [rnd2] [0];
opt3.text = answers [rnd2] [1];
opt4.text = answers [rnd2] [3];
}
if (rnd1 == 3) {}
opt1.text = answers [rnd2] [1];
opt2.text = answers [rnd2] [2];
opt3.text = answers [rnd2] [0];
opt4.text = answers [rnd2] [3];
}
if (rnd1 == 4) {}
opt1.text = answers [rnd2] [1];
opt2.text = answers [rnd2] [2];
opt3.text = answers [rnd2] [0];
opt4.text = answers [rnd2] [3];
}
}
}
function enable_disable (a) {}
if (a==0) {
shade1.mouseEnabled = false;
shade2.mouseEnabled = false;
shade3.mouseEnabled = false;
shade4.mouseEnabled = false;
}
if (a==1) {
shade1.mouseEnabled = true;
shade2.mouseEnabled = true;
shade3.mouseEnabled = true;
shade4.mouseEnabled = true;
}
}
change_question();
next_b.addEventListener (MouseEvent.CLICK, ButtonAction1);
function ButtonAction1(eventObject:MouseEvent) {}
qno++;
change_question();
}
shade1.addEventListener (MouseEvent.CLICK, ButtonAction2);
shade2.addEventListener (MouseEvent.CLICK, ButtonAction3);
shade3.addEventListener (MouseEvent.CLICK, ButtonAction4);
shade4.addEventListener (MouseEvent.CLICK, ButtonAction5);
function ButtonAction2(eventObject:MouseEvent) {}
enable_disable (0);
if (rnd1 == 1) {}
tick.visible = true;
tick.y = shade1.y;
} else {
cross.visible = true;
cross.y = shade1.y;
Grammar.visible = true;
trace (rnd1);
}
}
function ButtonAction3(eventObject:MouseEvent) {}
enable_disable (0);
if (rnd1 == 2) {}
tick.visible = true;
tick.y = shade2.y;
{ } else {}
cross.visible = true;
cross.y = shade2.y;
Grammar.visible = true;
trace (rnd1);
}
}
function ButtonAction4(eventObject:MouseEvent) {}
enable_disable (0);
if (rnd1 == 3) {}
tick.visible = true;
tick.y = shade3.y;
} else {
cross.visible = true;
cross.y = shade3.y;
Grammar.visible = true;
trace (rnd1);
}
}
function ButtonAction5(eventObject:MouseEvent) {}
enable_disable (0);
if (rnd1 == 4) {}
tick.visible = true;
tick.y = shade4.y;
} else {
cross.visible = true;
cross.y = shade4.y;
Grammar.visible = true;
trace (rnd1);
}
}
Stop();
Hello
Your rnd1... Try this...
trace (Math.ceil (Math.Random () * 3) + 1);
Best regards
Peter
Tags: Adobe Animate
Similar Questions
-
Problem with Multiple Choice Quiz
I tried several times to insert a multiple choice quiz success in my slides. The problem is that when I try to take the quiz (for a preview), I have to click several times and wait several boxes pop up coming (correct, click anywhere; incorrect, etc.). All these boxes pop up show before he let me go to the next slide. Anyone know what I need to change?
Are you found using the preview feature in presenter or switch to slide show view (F5) in PPT? Looks like you're watching just PPT presentation, who must play through all the animations on the slide.
You see the same questions if you publish the presentation on site and view the published version?
-
Hi all
This is my first post here, so apologies if I break the unwritten rules, or say something ridiculous, please bare with me.
So, I created a quiz of multiple choice in my multimedia project using Flash CS5 and wanted to know how (or if) I can integrate a scoring system for the existing quiz.
I created the quiz using the timeline and layers. For each question, there are three layers;
Layer 1 - Question w / four possible answers (only one is correct)
Layer 2 - correct answer
Layer 3 - incorrect answer
I use buttons to navigate through the timeline.
What I want to achieve is, at the end of the quiz, a score to generate based on the questions they got right.
I hope I've included everything you need.
Thanks for reading and possible assistance.
Create an action layer that extends along the timeline and frame 1 create an outcome variable. As you go with the quiz, addition/subtraction value to this variable to true or false answers. Until this layer extends until the variable is available to be changed, that in the end will be equal no matter what either believe it has accrued.
-
Multiple choice quiz slides - long delay when you click on the radio button
Using Captivate 5.5 and slides of quiz of multiple choices, when previewing the project, sometimes there is a delay after clicking on a choice. The delay is sometimes so long that the learner may feel like they are not able to select a radio button option. Does anyone know a way to speed up the appearance of the dot that appears when a learner clicks on a radio button?
Hi Jay,.
I would have asked to see the chronology. In a blog I explains the features of the glide of the Question and think that you can't find the answer here:
Short answer: on the timeline, you'll see a suspension point, which is used twice for the slides in question (see the two-step process in blog). Default setting is to have only one break point at 1, 5secs for a default slide duration of 3secs. The actions on the success and after the last attempt (see properties Quiz, accordion Action) are both set to "continue". This means that after the second stage when you expect to proceed immediately to the next slide, the reading head is just to continue until the end of the slide (length by default = 1.5secs). Wondering if you perhaps make longer editing.
What is possible: drag the point of suspension on the Timeline, close to the end of the chronology of the question slide. Or set the action to 'Go ├a next page' instead of continue.
Not sure if it will help because I do not see the timeline.
Lilybiri
-
Adding more than four levels of failure in a multiple choice quiz (5 Cp)
Hi-
I am currently using Captivate 5. In a quiz of multiple choice with five possible answers and only one good answer, I am only able to select up to three levels of failure. This means that if the student is wrong four times (and selects each of the four incorrect answers before finally choosing the right pair), he or she will not be served a failure with the fourth wrong answer message. Is there a remedy for this situation?
I would like to know if I was unclear, or if you could use more information.
Thank you!
wcramblit
Several slides question and answer do not have the option of advanced responses. Yet true/false questions do not have it. It's only for the Multiple choice questions.
You can save a feature request for this. Every vote helps little.
-
Can I add subtitles to my multiple choice question in Captivate?
I have a question multiple choice quiz that plays a sound file when the user selects the correct answer. Because the audio file is defined using a ' success' action, it is not placed on the timeline. Is there a way to add captioning in audio file even when it does not exist in the timeline?
Audio slide can easily turn into CC CC should be synchronized with the audio, and this is not possible in this case since you have no idea "when" the user will submit the answer. Way to go is to create a container of text (legend or form) with the text that you want to appear as CC) and use a tip (or shared if you're on CP7/8) who will play not only audio but also displays the text container.
-
Multiple choice questions and quiz Manager
This a question simple, but for some reason I can't fix it. In the quiz Manager, took me seven options for the multiple choice answer. However, only 5 appear on the screen, don't know where the other two went.
If anyone has experienced this? How can I fiz it?
Thank you!!!I answered my own question. The film size was not large enough. I did the full screen of canvas then changed the movie in smaller size.
-
Slide quiz - question Multiple choice problem
Hello
I am on Captivate 7 on Windows 7.
A small question about the multiple choice question type 7 of Captivate. I would like to if you answer correctly, you jump on a blade of some, and if you answer correctly, you jump to another slide. The part of the correct answer of it works fine, but when I do not answer correctly it doesn't. Indeed, I do jump to the slide, I want to, but when I come back to the question, the options are grayed out and I can't try the question again. If I change the attempts I can retry the question but I do not jump to the other slide before which I want.
So when the contestant answer correctly I would that he accesses a page that says "you have answered correctly, click here to learn more about the subject." The participant then jump to a slide explaining the domain issue and after that, the participant gets to try the question again. This part does not work for me. I jump to the slide, I want to, but can not try the question again or I can retry the issue but not go to slide I want before.
I hope you understand what I mean.
Any ideas?
Kind regards
Patrik
Google for more information about a function later and the Captivate 6 called remediation. There are some Youtube videos about it online.
Basically you gives access to a slide after failing to a question and then have the default action for a button on the slide to jump you the same question for another free attempt.
-
Generation of quiz multiple choice of automated text or excel file.
Is there a way to automatically generate questions multiple-choice an excel file or a text file, instead of manually create and enter data for each question?
A custom widget would be able to manipulate several slides to do this, or are they limited to a single slide?
Click on the link below. Captivate 7 has an ability to import.
-
MouseOver color in multiple choice questions?
How can I change the color of mouseover in multiple choice questions?
There is no solution to do it for the content of the SWF file (other than having a custom widget built).
If you post on HTML5 then the CpExtra widget allows you to do this:
-
Partial multiple-choice Questions with random pool
Hi, I am using Cp9.
I have a Quiz with multiple-choice using partial credit and it works fine. But if I put these questions into a pool and use random Question slides to assign issues, partial partition option is no longer available.
Thus, questions are always fully marked. Does partial rating with random questions in a pool?
Thank you.
Yep, according to Captivate manual, "unable to set partial scores for choice questions multiple pools in question.»
What a pity.
-
Captivate9 multiple choice questions
How do you change the default 2 responses for multiple choice 9 Captivate question slides?
Look in the properties of Quiz Panel, you can change the number of responses,
also if you have several correct answers etc.
-
Taking the multiple-choice question
Hello
I wish I had a standard multiple choice question. However, when I select the type 'class', the learner is not able to return to the issue later and change the answer and submit again.
I need to be more "free-play" rather than a locked assessment.
I tried the version of 'Investigation' of the questions multiple choice. However, he deletes comments "correct" and "incorrect." He proposes that the popup 'incomplete '.
Is anyway to have the choice multiple type "graduate" (including the "correct" and "incorrect" reactions after hitting Submit), but allow to the learner to go back and redo the answer and resubmit?
Thank you!
In a Captivate quiz, you authorize several attempts at the quiz question level as well as at the level of the quiz. However, Captivate designers felt that if your username you have the correct question while they wouldn't need to do it again. So the underlying concept behind several attempts is really that they are several UNSUCCESSFUL attempts. Ditto for the level of trivia. You can define several attempts to quiz, giving you the opportunity to have a Retake Quiz button on the results page of the Quiz that erases all the scores and directs the user to the first object scored in the project. However, if your user passes the test, this button does not appear.
If you want more flexibility, you will probably have to create your own quiz questions using interactive objects such as large areas of click, Smart forms, buttons and text entry boxes. Then you can pretty much make it work as you want.
-
Advanced answer Options for multiple choice with multiple answers questions
Is there a work around to provide feedback to questions multiple choice with multiple responses?
For example, I am preparing a question with four ansers, B and D are correct. If users chooses only B, then the feedback will be "B is OK, but there is a right answer."
Hello
Burst in to give you a link to a post Articles with some articles that I have published on the creation of custom questions. If you do not have to report to an LMS, which will be the way to go to be in total control. You will find perhaps inspiration here:
I find also included widgets very useful for creating custom question slides. Here is another link:
Widgets and custom questions - source list
Lilybiri
-
Ranking multiple choice of multiple responses
Hello! I am trying to create a quiz in Captivate 4, but I'm running into a bit of trouble. I am using multiple - answer multiple choice questions, but I want to rank in a granular way, instead of completely. So far, if a user forgets one answer or just checking one of them which is incorrect, the whole issue is counted wrong. I would like to be able to give the user of 10 points for each answer to the question (and possibly-10 points for each answer additional "bad").
Is it possible to change the ranking of these issues other than writing my own question widget?
Thank you! Tim
Hello
With question slides by default partial credit is not possible. However, since you are using CP4, you can build your own question slides, using legends, clickboxes (or buttons) and calculate the score on the use of variables and advanced actions. The other workaround is to create your own widget Question indeed.
Lilybiri
Maybe you are looking for
-
H8 - 1000 in.: h8 - 1000 in the list of compatible graphics cards
I would like to know/have a list of compatible graphics cards for H8 - 1000 in. currently, I have the GT 420 and I can't seem to find any compatible graphics card.i don't mind the upgrade of the power unit to adapt new graphics cards that require mor
-
Hello I just bought the HP Envy 5532 wireless printer and I'm having a few problems with black ink. At the present time, the printer recognizes the genuine hp cartridge and the ink for the black cartridge, but there is no black output when you print
-
G62-b51SI | XT896EA | G62 Notebook PC Window 7 Home Premium no boot
Laptop does not start, the self-test of the disk gives error codes 03F1, 0303 and 0301, how do I get it back
-
I am running Windows Vista and Windows Update fails to install three updates... KB2686833, KB2699988 and KB2709162... the error code is 8E5E03FB which I can't find a solution for anywhere... Please help Original title: anyone know where I can find a
-
Recovery partition resizing...
OK, something similar has already been asked here, but I have something slightly different. I want to resize my recovery partition to make it much larger and store data on this subject. Would he then still work as a recovery partition?