Activity Guide - Traversals Make
Activity Guide - Traversals Make
Forecast Number forecastNumberList The number of days from today (for example: 1 = tomorrow)
conditionList
Filtered Lists: What lists will be filtered? What list will be used to filter these lists? Remember, we want to only display
the forecast for tomorrow. There are 5 filtered lists and one list which is traversed to filter the other lists.
Original List Filtered List Filtered by
cityList filteredCityList
conditionList filteredConditionList
Output: Think about a function that updates the screen. This app displays a random city's forecast. How will the
random city be selected? How will that information be used to display data from the filtered lists?
How will that information be used to display data from the filtered lists:
Step 4 - Submit
Before your submit check the rubric below to make sure your program
Category Extensive Evidence Convincing Evidence Limited Evidence No Evidence
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.
Storage: Variables and lists are Variables and lists are Some information is There are no
Variables and created and created and stored in variables and variables or lists
Lists appropriately used for appropriately used for lists and appropriately which store the
all pieces of information most pieces of updated throughout the necessary
used in the app. information used in the app. information for the
app. app to work correctly.
Processing: The program correctly The program correctly The program correctly The program does
Lists processes the list for all processes the list for processes the list for not include or does
user interface most user interface some of the user not process a list.
elements. elements. interface elements.
Output The screen correctly The screen displays The screen displays The screen does not
displays a random city's most of a random city's some of a random correctly display any
forecast. forecast. city's forecast. of a random city's
forecast..
Code runs No errors are present in One or two errors are Three or four errors are More than four errors
without errors. the required code. present in the required present in the required are present in the
code. code. required code.
Coding Comments are used to Comments are used to Comments are used to Comments are not
Comments correctly explain the explain the purpose explain the purpose present.
purpose and function of and function of most and function of some
all onEvents and onEvents and onEvents and
functions. functions. functions.