questions.yaml
1.27 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
---
# ----------------------------------------------------------------------------
# - type: generator
# ref: multiplication-table
# script: multiplication-table.py
# ----------------------------------------------------------------------------
- type: checkbox
ref: multiplication
title: Multiplication
text: |
Which of the following multiplications have the result $12$?
options:
- $6\times 2$
- $2\times 6$
- $3\times 4$
- $12\times 0$
correct: [1, 1, 1, 0]
solution: |
Multiplying by zero is always zero.
The others are correct.
# # ----------------------------------------------------------------------------
# - type: checkbox
# ref: multiplication-properties
# title: Multiplication Properties
# text: Which properties does the multiplication have?
# options:
# # right
# - 'Existence of an identity element: $1 x = x$.'
# - 'Associative property: $(x y) z = x (y z)$.'
# - 'Commutative property: $x y = y x$.'
# - 'Existence of an absorbing element: $0 x = 0$.'
# # wrong
# - 'Inverse property: all numbers have an inverse $1/x$ such that
# $x(1/x)=1$.'
# correct: [1, 1, 1, 1, 0]
# solution: |
# Not all numbers have an inverse: *zero* does not have an inverse.
# The other properties are true.