module activities.act_question

Inheritance diagram of mathenjeu.activities.act_question

Short summary

module mathenjeu.activities.act_question

Base classes.

source on GitHub

Classes

class truncated documentation
QuestionChoice Defines a question with multiple choices.

Properties

property truncated documentation
Answers Returns the list of answers.
ExpectedAnswers Returns the list of expected answers.
Fields Returns all the fields.
Id Returns the identifier.

Methods

method truncated documentation
__init__  

Documentation

Base classes.

source on GitHub

class mathenjeu.activities.act_question.QuestionChoice(eid, name, lang, title, notion=None, description=None, answers=None, expected_answers=None, show=None)[source]

Bases : mathenjeu.activities.base_classes.Activity

Defines a question with multiple choices.

source on GitHub

Paramètres:
  • eid – identifier
  • name – unique name
  • lang – language
  • title – display name
  • notion – notion (Notion)
  • description – description
  • answers – answers (dictionary { code, display })
  • expected_answers – expected_answers, list of codes
  • show – one image to show

source on GitHub

Answers

Returns the list of answers.

source on GitHub

ExpectedAnswers

Returns the list of expected answers.

source on GitHub

__init__(eid, name, lang, title, notion=None, description=None, answers=None, expected_answers=None, show=None)[source]
Paramètres:
  • eid – identifier
  • name – unique name
  • lang – language
  • title – display name
  • notion – notion (Notion)
  • description – description
  • answers – answers (dictionary { code, display })
  • expected_answers – expected_answers, list of codes
  • show – one image to show

source on GitHub