Why true statements aren't enough for a computer, and the three parts every algorithm shares: steps, control, termination.
Short drills on what this video just taught. Write the code, run the checks, and reveal the answer only if you are stuck.
Consider this statement:
"Preheat the oven to 350°F, then mix the flour and eggs, then bake for 30 minutes."
Is this declarative knowledge (a statement of fact) or imperative knowledge (a step-by-step recipe)?
Assign the string "declarative" or "imperative" to kind.