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

In this assignment students create functions to perform calculations in Python. Using data related to driving a car and time, students must create functions that tell the user how many miles-per-gallon or the total number of milliseconds occur within a particular day. This assignment is ideal for students who want more practice creating functions and calculating values.

Recommendations

This is homework 1 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

By using example customer requests, such as efficiency of American vs. Japanese cars, this assignment introduces students to "real world" concepts and is a way to employ Meaningful and Relevant Content.

Engagement Practices Employed

Computer Science Details

Programming Language
Python

Material Format and Licensing Information

Creative Commons License
CC BY