Course Level
CS1
Knowledge Unit
Fundamental Programming Concepts
Collection Item Type
Assignment
Synopsis
In this assignment, students use Pair Programming to compose a collection of functions and a tip calculator. Using Python, students create three functions and a program that calculates the tip for a bill.
Engagement Highlights
Uses the creation of a tip calculator as a way of creating Meaningful and Relevant Context for practicing function composition. This activity requires students to use the Pair Programming learning strategy to facilitate concept understanding and exploration. Promotes Student-Student Interaction by encouraging students to collaborate while working on this activity.
Engagement Practices Employed
Materials and Links
Computer Science Details
Programming Language
Python
Material Format and Licensing Information
Creative Commons License
CC BY-NC-SA