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.
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.
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.