Unit 4: Imperative Programming
An imperative language uses a series of statements, contained in blocks or functions, to control a created state and, ultimately, produce a desired output. Imperative languages and, by extension, procedural languages, are extremely common and are frequently used to teach novices how to program. This unit will define Imperative Programming and identify the language's key properties before moving on to address common control structures such as conditionals, loops, and case statements. By the end of this unit, you will understand how imperative programming languages work and be able to identify their common properties (and the ways in which those properties are employed in imperative programming).
Completing this unit should take you approximately 4 hours.
4.1: Introduction to Imperative Programming
Read these slides. What are the advantages and disadvantage of GOTO statements?
4.2: Pointers
Read these slides.