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

This lab has two main parts. In the first part (Steps 1 through 5), students use test-driven development to finish three programs that the students will use to practice storing and manipulating data in structs and arrays, as well as general debugging. In the second part (Steps 6 through 9), students extend a program that reads in airport data from a file, and reports to the user the easternmost airport. Students add code to the program to determine the westernmost, southernmost and northernmost airports in the United States.

Engagement Highlights

This lab requires students to participate in Pair Programming to complete the assignment. By relating CS topics to a real-world scenario, this lab provides a Meaningful and Relevant Context.

Computer Science Details

Programming Language
C

Material Format and Licensing Information

Creative Commons License
CC BY-NC