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

All algebraic expression reduction 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
 kind_of_answer
 objct
 expression

Detailed Description

All algebraic expression reduction questions.

Definition at line 81 of file Q_AlgebraExpressionReduction.py.


Constructor & Destructor Documentation

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

Constructor.

Parameters:
embedded_machineThe machine to be used
q_kind=the kind of question desired Available values are : 'product' 'sum' 'sum_of_products'
**optionsOptions detailed below :
  • short_test=<string> 'yes' 'OK' any other value will be understood as 'no'
  • q_subkind=<string> 'minus_brackets_nb' (values : 1, 2, 3) 'plus_brackets_nb' (values : 1, 2, 3)
Todo:
describe the different available options in this comment
Returns:
One instance of question.Q_AlgebraExpressionReduction

Definition at line 105 of file Q_AlgebraExpressionReduction.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.AlgebraMiniTest1.AlgebraMiniTest1.derived, sheet.exercise.question.Q_AlgebraExpressionExpansion.Q_AlgebraExpressionExpansion.derived, sheet.exercise.question.Q_AlgebraExpressionReduction.Q_AlgebraExpressionReduction.derived, sheet.exercise.question.Q_AlgebraExpressionExpansion.Q_AlgebraExpressionExpansion.expression, sheet.exercise.question.Q_AlgebraExpressionReduction.Q_AlgebraExpressionReduction.expression, sheet.exercise.question.Q_AlgebraExpressionReduction.Q_AlgebraExpressionReduction.kind_of_answer, lib.error.MethodShouldBeRedefined.objct, sheet.exercise.question.Q_AlgebraExpressionReduction.Q_AlgebraExpressionReduction.objct, lib.error.NotInstanciableObject.objct, lib.error.OutOfRangeArgument.objct, lib.error.UncompatibleType.objct, 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: