Seed(Individual)
- Exceptional achievement. 93% or better in last trimester of CompSci.
- Instructions for input from user:
- Use of at least one list (or other collection type):
- At least one procedure that contributes to the program’s intended purpose:
- An algorithm that includes sequencing, selection, and iteration:
- Calls to your student-developed procedure:
- Instructions for output based on input:
Exceptional achievement. 93% or better in last trimester of CompSci.
Opportunity Connect Map | Individual Progress
CPT Requirements
Instructions for input from user:
The input is when they click on the marker which triggers an output.
Use of at least one list (or other collection type):
This is a Map object used to store a unique collection of addresses (as keys) and their corresponding event titles (as values). This Map is created from the events array to ensure each address is unique, and only the last encountered title for that address is stored.
At least one procedure that contributes to the program’s intended purpose:
My feature uses fetch and gets data from the API endpoint.
An algorithm that includes sequencing, selection, and iteration:
This uses the forEach method to iterate over each marker in the markers array and add it to the map.
Calls to your student-developed procedure:
The addListener method is called on marker instances to attach click event listeners to them. This is a procedure for handling events when markers are clicked.
Instructions for output based on input:
It returns the addresses and latitude and longitude.