Mississippi State University, Mississippi
March 9, 2025
March 9, 2025
March 11, 2025
Professional Papers
12
10.18260/1-2--54188
https://peer.asee.org/54188
23
Dr. Brett Freidkes is an Assistant Professor of Instruction at the University of South Florida within the Department of Mechanical Engineering. Dr. Freidkes completed his Ph.D. at the University of Florida, where he specialized in the design of microelectromechanical systems (MEMS) for aerodynamic applications.
First-time coders must not only overcome the difficulties in learning a programming language’s syntax, but they must also develop the crucial sense of logic required to solve problems via code. Instructors provide the foundation during lectures on conditional statements, loops, and functions, each of which is required in most elementary programming courses. Beyond exams and homework, projects are frequently assigned to reinforce these logical ideas. Common projects focus on user inputs and decision-making; for example, creating an interactive game of blackjack where the player interacts via text with the software (e.g., “would you like to hit or stand?”). It may be difficult for students to visualize what is happening with their codes or troubleshoot when simply looking at textual outputs. Additionally, the reward associated with a successful code is minimal without any visual result confirming that everything works as planned.
This paper covers three projects given to mechanical engineering students in a MATLAB programming course. These projects incorporate standard programming logic, with the primary objective being the creation of a visual plot to showcase successful code execution. Programs collect information from a user, check that the provided values are feasible, and utilize the information to create a single image or animation that mirrors a playable game. Based on student feedback, these types of projects allow the students to troubleshoot accordingly, take pride in their first significant successful code, and have fun playing with their friends or family once the project is complete. Most importantly, the challenge of the project prepares students for future classes within their curriculum.
Freidkes, B. (2025, March), Programming Projects for First-Time Coders: Using Visualization to Learn Logic Paper presented at 2025 ASEE Southeast Conference , Mississippi State University, Mississippi. 10.18260/1-2--54188
ASEE holds the copyright on this document. It may be read by the public free of charge. Authors may archive their work on personal websites or in institutional repositories with the following citation: © 2025 American Society for Engineering Education. Other scholars may excerpt or quote from these materials with the same citation. When excerpting or quoting from Conference Proceedings, authors should, in addition to noting the ASEE copyright, list all the original authors and their institutions and name the host city of the conference. - Last updated April 1, 2015