Intro to CS: Lecture 7 - Decomposition, Abstraction, Functions


Topics: Functions: decomposition, abstraction, specifications

Big idea: Apply abstraction (black box) and decomposition (split into self-contained parts) to programming.

Already know about functions, decomposition, and abstraction, so this lecture is review to me.

The instructor is now teaching how to come up with code for say a quiz. They say not to write code right away, to do an example by hand, and come up with steps that we think a computer can interpret. So I was wrong about my initial assumption that the course does not teach such a technique. It does.