Copy of Activity Guide - Lists Make - Unit 6 Lesson 4
Copy of Activity Guide - Lists Make - Unit 6 Lesson 4
https://studio.code.org/projects/applab/_IFBxSk9EB1e-L8ImDlZhZVCFHHMs6-7qz0wROLKqtQ
Step 1 - Try the app
● Add several reminders to the app.
● Scroll through your reminders.
Step 2 - Plan
Lists: This app uses one list. Give it a name! What does it store?
Other Variable: This app uses one extra variable in addition to the list. What does it store?
Variable Name What the Variable Stores
Conditionals: Review the List Scrolling Pattern. Consider how you will use this in your app.
Function: What code may be repeated in your app? What should be included in your function(s)?
● Hint: Check out how the updateScreen() function is set up in the List Scrolling Pattern.
The updateScreen function could be repeated alot- when you scroll left or right, when you add an item
Inputs: What are the inputs for the app? These will all be turned into onEvents.
Input Action Result
"rightButton" click The reminder stored in the list at the next index is displayed.
addButton click Inserts current written task (in reminderInput) to the list
Checklist
Processing: Lists 🔲 The program correctly processes the list for all user interface elements.
Code: Functions
🔲 A function is used which correctly updates all output elements. The
function is called in the appropriate onEvents.
Output 🔲 The screen correctly displays the current reminders in all instances.
Code runs without errors 🔲 No errors are present in the required code.
Coding Comments
🔲 Comments are used to correctly explain the purpose and function of all
onEvents and functions.
Rubric
Input onEvents are onEvents are onEvents are onEvents are not
created for all the created for most of created for some of created for any
required inputs. the inputs. the inputs. inputs.
Storage: Variables Variables and lists Variables and lists Some information is There are no
and Lists are created and are created and stored in variables variables or lists
appropriately used appropriately used and lists and which store the
for all pieces of for most pieces of appropriately necessary
information used in information used in updated throughout information for the
the app. the app. the app. app to work correctly.
Processing: Lists The program The program The program The program does
correctly processes correctly processes correctly processes not include or does
the list for all user the list for most user the list for some of not process a list.
interface elements. interface elements. the user interface
elements.
Code: Functions A function is used A function is used A function is used There is no function
which correctly which correctly which updates some which updates the
updates all output updates most of the of the output screen.
elements. The output elements. The elements or the
function is called in function is called in function is only
the appropriate the appropriate called in some of the
onEvents. onEvents. appropriate
onEvents.
Output The screen correctly The screen correctly The screen correctly The screen does not
displays the current displays the current displays some but correctly display any
reminders in all reminders in most not all information. stored information.
instances. instances.
Code runs without No errors are One or two errors Three or four errors More than four errors
errors. present in the are present in the are present in the are present in the
required code. required code. required code. required code.
Coding Comments Comments are used Comments are used Comments are used Comments are not
to correctly explain to explain the to explain the present.
the purpose and purpose and function purpose and function
function of all of most onEvents of some onEvents
onEvents and and functions. and functions.
functions.
Explain how you would need to adjust your program if the list was not included in your code. How would this change
impact the overall functionality of your program?
The program will either have to store variables for each task (bloat), or will only have 1 task stored. It will be very
very bad