Course Level
CS1
Knowledge Unit
Fundamental Data Structures
Collection Item Type
Lab
Synopsis

In this activity, students work through an extended problem applying data structures to ecology. Students begin by defining data structures to define characteristics about different types of bears, write templates for functions over these data structures, and then write functions that take in the data structure constructed. This activity is excellent for students learning to construct and use new data structures in Scheme.

Recommendations

Collaborate with faculty in Ecology or Biology to talk about the "real world" practices of using computer-generated models to further illustrate the Interdisciplinary Connections between CS and Biology.

Engagement Highlights

By putting compound data structures in the context of environment analysis, the activity very strongly Employs Meaningful and Relevant Content. By relating how CS is used in Biology and Ecology, this lab Makes Interdisciplinary Connections to CS.

Materials and Links

Computer Science Details

Computer Science Topic(s)
functions
struct
argument
conditionals (general)
compound data
parameter passing
Programming Language
Racket (DrScheme)

Material Format and Licensing Information

Material Format
Other File Format
Technology Platform Required
Desktop
Creative Commons License
Unknown

Author's Institutional Information

Institution Type
Doctoral/Research Universities - Intensive
Community Type
City Midsize