This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
en:create:points [26.01.2015 09:56] – [Correct and Incorrect Answers] alexander.ritter | en:create:points [06.12.2015 15:03] – [Correct and Incorrect Answers] admin | ||
---|---|---|---|
Line 27: | Line 27: | ||
// Define questions and the correct answers | // Define questions and the correct answers | ||
$questions = array( | $questions = array( | ||
- | ' | + | ' |
- | ' | + | ' |
- | ' | + | ' |
- | ' | + | ' |
- | ' | + | ' |
- | // and so on. | + | // and so on |
); | ); | ||
Line 48: | Line 48: | ||
} | } | ||
- | // Show result | + | // Show result |
html('< | html('< | ||
+ | // ... or store in an internal variable | ||
+ | put(' | ||
</ | </ | ||
Line 151: | Line 153: | ||
- | **Tip:** Define inverted items immediately | + | **Tip:** Define inverted items immediately |
Line 196: | Line 198: | ||
===== Multiple Choice Response Pattern ===== | ===== Multiple Choice Response Pattern ===== | ||
- | Sometimes multiple conditions have to combined when checking an answer. For example, | + | Sometimes multiple conditions have to combined when checking an answer. For example, |