mathmaker  0.6(alpha)
Public Member Functions | Public Attributes
sheet.exercise.X_AlgebraExpressionExpansion.X_AlgebraExpressionExpansion Class Reference

Expressions to expand (like 2(x-3) or 4x(2-9x) or (3+x)(x-1)) More...

Inherits X_Structure.

List of all members.

Public Member Functions

def __init__
 Constructor.

Public Attributes

 derived
 text
 x_subkind
 x_kind

Detailed Description

Expressions to expand (like 2(x-3) or 4x(2-9x) or (3+x)(x-1))

Definition at line 65 of file X_AlgebraExpressionExpansion.py.


Constructor & Destructor Documentation

def sheet.exercise.X_AlgebraExpressionExpansion.X_AlgebraExpressionExpansion.__init__ (   self,
  embedded_machine,
  x_kind = 'default_nothing',
  options 
)

Constructor.

Parameters:
embedded_machineThe machine that will be used to write output.
**optionsOptions detailed below :
  • start_number=<integer> (should be >= 1)
  • number_of_questions=<integer> /!\ only useful if you use x_kind and not preformatted (should be >= 1)
  • x_kind=<string> ... ...
  • preformatted=<string> /!\ preformatted is useless with short_test /!\ number_of_questions is useless with preformatted /!\ if you use it with the x_kind option, ensure there's a preformatted possibility with this option 'yes' 'OK' any other value will be understood as 'no'
  • short_test=<string> /!\ the x_kind option above can't be used along this option use subtype if you need to make different short_test exercises 'yes' 'OK' any other value will be understood as 'no'
  • subtype=<string> ... ...
Returns:
One instance of exercise.AlgebraExpressionExpansion

Definition at line 102 of file X_AlgebraExpressionExpansion.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.exercise.question.Q_RightTriangle.Q_RightTriangle.derived, sheet.AlgebraMiniTest1.AlgebraMiniTest1.derived, sheet.exercise.question.Q_MentalCalculation.Q_MentalCalculation.derived, sheet.exercise.question.Q_AlgebraExpressionExpansion.Q_AlgebraExpressionExpansion.derived, sheet.exercise.X_AlgebraExpressionExpansion.X_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.machine, sheet.S_Structure.S_Structure.machine, sheet.exercise.X_Structure.X_Structure.machine, sheet.exercise.question.Q_Structure.Q_Structure.options, sheet.exercise.X_Structure.X_Structure.options, sheet.exercise.X_Structure.X_Structure.q_nb, sheet.exercise.X_Structure.X_Structure.start_number, sheet.AlgebraFactorization_01.AlgebraFactorization_01.text, sheet.AlgebraBalance_01.AlgebraBalance_01.text, sheet.AlgebraFactorization_03.AlgebraFactorization_03.text, sheet.AlgebraFactorization_02.AlgebraFactorization_02.text, sheet.AlgebraExpressionExpansion.AlgebraExpressionExpansion.text, sheet.EquationsShortTest.EquationsShortTest.text, sheet.AlgebraMiniTest0.AlgebraMiniTest0.text, sheet.AlgebraTest.AlgebraTest.text, sheet.AlgebraTest2.AlgebraTest2.text, sheet.EquationsTest.EquationsTest.text, sheet.EquationsClassic.EquationsClassic.text, sheet.AlgebraShortTest.AlgebraShortTest.text, sheet.AlgebraExpressionReduction.AlgebraExpressionReduction.text, sheet.AlgebraBinomialIdentityExpansion.AlgebraBinomialIdentityExpansion.text, sheet.EquationsHarder.EquationsHarder.text, sheet.EquationsBasic.EquationsBasic.text, sheet.ConverseAndContrapositiveOfPythagoreanTheoremShortTest.ConverseAndContrapositiveOfPythagoreanTheoremShortTest.text, sheet.AlgebraMiniTest1.AlgebraMiniTest1.text, sheet.exercise.X_AlgebraExpressionExpansion.X_AlgebraExpressionExpansion.text, sheet.exercise.X_AlgebraExpressionExpansion.X_AlgebraExpressionExpansion.x_kind, and sheet.exercise.X_AlgebraExpressionExpansion.X_AlgebraExpressionExpansion.x_subkind.


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