mathmaker  0.4(alpha)
Public Member Functions | Public Attributes
sheet.exercise.question.Q_Model.Q_Model Class Reference

Use it as a copy/paste model to create new questions. More...

Inherits Q_Structure.

List of all members.

Public Member Functions

def __init__
 Constructor.
def text_to_str
 Returns the text of the question as a str.
def answer_to_str
 Returns the answer of the question as a str.

Public Attributes

 derived

Detailed Description

Use it as a copy/paste model to create new questions.

Definition at line 51 of file Q_Model.py.


Constructor & Destructor Documentation

def sheet.exercise.question.Q_Model.Q_Model.__init__ (   self,
  embedded_machine,
  q_kind = 'default_nothing',
  options 
)

Constructor.

Parameters:
embedded_machineThe machine to be used
**optionsAny options
Returns:
One instance of question.Q_Model

Definition at line 63 of file Q_Model.py.

References sheet.AlgebraBalance_01.AlgebraBalance_01.derived, sheet.AlgebraFactorization_01.AlgebraFactorization_01.derived, sheet.AlgebraFactorization_02.AlgebraFactorization_02.derived, sheet.AlgebraFactorization_03.AlgebraFactorization_03.derived, sheet.AlgebraMiniTest0.AlgebraMiniTest0.derived, sheet.EquationsShortTest.EquationsShortTest.derived, sheet.AlgebraExpressionExpansion.AlgebraExpressionExpansion.derived, sheet.EquationsTest.EquationsTest.derived, sheet.AlgebraExpressionReduction.AlgebraExpressionReduction.derived, sheet.AlgebraShortTest.AlgebraShortTest.derived, sheet.AlgebraTest.AlgebraTest.derived, sheet.AlgebraTest2.AlgebraTest2.derived, sheet.EquationsClassic.EquationsClassic.derived, sheet.EquationsHarder.EquationsHarder.derived, sheet.AlgebraBinomialIdentityExpansion.AlgebraBinomialIdentityExpansion.derived, sheet.EquationsBasic.EquationsBasic.derived, sheet.ConverseAndContrapositiveOfPythagoreanTheoremShortTest.ConverseAndContrapositiveOfPythagoreanTheoremShortTest.derived, sheet.exercise.question.Q_Model.Q_Model.derived, sheet.exercise.question.Q_Equation.Q_Equation.derived, sheet.AlgebraMiniTest1.AlgebraMiniTest1.derived, sheet.exercise.question.Q_MentalCalculation.Q_MentalCalculation.derived, sheet.exercise.question.Q_AlgebraExpressionExpansion.Q_AlgebraExpressionExpansion.derived, sheet.exercise.question.Q_AlgebraExpressionReduction.Q_AlgebraExpressionReduction.derived, sheet.exercise.question.Q_Calculation.Q_Calculation.derived, sheet.exercise.question.Q_Factorization.Q_Factorization.derived, sheet.exercise.question.Q_Structure.Q_Structure.options, and sheet.exercise.X_Structure.X_Structure.options.


The documentation for this class was generated from the following file: