15-122 Principles of Imperative Computation
12 units, Carnegie Mellon University
For students with a basic understanding of programming (variables, expressions, loops, arrays, functions). Teaches imperative programming and methods for ensuring the correctness of programs. Students will learn the process and concepts needed to go from high-level descriptions of algorithms to correct imperative implementations, with specific application to basic data structures and algorithms. Much of the course will be conducted in a subset of C amenable to verification, with a transition to full C near the end. This course prepares students for 15-213 and 15-210. NOTE: students must achieve a C or better in order to use this course to satisfy the pre-requisite for any subsequent Computer Science course.
Prerequisites: 02-120 (min C) or 15-112 (min C)
Offered: Spring 2027, Fall 2026, Summer 2026, Spring 2026, Fall 2025
Courseweave needs JavaScript to show sections, workloads and planning tools.