2023 ASEE Annual Conference & Exposition

“Mmm… Donuts!” Using Real-World Scenarios in a First-Year Programming Course

Presented at First-Year Programs Division (FYP) - Technical Session 11: Projects

This complete, evidence-based practice paper will describe experiential work involving the application of the entrepreneurial mindset in the first computer programming course (CS1). Teaching CS1 has always been challenging, with first-year students trying to learn problem-solving paradigms expressed in a “foreign” (i.e., programming) language. When materials are presented abstractly – such as emphasizing computing for its own sake - the result is often a disconnect: our students cannot envision how the concepts being taught can be meaningfully applied. Consequently, it is important for CS1 instructors to provide appropriate context allowing their first-year students to make connections between their coursework and providing value to others through their coding activities.

One approach presented here involves using the theories behind developing compelling word problems (AKA story problems) to develop programming assignments featuring real-world scenarios expressed in narrative form that are relatable, solvable, and open-ended. Additionally, preliminary laboratory exercises, where students work on solving some of various sub tasks associated with the assignment, are used to help guide development efforts. To illustrate this approach, this paper will examine a typical CS1 assignment - calculating the price of a business transaction and subsequently accepting payment and providing change to the customer - by wrapping it within a scenario involving customers making purchases at a local donut shop. Students are provided with such real-world artifacts as the donut shop’s menu, government publications for calculating sales tax, and donut shop photos. Students are primed for success through laboratory assignments separately focusing on the professional responsibilities for calculating sales tax, making change, and formatting monetary output while emphasizing the importance of breaking problems down into their components. This particular CS1 assignment has been successfully used in developing entrepreneurial mindset along the "connections" and "creating value" dimensions, as demonstrated by both quantitative and qualitative post-activity survey data. Interested readers are encouraged to download all materials associated with this assignment via the provided resource materials hosted by the Engineering Unleashed web site.

Authors
  1. Dr. Stephany Coffman-Wolph Ohio Northern University [biography]
Download paper (1.43 MB)

Are you a researcher? Would you like to cite this paper? Visit the ASEE document repository at peer.asee.org for more tools and easy citations.