questions.yaml 1.27 KB
---
# ----------------------------------------------------------------------------
# - 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.