Commit 9b4acbd14f02c8da23a12221e3bb5c7bf7b24cf4
1 parent
e6ba17f4
Exists in
master
and in
1 other branch
- changed the demo test to demonstrate mathjax
Showing
2 changed files
with
14 additions
and
11 deletions
Show diff stats
demo/questions.yaml
1 | 1 | - |
2 | - ref: solar-system-jupiter | |
2 | + ref: solar-system-jupyter | |
3 | 3 | type: radio |
4 | 4 | text: Qual dos seguintes é o maior planeta? |
5 | 5 | options: |
... | ... | @@ -13,15 +13,16 @@ |
13 | 13 | hint: Também é o mais pesado. |
14 | 14 | # --------------------------------------------------------------------------- |
15 | 15 | - |
16 | - ref: solar-system-mars | |
16 | + ref: math-expressions | |
17 | 17 | type: checkbox |
18 | 18 | text: Quais das seguintes expressões são verdadeiras? |
19 | 19 | options: |
20 | 20 | - $1 > 0$ |
21 | 21 | - $-1 > 1$ |
22 | 22 | - $\sqrt{3} > \sqrt{2}$ |
23 | - - $0 = 0$ | |
24 | - correct: [1, -1, 1, 0.5] | |
23 | + - $e^{i\pi} + 1 = 0$ | |
24 | + - $\frac{\partial f(x,y)}{\partial z} = 1$ | |
25 | + correct: [1, -1, 1, -1] | |
25 | 26 | # optional |
26 | 27 | discount: True |
27 | 28 | hint: Uma delas é falsa. | ... | ... |
demo/test.yaml
... | ... | @@ -40,23 +40,25 @@ files: |
40 | 40 | # The following example will generate a test with 3 questions. |
41 | 41 | questions: |
42 | 42 | # first question |
43 | - - ref: | |
44 | - # choose 1 from the following 2 questions | |
45 | - - solar-system-mars | |
46 | - - solar-system-jupiter | |
47 | - points: 0.5 | |
43 | + - ref: math-expressions | |
44 | + points: 1 | |
48 | 45 | |
49 | 46 | # second question |
47 | + - ref: solar-system-jupyter | |
48 | + points: 0.5 | |
49 | + | |
50 | + # third question | |
50 | 51 | - ref: |
52 | + # choose 1 from the following 2 questions | |
51 | 53 | - question-v1 |
52 | 54 | - question-v2 |
53 | 55 | # points: 1.0 is the default, if omitted |
54 | 56 | |
55 | - # one question | |
57 | + # fourth question | |
56 | 58 | - ref: question-colors |
57 | 59 | points: 1.5 |
58 | 60 | |
59 | - # just use defaults | |
61 | + # questions 5,6,7 using default points (=1.0) | |
60 | 62 | - question-whatever |
61 | 63 | - one-question |
62 | 64 | - another-question | ... | ... |