questions.yaml
2.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
-
ref: solar-system-jupyter
type: radio
text: Qual dos seguintes é o maior planeta?
options:
- Jupiter
- Mercury
- Mars
# optional, default is 0, True, True
correct: 0
shuffle: True
discount: True
hint: Também é o mais pesado.
# ---------------------------------------------------------------------------
-
ref: math-expressions
type: checkbox
text: Quais das seguintes expressões são verdadeiras?
options:
- $1 > 0$
- $\sqrt{3} > \sqrt{2}$
- $e^{i\pi} + 1 = 0$
- $\frac{\partial f(x,y)}{\partial z} = 1$
- $-1 > 1$
correct: [1, 1, 1, -1, -1]
# optional
discount: True
hint: Duas delas são falsas.
# ---------------------------------------------------------------------------
-
ref: question-v1
type: text
text: Qual é a minha cor básica favorita?
correct: ['Azul', 'Verde']
hint: Só há 3 cores básicas e não gosto de vermelho.
# ---------------------------------------------------------------------------
-
ref: question-v2
type: text_regex
text: Qual é a minha cor básica favorita?
correct: '[aA]zul'
hint: O céu é...
# ---------------------------------------------------------------------------
-
ref: question-colors
type: textarea
text: Escreva o nome das três cores básicas em inglês.
correct: correct-question.py
hint: Qualquer ordem serve.
# ---------------------------------------------------------------------------
-
ref: question-whatever
type: generator
script: generate-question.py
arg: "11,120"
# the script should print a question in yaml format like the ones above.
# Print only the dictionary, not the list (hiffen).
# ---------------------------------------------------------------------------
-
ref: one-question
type: warning
text: Não vale fazer batota!
# ---------------------------------------------------------------------------
-
ref: another-question
# type: information (default)
text: |
O texto das perguntas é escrito em __markdown__ e pode incluir formulas em
LaTeX $\sqrt{2\pi}$ e código lindinho
```.C
int main() {
return 0;
}
```