|
|
(42 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| {{Formulas question type}}
| | #REDIRECT [[Formulas_question_type]] |
| | |
| =Hon Wai Lau's examples=
| |
| | |
| <div style="border:1px solid #bce8f1;border-radius:4px;padding: 0px 15px 0px; margin:30px 0 25px;">
| |
| ====<div style="font-family:Lucida Sans Unicode;font-size:116%;color:#f98012;margin:-20px 0 10px;>Example 01 - Minimal question</div>====
| |
| | |
| For a minimal question, you must define a sub-question with:
| |
| * mark
| |
| * answer
| |
| * grading criteria
| |
| * question text (optional)
| |
| | |
| <pre style="font-size:113%;width: 97%;">
| |
| General
| |
| Question name! Minimal question
| |
| Main question
| |
| Question text! What is 2 + 2?
| |
| Part 1
| |
| Part's mark* 1
| |
| Answer type Number
| |
| Answer* 4
| |
| Grading criteria* Relative error < 0.01
| |
| </pre>
| |
| | |
| The Formulas question should look like this:
| |
| | |
| [[File:Formules201801261903.png|818px]]
| |
| | |
| <div style="margin:20px 0 20px;">
| |
| <span style="background-color:#f98012;box-shadow: 0 5px 10px #cbcbcb;border: none;color:white;padding: 8px 16px;text-align:center;text-decoration: none;cursor:pointer;">[http://35.193.77.29/mod/quiz/view.php?id=291 <span style="color:white;">Play it </span>]</span> [[Formulas_question_type#Examples|Login info]] ''(Open in new tab: Ctrl+Shift+Click)''
| |
| </div>
| |
| </div>
| |
| | |
| <div style="border:1px solid #bce8f1;border-radius:4px;padding: 0px 15px 0px; margin:30px 0 25px;">
| |
| ====<div style="font-family:Lucida Sans Unicode;font-size:116%;color:#f98012;margin:-20px 0 10px;>Example 02 - Generate random data</div>====
| |
| | |
| Random data can be defined in the random variables, such as a = {2,3,4,5}. Upon quiz generation, one deterministic value will be chosen.
| |
| | |
| <pre style="font-size:113%;width: 97%;">
| |
| General
| |
| Question name! Generate random data
| |
| Variables
| |
| Random variables a = {2,3,4,5};
| |
| Main question
| |
| Question text! In this instantiation, a takes the value {a}.
| |
| Part 1
| |
| Part's mark* 1
| |
| Answer type Number
| |
| Answer* a
| |
| Grading criteria* Relative error < 0.01
| |
| Part's text Enter the value of a:
| |
| </pre>
| |
| | |
| The Formulas question should look like this:
| |
| | |
| [[File:Formules201801261929.png|680px]]
| |
| | |
| <div style="margin:20px 0 20px;">
| |
| <span style="background-color:#f98012;box-shadow: 0 5px 10px #cbcbcb;border: none;color:white;padding: 8px 16px;text-align:center;text-decoration: none;cursor:pointer;">[http://35.193.77.29/mod/quiz/view.php?id=293 <span style="color:white;">Play it </span>]</span> [[Formulas_question_type#Examples|Login info]] ''(Open in new tab: Ctrl+Shift+Click)''
| |
| </div>
| |
| | |
| </div>
| |
| | |
| | |
| [[#top|Back to top of page]]
| |
| | |
| [[Formulas_question_type|← FORMULAS QUESTION TYPE]] | |
| | |
| ===In other languages===
| |
| [https://docs.moodle.org/all/es/F%C3%B3rmulas:_Los_ejemplos_de_Hon_Wai_Lau Español]<br>
| |
| [https://docs.moodle.org/3x/fr/Formules:_Les_exemples_de_Hon_Wai_Lau Français]
| |