6

Click here to load reader

Variable = is a value that may change within a given scope of a problem or equation Examples = x, a, in our activity ATPICK Programming = The action

Embed Size (px)

Citation preview

Page 1: Variable = is a value that may change within a given scope of a problem or equation  Examples = x, a, in our activity ATPICK  Programming = The action

Variable Programming

Page 2: Variable = is a value that may change within a given scope of a problem or equation  Examples = x, a, in our activity ATPICK  Programming = The action

Definition Variable = is a value that may

change within a given scope of a problem or equation

Examples = x, a, in our activity ATPICK

Programming = The action or process of writing computer programs

Page 3: Variable = is a value that may change within a given scope of a problem or equation  Examples = x, a, in our activity ATPICK  Programming = The action

When is it used? Stacking multiple objects

• When objects are within even increments from each other

• Relative positions to original position Laser cutter Palletizing

Page 4: Variable = is a value that may change within a given scope of a problem or equation  Examples = x, a, in our activity ATPICK  Programming = The action

How to utilize Teach positions (ATPICK) Create a loop Set desired positions as computation

variables Increment variables (ATPICK+1) (IF) jump (end) and (JU) jump to

Page 5: Variable = is a value that may change within a given scope of a problem or equation  Examples = x, a, in our activity ATPICK  Programming = The action

Importance of Variable Programming

Less positions needed to be taught

Faster programming

Page 6: Variable = is a value that may change within a given scope of a problem or equation  Examples = x, a, in our activity ATPICK  Programming = The action

Sources PLTW Curriculum