Activity 01
Library Scavenger Hunt: Math Module Exploration
Pairs receive a list of math library functions and incomplete code snippets. They consult documentation to match functions like sqrt or factorial, then test and modify code to solve problems such as calculating circle areas. Groups share one unique discovery with the class.
Explain how libraries and APIs promote code reuse and efficiency.
Facilitation TipDuring Library Scavenger Hunt, circulate but avoid giving answers—redirect students to the math module documentation when they ask for help.
What to look forProvide students with a simple API documentation snippet (e.g., a weather API endpoint). Ask them to identify the base URL, one available function, and the expected format of a request parameter. Then, ask them to write one sentence explaining why using this API is more efficient than trying to collect the data themselves.