All languages use the same building blocks. All of them. Period. In this lab, you will learn these building blocks. You learn about syntax, branding, iteration, order of execution, decisions, abstraction, and scoping.
This lab is Part 3 of the Introduction to Computation and Programming series.
Prerequisites
Before you start this lab, make sure that you have completed the following labs:
What you will learn in this series
- Fundamental building blocks of all programming languages
- Data types and user-friendly representations
- Syntax and semantics
- Control functionality including:
- branching
- iteration
- Order of execution
- Abstraction
- Scoping
Your functions are bloated. Put them on a diet. Think "skinny" and "as few lines as possible."
Episodes
Total Lab Runtime: 02:17:55
- 1 Lab Introductionfree 06:21
- 2 User-Friendly Expression of Informationfree 22:42
- 3 Fundamentals of Syntaxfree 08:57
- 4 Decision Branching - if/then/elsefree 10:39
- 5 Decision Branching – switch/casefree 07:47
- 6 Basics of Iterationfree 14:14
- 7 Iteration in Practicefree 12:51
- 8 Order of Executionfree 10:55
- 9 Abstractionfree 11:45
- 10 Scoping – Who Can Communicate With Whomfree 31:44