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

In this lab (Lab 14) students work individually or collaboratively on analyzing customer data. Using a list or dictionary of fake customer data, students sort and print different values. Students must create functions to perform actions, such as getting various distributions (gender, birth, and purchase) within the data set.

The authors of this material were awarded a 2015 NCWIT Engagement Excellence Award for this assignment. Learn more on NCWIT's awards page.

Recommendations

Consider inviting someone in from a local business or company who can discuss the importance of analyzing customer data, as as way to demonstrate Interdisciplinary Connections to CS.

This is lab 14 of a introduction to computing course in Python. See sequencing in the syllabus and course schedule. Additional guidelines for student success on this assignment and throughout the course can be found in the syllabus.

Engagement Highlights

This lab engages students by using customer data, albeit fake, to understand customer base for a company or business and therefore employs Meaningful and Relevant Content.

Engagement Practices Employed

Computer Science Details

Computer Science Topic(s)
dictionary
function composition
list
Programming Language
Python

Material Format and Licensing Information

Material Format
PDF
Technology Platform Required
Desktop
Creative Commons License
CC BY

Author's Institutional Information

Institution Type
Master's Colleges and Universities I
Community Type
City Small