The If-Then-Else Section Type

The "IfThenElse" is a section type that allows for adaptation. 

We will use this screenshot to walk through how this works. You can also login to your ASSISTments account and from Build edit a problem set or Assemble a problem set to follow along.  On the left we will describe the example, on the right the generic terms. 

In this example we are showing one section from a separate section, This is just to let you know you can put an IfThenElse wherever you want. 


Example 

  1. Problem Set Type: IfThenElse
  2. Variables.  Each IfThenElse starts with a "Conditional" object.  In this example it is a "Linear Order" which is a "Problem Set".  In this example the Condition will be True if the student gets 100% of the problems correct. (the setting was Saved using the "Save Variable" button). 
  3. Problems: In this example "I will put three objects in the Problem section" was selected so there must be three parts in the problems section. 
    • The "Conditional Part" in this example is a linear order problem set. Students will do these problems at the end they will either have them all righ (reached the 100% setting) so it will return True, if they don't get them all right it will return False. 
    • The "Then Part" In this example if the the student gets all the problems right they will do the linear order section called "StuffToDoIfYouDoReallyWell"  Once they finish the IfThenElse section will be over for this student. 
    • The "Else Part" in this example if the student gets even one problem wrong in the conditional part they will do the problems in the section called "ElseCondition-posttest" Skipping the then part. 
General Terms

  1. Problem Set Type: You start by setting the section to IfThenElse
  2. Variables: There are three main choices for a conditional object.  A Standard Problem Set (linear or random), a Skill Builder (standard or random), or a Problem on its own. The Skill Builder and the Problem on their own do not need a set variable.  
    • The Problem is true if it is correct and false if it is wrong.  
    • The Skill Builder is true if it is completed and false if it is exhausted (use up all the problems without completing). 
    • For a Standard Problem Set you can set a percent correct to determine when it designates true and false.  (be sure to "Save Variable")
  3. Problems: You have a choice to have three parts or to let one or to let the then or the else be empty. If you select the empt option you will only put two objects in. There are always three parts in the problems section. 
    • The "Conditional Part" This problem set or problem will return True or False. The above section on variables describes how this is determined.
    • The "Then Part" This is what students do if the Conditional Part returns True.  (this can be empty)
    • The "Else Part" This is what students do if the Conditional Part returns False.  (this can be empty)
Comments