Course Level
CS1
Knowledge Unit
Fundamental Programming Concepts
Collection Item Type
Lab
Synopsis

In this lab students work independently or collaboratively to develop a deeper understanding of using pre-defined and building custom functions within Python. Through the implementation and analysis of six functions, students practice creating docstrings to describe both the functionality of each function and the inputs associated with each function. Each function illustrates a particular core feature within Python (such as performing calculations, interpolating values, executing checksums). This lab is particularly useful for students with little experience writing functions and for those interested in more practice using pre-defined functions.

Recommendations

Incorporate pair programming by encouraging students to work together. One student should be the driver and the other the navigator as they work through problems.

Engagement Highlights

Incorporates Student Choice through supporting collaboration among students while working on the lab and by providing additional training opportunities through CodingBat.

Engagement Practices Employed

Materials and Links

Computer Science Details

Programming Language
Python

Material Format and Licensing Information

Creative Commons License
CC BY-NC