In order within a quiz - Forum

Forum Navigation
You need to log in to create posts and topics.

In order within a quiz

Is it possible to have an answer within a quiz that you have to place the answers in order

i.e you have A D C B  and put,

A = 1

D = 4

C = 3

B = 2

I understand it can be done with placing the letter with the question and using the answer to show the order, but this could make the question to long.

@m-burdess not sure if I'm understanding you well. Right now neoQuiz allows only to create Single or Multiple Choice questions but not to write text, numbers or to order a list. Sorry.

@luishp Yes, you are correct. I looked at using the "If" and having a named variable, but could not workout a code that would work.

NeoQuiz will allow you to have a text field, but could not find a method to use what was entered. If all show false you get "That's right!",even if you place no answer within the question. If you have one true, then you get correct if that one is checked, or false for the other three.

So I need to look for a work around.

"questions": [
{ // Question 1 - Multiple Choice, Single True Answer
"q": "What is the maximum speed entering a terminal platform?" ,
"a": [
{"option": "Speed <input type=text id=speed> miles", "correct": false},
{"option": "20 mph", "correct": false},
{"option": "15 mph", "correct": false},
{"option": "5 mph", "correct": false}, // no comma here
],
"correct": "<p><span>That's right!</span></p>",
"incorrect": "You need to work on that" // no comma here
},

 

@m.burdess,

I have already tested different way, but as I think best way for embedding multiple choice question is an array of JSON, like this:

[
   {"number":"1","question":"what is your name?","a":"asmat","b":"ali","c":"kabir","d":"qatea","correct":1}
]
Uploaded files:
  • You need to login to have access to uploads.
javadrajabihakami has reacted to this post.
javadrajabihakami