Activity Guide - Loops Make
Activity Guide - Loops Make
"color
"locati
Step 2 - Plan
"shap
Fill in the information in the table below for each event handler you'll need to create
colorsButton
locationsButton
Randomly change the locations of all the shapes
Fill in the table below for each variable you'll need to create.
Variable Name What the Variable Stores
iconsList It’s the placeholder for the current size of the Icon
Step 4 - Submit
Before your submit check the rubric below to make sure your program
Input onEvents are created onEvents are created onEvents are created onEvents are not
for all the required for most of the inputs. for some of the inputs. created for any inputs.
inputs.
Variables and Variables and lists are Variables and lists are Some information is There are no variables
Lists created and created and stored in variables and or lists which store the
appropriately used for appropriately used for lists and appropriately necessary information
all pieces of most pieces of updated throughout for the app to work
information used in the information used in the the app. correctly.
app. app.
Loops The program correctly The program correctly The program correctly The program does not
uses loops for all three uses a loop for two of uses lists for one of include or correctly
buttons to generate the buttons to the buttons to use any loops.
the expected output. generate the expected generate the expected
output. output.
Output All three buttons work Only two of the Only one of the None of the buttons
as expected to move buttons work as buttons work as work as expected.
icons, change their expected. expected.
colors, and change
their icon to a random
new icon.
Code runs No errors are present Some errors are Many errors are The code does not
without errors. in the required code. present in the required present in the required run.
code. code.
Comments Comments are used to Comments are used to Comments are Comments are not
correctly explain the explain the purpose present, but are not present.
purpose and and functionality of used to explain the
functionality of both either the function or purpose or
the function and conditional logic. functionality of the
conditional logic. function or conditional
logic.