Helps select the next learning objective for CompetenceProblemSequencer
Selects the next learning objective in random
Prevents using the same learning objective back to back unless it is the only one left
Limits the number of problems generated in sequence
template is a complete random constant string, enclosed in angle brackets
and including any constraints, themselves separated by semicolons and
enclosed in # symbol.
Helps select the next template for a learning objective
Selects the next template in random
Ensures that templates are not reused
(at least in as many templates as the size of history)
Could help audit the problems generated for each learning objective
This method returns a vector containing the contents of a resource file
included with the Jar file
It strips all comments and blank lines from the file
It also trims each entry.
If the client who launches this form determines that the user's answers are not acceptable
(according to some criterion set by it), the client will call this method to re-enable
the form and require the user to revise the answer(s)
Displays a reflection question after scrambling choices,
waits till user enters the correct answer, and returns the sequence of
options selected by the user.
Displays a reflection question,
waits till user enters the correct answer,
logs student's every choice,
and adds the sequence of options selected by the user to the log.
If an activation record exists for the scope for which the replacement activation record parameter has been provided,
replaces the old activation record with the new replacement.
reset() -
Method in class org.problets.domain.model.implement.AskItem
Sets the value of an 'ask' item's variable at itemIndex to either blank, or
to the value of the most recent 'tell' item for that variable that appears
before the given 'ask'.
Clears the symbol table of all prior names of pointers, variables, and functions;
clears all random values from the symbol table and randomizes the data types for the new template.
Manages what response is displayed to the student in the right panel:
AnswerPanel when the student is working on the solution,
FeedbackManager after the student submits answer, and
Statistics until the student starts attempting the next problem.
Updates the operatorViewVector and operandViewVector
based on which operators and operands were used for this node
when this node is deleted from the student model
Updates the operatorViewVector and operandViewVector
based on which operators and operands were used for this node
when this node is deleted from the student model
Updates the operatorViewVector and operandViewVector
based on which operators and operands were used for this node
when this node is deleted from the student model
Problem sequencer to be used for control groups when testing adaptive problem generation -
1) It generates problems for all the learning objectives, in the order in which they
appear in the correct knowledge model (not student knowledge model)
2) Regardless of whether a student has met a learning objective, it continues to generate
problems on the learning objective
3) For each learning objective, it does not generate more than a fixed number of templates,
the number decided by BaseLearnObjSelector.maxProblems
By virtue of inheriting from CompetenceProblemSequencerLimited, it also does the following:
4) It can select learning objectives sequentially or randomly -
Set BaseLearnObjSelector.sequenceType
5) It can select templates for a learning objective sequentially or randomly -
Set BaseTemplateSelector.sequenceType
6) When templates are generated randomly, it avoids duplicates within the last n/2
problems, n being the size of the template list.
Encapsulates the stack, heap, input stream, and output stream;
keeps track of the nextStatement to be evaluated, and
controlStack needed for visualization.
RunEnv() -
Constructor for class org.problets.domain.model.implement.RunEnv