Adding wrong answers to a quiz

Hi there I have this code demo for a quiz that I downloaded from a old question answered by redesign. I was wondering how I would add a flase anaswer option. Is it just a case of adding another button?
Any help would be much appiciated....
i = 0;
sym.$("btn").click(function(){
          i++;
          sym.play("s" + i);
          if (i==1){
                    q1 = 20;
                    //sym.$("question1").html(q1);
          if (i==2){
                    q2 = 10;
                    //sym.$("question2").html(q2);
          if (i==3){
                    q3 = 60;
                    //sym.$("question3").html(q3);
          var FinalScoreHolder = q1 + q2 + q3;
          if (i=4){
                    //var FinalScoreHolder = q1 + q2 + q3;
                    sym.$("grade").html("You scored "+FinalScoreHolder+"%");
                    if (FinalScoreHolder >= 89) {
                    // play the timeline from the given position (ms or label)
                    sym.play("pass");
                    } else {
                    // play the timeline from the given position (ms or label)
                    sym.play("fail");

Hi
In the demo, I can only see the option to click one button to continue with the quiz, I was wondering how I would implement maybe 2 or 3 possible answers with one answer being the correct one and the others being flase.
George

Similar Messages

  • Can a Quiz show Wrong Answers at End?

    I have found tutorials outlining how to make a simple quiz that says if you got the individual question right or wrong.
    My client would like to display the wrong answers "AT THE END". Is there something possible along these lines?
    Thanks:)

    Hopefully never too late to chip in...
    You can certainly show the user what they got right and wrong, or only what they got wrong as you see fit, but it is not a simple matter to do. A lot will depend on the length of the quiz, the number of registers you are using to create it and so on. However, in just the same way that you can keep track of how many you scored, you can also create a system that takes you through a number of screens to say what you got wrong.
    However, you cannot automatically generate a list of the incorrect answers and present them as a single screen (or menu) unless you have only got a very few questions in total. This is because you need to create a screen for every single possible combination of answers and pick the right one from the whole lot.
    Instead, what you do is show a screen saying something like "you got five wrong... click to see them" and then present the viewer with a series of five screens that they can click through to see where they went wrong.
    It isn't a straightforward task for anyone who has not scripted a DVD before... but it is possible to do.
    How many questions are there in total on your quiz?

  • Take quiz, review wrong answers, take quiz again. Possible?

    I am building an application that teaches middle-school math. The teaching goes like this:
    1. Learner watches a flash video math lesson, e.g., how to do exponents.
    2. The learner takes a multiple choice quiz.
    3. If the learner misses any questions, they can choose to watch a short video showing how to solve that specific problem correctly.
    Repeat steps 2-3 until final score is 100% or until they choose to stop.
    Does Captivate 4 have the capability to do this sort of thing? Specifically, is there a way to:
    Isolate and/or track the individual questions that were answered incorrectly and provide a link to a specific slide that shows how to do it correctly.
    AND
    Start another quiz -- from scratch -- allowing learner to take quiz again.
    The key in this concept is that the learner be able to take the quiz as many times as they like, watching review videos for those questions they get wrong.
    Does anyone have experience with this paradigm? Thanks.

    You could do this during the quiz (when the student gets the wrong answer, you could give them a message to watch the remedial video, and after watching the video, they could re-attempt the question they answered incorrectly).

  • Captivate 4 - Go back a screen and Wrong answer wont pick up

    Captivate 4 is driving me mad !
    Got a large course in Cap 4, system training, theres various click area interactions.
    If i preview the slides in Captivate or publish it i get the same bug...
    I'm asked to click on a button, i click away and get the wrong answer feedback. All fine, i click on the button and i move to the next screen.
    If i then click on back to go to the previous slide, if i try to click away to get the wrong answer it never comes up.  The hotspot is there so if i click on the button which its over i can go forward.  But for some reason the wrong answer feedback never appears a second time.
    I've deleted it, added a new one, same as before, just W/A feedback, checked to 'infinite attempts' but it only seems to appear once.  If i go back to the page and get the wrong answer nothing !
    Got a major deadline coming up soon, dont expect this basic bug to be appearing, never had these problems in Cap 3.
    Arrgh.  Any ideas ?

    Not sure that I can help on this, but I have a general clue.
    In general, you must go forward to go backward when scoring.  The <BACK button is not what I am referring to.  Try an interim slide that is AFTER your scored interaction.  It might provide a message like:  Thank you for trying, but your answer was not correct on the first try.  Click Continue to review that concept again...     CONTINUE
    The Continue button is the link back with the GoTo feature of the button.
    You can also GoTo slides before the interaction to prep them.
    I am not sure about this for interactions (it is true for Quizzes)... Use Must take Quiz to Continue should be enabled for Quizzes in the global settings.
    Hope this helps
    Joe C.

  • Reviewing Slides On Wrong Answer?

    When in questions is there a way of reviewing previous slides when a wrong answer is given; for example:
    A standard presentation of 50 slides is viewed and then candidates are taken to the question slides
    If question 1 is answered correctly it moves onto question 2
    if question 2 is answered incorrectly the candidate is then taken taken to the relevant slide (say slide 30) and returned to question 2 for another attempt.
    The only way I have managed to do this so far is to do a slight workaround by changing the way the reporting works i.e. duplicating the relevant reiew slides and putting them after the question slides.  Unfortunately this means the only way I can record their scores is to show quiz attempt not the native scoring results because on each review (out of the quiz) it resets the scores and shows an overall quiz fail for each wrong answer.  This obviously isn't the correct way of reporting quiz scores i.e.
    Number of questions set
    Incorrect answers
    Correct answers
    Percentage
    Pass/Fail
    This means that using this workaround I'm not getting the level of reporting normally available
    So my question is simply, is there a proper way I can record the correct scores and still retain the ability to review wrong answers?  This approach encourages a pro-active way to learn instead of penalising people for incorrect answers and allows them to learn without having to sit through a long presentation more than once - hence me wanting keep this style and be able to get full featured reporting.
    I apologise if I'm being a little long-winded in my explanation or indeed if I'm missing something pretty basic with the software.
    Many thanks in advance for anyone that may be able to help me with this
    Kind regards
    Martyn

    Hello Martyn
    Do not know if this has anything to do with etiquette, just did not know if you were asking me or the other user more help.
    As we both explained: with the Question slides that are in CP (will call them the default Quiz slides) this will not be that easy. You will have to give a lot of attempts for the Quiz to the user to make this possible. There is no way to change the system variables that store the score (such as cpQuizInfoTotalProjectPoints). If you want to realize your workflow you need to construct the Question slides yourself. That is why I offered some articles I published about this subject in CP5.
    You are not the first to ask for this kind of workflow, plan to work out an example but that will not be done today because of other priorities (some exams to be graded are waiting for me). The idea in steps is:
    Create your question slides using non-interactive objects like text captions, images and interactive ones buttons, text entry or click boxes (that get a score); this will not be possible for all kind of Question types, dragging p.e. as for matching or sequence questions is not possible, hotspot is possible.
    Be sure that all slides (to be reviewed before giving a second answer after an incorrect answer) are in the quizzing range (between first scored 'thing' and the score slide)
    On incorrect answer, create an advanced action that jumps to the slide(s) to be reviewed; on finishing those slides have an action that returns them to the question slide.
    On re-entering the question slide, re-initialize the score (to 0 if there is no 'penalty' because of the review) so that the user can answer again.
    Is this the workflow that you want? Which kind of question slides are you using? Is there a 'penalty' if the review possibility is used, I mean is the score that can be obtained lower than the first one?
    Lilybiri

  • How can I show the correct answers in a quiz on Adobe Presenter 10?

    Hi all.
    I'm newer on Adobe Presenter.
    I've finished all questions on the quiz, but I like to show the correct answer after the user select a wrong answer and submit it.
    I've tried many thing and the correct answer isn't displayed.
    Thanks.
    Rafael.

    The correct answers are displayed after the quiz is completed and the user Reviews the quiz. If you want the correct answer to be revealed to the user in the quiz, then you will need to customize the feedback messages to state the correct answer. They are just text boxes on the slides, so you should be able to easily add text to them.

  • How to reveal correct answer in a quiz question

    Hello,
    I am using Captivate 5.5.
    Is there a way to allow the user to view the correct answer to a quiz question without having to keep clicking on the different options until they select the right one? I want to allow infinite attempts but equally, if they are in a hurry or just run out of patience, I want the user to see what the actual answer is straight away. Our learners are medics and they often have limited time.
    So the sequence could be something like this.
    1. User enters question page.
    2. Selects one answer. It is incorrect and retry message appears.
    3. User selects another answer. It is incorrect and retry message appears
    4. User decides that he/she wants to see the correct answer before moving on. Selects 'reveal answer' and is able to see what the correct answer is.
    5. User moves onto next slide (this could be another quiz question or any other type of slide
    In another package I have been using, we can specify a 'reveal correct answer' button which shows the correct answer straight away. Is there something like that in Captivate?
    Thanks....

    I think what you mean is that the quiz question's Failure action doesn't trigger until the final attempt and that would never happen if attempts is set to Infinite.  So if you were only incrementing the variable when the quiz question registered final failure then you'd only get one crack at incrementing the variable. yes.  My bad.
    However, if you are using Multiple Choice questions, you can also trigger actions using the Advanced Answer Option.  This will trigger an action when a particular answer is selected.  So if you set this for each incorrect answer, you could increment the variable each time they select the wrong answer.
    You can also use this same Advanced Answer action to execute a conditional action that first checks the value of the variable and then shows the rollover caption or increments the variable as needed.
    Say you create a variable called WrongAnswer and initialise it with a value of 0.  Then you create a Conditional Action called CheckWrongAnswer that looks like this:
    If WrongAnswer is equal to 1 assign Wrong Answer with 2, (then on the next line) Show RolloverCaption, ELSE assign Wrong Answer with 1.
    This shows the rollover caption after the second attempt resulting in an incorrect answer.

  • Clear Text Entry after wrong answer

    Hello,
    I'm searching a way for clearing text entry box after the
    user entered a wrong answer.
    If this it's not possible to do that with text entry, is it
    possible to do that with captivate question quiz, or somthing else?
    Thank you
    Miky Aviel

    The problem is that the text-entry object is a "scoring
    object" and it is considered best practice NOT to allow movement to
    and fro once a scoring object has been answered.
    The solution is to move forward through the eLearning
    experience, not back and forth. So how does that apply? Well, one
    way is to duplicate the slide, including the text-entry object, so
    the same problem can be offered for solution in the slide(s)
    following the failed effort. The same principals apply to question
    slides ... if you want the user to retake a failed effort, you
    should add (for instance) an "explanation" slide after the question
    slide and route the use to that following failure; then the
    following slide can be a re-creation of the question slide if you
    want to give the student a second chance at the same question.
    There are problems with doing it this way - for one, the
    scoring is going to be "skewed" - or could be unless the second
    attempt is weighted at "zero". But since the basic learning concept
    of asking each question only once is being thrown out anyway, the
    skewed scoring may not be a big deal (?).

  • Wrong answer revision and retest

    I am making a training package that consists of multiple
    manuals and quizzes, all are separate projects, upon finishing each
    manual the choice is given to take the quiz. If they accept the
    they jump over to the relevant quiz, but I've been instructed to
    alow each person to reread a certain section if they get it wrong,
    which means they'd have to jump back to a specific page on a
    separate project, then reread only a desired few pages and then
    jump back to the quiz answer a different question on the same topic
    all while keeping the flow of scoring intact!
    This doesn't sound possible, so is it possible to get given
    the wrong answers at the end of the quiz to review and see which
    answers they got wrong then they can retake the manual and then the
    quiz (can I alter the questions the second time around?).
    Thanks,
    Jeremy

    This appears to have been repeatedly posted. Possibly due to
    a forum hiccup. Please direct any replies to the original thread.
    You may do this by
    clicking
    here

  • Resetting Wrong Answers only in a Drag and Drop Interaction

    Hello All,
    What I would like to see in the interaction is  -
    Learner drags items to a specific location
    clicks submit to check answers
    only the wrong answers reset to the original screen location
    feedback displays
    Learner trys again and repeats until all items are in the correct location.
    Is this scenario possible with the drag and drop?  I can get everything but the "only the wrong answers reset" to work.
    Any help would be greatly appreciated.
    Thank you in advance
    Kelli

    Not possible. Same as for normal question slides: Reset will reset everything. You can have the wrong answers getting back immediately, but it will not wait for Submit in that case.

  • HT5312 My stops because of the wrong answer to the secret question, and I want to use it for evil application from Apple Store?

    My stops because of the wrong answer to the secret question, and I want to use it for evil application from Apple Store?

    Hello mr sami,
    Thank you for the details of the issue you are experiencing with your security questions.  I found an article with some useful information if you cannot remember the answers to your security questions:
    What should I do if I don't remember the answers to my Apple ID security questions?
    Try answering them at least once to see if you can get them right, even if you are not sure you remember the answers to your security questions.
    If you are confident you can't remember them, try one of the following:
    If you have three security questions and a rescue email address
    sign in to My Apple ID and select the Password and Security tab to send an email to your rescue email address to reset your security questions and answers.
    If you have one security question and you know your Apple ID passwordsign in to My Apple ID and select the Password and Security tab to reset your security question.
    If you have one security question, but don't remember your Apple ID password
    contact Apple Support for assistance. Learn more about creating a temporary support PIN to help Apple confirm your identity when you contact Apple Support.
    Note: If you have forgotten your password and answer your security questions incorrectly too many times in a row, you will be unable to try to answer your security questions for a period of time. During that time you will not be able to reset your password and will not have access to your account.
    You can find the full article here:
    Apple ID: All about Apple ID security questions
    http://support.apple.com/kb/HT5665
    If you continue to have issues, please contact our Account Security Team as outlined in this article:
    Apple ID: Contacting Apple for help with Apple ID account security
    http://support.apple.com/kb/HT5699
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Numbers gives wrong answer.

    On my numbers (v3.1) spreadsheet on Mac (Mavericks, iMac , OSX 10.9.1), 83177.2-78342.53 comes out 4834.66999999999.  I'm pretty sure this is the wrong answer (there should be no repeating digit at the end.  What gives?

    John,
    this is a fact of compuing that there finite precision available.  People write very sophisticated and expensive libraries for extrememly large and small numbers.  At 11 decimal places you are past the believable, and reaonable, number of digits of precision.
    the error of 4834.66999999999 vs 4834.67 is:
    |4834.66999999999 - 4834.67| / 4834.67
    this is: 2.068e-13 percent
    I would suggest using the number of decimal places that are reasonable for your data and get something done rather than focusing on this detail.  It is not a problem and, while I am not an Apple employee, based on my experince as an embedded developer, and Electrical Engineer, and based on my experience with Apple you can expect no change with regard to this.
    If you are very interested in precision and range of digital values peruse this information:
    http://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic
    and this:
    http://www.nongnu.org/hpalib/
    And this:
    https://gmplib.org

  • How do I change the color of the highlight when hovering over answers in the quiz?

    Hi
    I am trying to change the color of the highlight when hovering over answers in the quiz.  My companies standard font color is grey and so is the highlight when i hover answers.
    Is it possible to change this?
    Thanks
    Charlene

    No, it is (still) not possible to change that hover color, not even in CP8.0.1. I recommend to enter a feature request: Adobe - Feature Request/Bug Report Form

  • Java Calculator, Minus & multiplication button gets wrong answer?

    import java.awt.event.*;
    import java.applet.Applet;
    import javax.swing.*;
    import java.awt.*;
    public class calc extends JApplet implements ActionListener
         JTextField input = new JTextField("");
         JButton numbers[] = new JButton[10];
         JButton add = new JButton("+");
         JButton equals = new JButton("=");
         JButton minus = new JButton("-");
        JButton multiply = new JButton("*");
        JButton divide = new JButton("/");
        JButton clear = new JButton("AC");
         int num1 = 0;
         int num2 = 0;     
         String oper = " ";
         public void init()
              setLayout(null);
              setBackground(new Color(227,131,125));          
              Design();
         public void Design()
              int x = 1;
              int y= 1;
              int wi = 10;
              int he = 50;
              input.setSize(250,30);
              input.setLocation(10,10);
              add(input);
              add.setSize(80,30);
              add.setLocation(280,50);
              add.addActionListener(this);
              add(add);
              minus.setSize(80,30);
              minus.setLocation(280,90);
              minus.addActionListener(this);
              add(minus);
              multiply.setSize(80,30);
              multiply.setLocation(280,130);
              multiply.addActionListener(this);
              add(multiply);
              divide.setSize(80,30);
              divide.setLocation(280,175);
              divide.addActionListener(this);
              add(divide);
              equals.setSize(80,30);
              equals.setLocation(190,175);
              equals.addActionListener(this);
              add(equals);
             clear.setSize(80,30);
              clear.setLocation(100,175);
              clear.addActionListener(this);
              add(clear);
              while(x<=10)
                   if (x==10)
                   numbers[x-1] = new JButton("0");
                   numbers[x-1].setSize(80,30);
                   numbers[x-1].setLocation(wi,he);
                   //numbers[x-1].setBackground();
                   else
                   numbers[x-1] = new JButton(Integer.toString(x));
                   numbers[x-1].setSize(80,30);
                   numbers[x-1].setLocation(wi,he);
                   wi = wi + 90;
                        if(x%3==0)
                             he = he + 40;
                             wi = 10;
                   numbers[x-1].addActionListener(this);
                   add(numbers[x-1]);          
                   x++;
         public void actionPerformed(ActionEvent act)
              int x = 0;
              while(x<10)
                   if(act.getSource().equals(numbers[x]))
                        if(x==9)
                             input.setText("0");
                        else                    
                        input.setText(Integer.toString(x+1));
                   x++;
              if (act.getSource().equals(add))
                   num1 = Integer.parseInt(input.getText());
              else if(act.getSource().equals(equals))
                   num2 = Integer.parseInt(input.getText());
                   input.setText(Integer.toString(num1 + num2));
                   if (act.getSource().equals(minus))
                   num1 = Integer.parseInt(input.getText());
                   oper = "minus";
              else if(act.getSource().equals(equals))
                   num2 = Integer.parseInt(input.getText());
                   if(oper.equals("minus"))
                        input.setText(Integer.toString(num1 - num2));
                   if (act.getSource().equals(multiply))
                   num1 = Integer.parseInt(input.getText());
                   oper = "multiply";
              else if(act.getSource().equals(equals))
                   num2 = Integer.parseInt(input.getText());
                   if(oper.equals("multiply"))
                        input.setText(Integer.toString(num1 * num2));
    The addition button is working, but i cant seem to make minus and multiply button work, they get wrong answer when i use them.. what could bee the problem with my code

    Sorry, but I don't see a simple fix in this code here (Hopefully I'm wrong and someone else will see this, but I don't) Because of this, I recommend that you fully scrap this code and start over from square one. I don't think that you really "see" your logic here. To help you see what you are trying to do, you need to separate your logic from your GUI. Try to build a non-gui calculator that works via simple console menu. Once you get this working, then use this code to create a GUI calculator.

  • My apple ID security questions are my problem ,, yesterday I've tried to answer them but wrong answers and I'm sure 100% that no one changed them because no one really knows about it

    My apple ID security questions are my problem ,, yesterday I've tried to answer them but wrong answers and I'm sure 100% that no one changed them because no one really knows about it

    If you hav a veified rescue email assigned to your Apple ID you can get an email sent to reset the security questions. Follow the link below to do this:
    http://support.apple.com/kb/HT5312
    If you do not have a verified rescue email then you will need to contact AppleCare for assistance. Follow the link below to find the number in your country:
    http://support.apple.com/kb/HE57

Maybe you are looking for

  • Purchase Order - Pricing Error related to Freight

    Hello All, In Purchase Order there is a condition type related to Frieght . Though it is defined manual the system is picking up automatically for few materials. Do note that no condition records exists for the same. But by default whenever i create

  • Steps for: Internal table - convert to PDF - Sotre PDF files on UNIX Server

    Hi Experts,                   My requirement is to Split an internal table into multiple tables and generate a PDF for each of them.Then I have to place these files on a unix server directory. How can I achieve this? This seems like a very high level

  • Clone disks across a network

    Hi, Just want to know if there is a way that I could clone 2 disks, one being a mirror onto 2 other disk on a different server, all disks are the same and the OS Solaris 10? My thought is that I would need to break the mirror remove one disk and repl

  • Can Oracle (TM) Supply the Oracle Card Readers at the Retail Stores?

    C:/MyProgram.SunOracle.dvi The United States's Board of Education has the SUN RAY 3 on every desktop facility in the School Building throughtout the Nation this new school year 2011 (Fall). We cannot find the Hardware at any retail stores around the

  • Authentication from third party product to Portal samaccountname=domain\ID

    I am working on a proof of concept at our company to pass authentication from windows ISA server to EP 7.0 Sp10. ISA server is setup as reverse proxy, both ISA and EP are connected to same LDAP. We are able to successfully authenticate at the ISA ser