In this lesson, our instructor Tom Quayle goes through an introduction on conditional statements. He starts by discussing the if and if-else statements, then goes through nested if-else, the extended if and the switch statement.
The if statement adds decision-making capability to a program
The if-else statement takes one of two actions based on a condition
If and if-else statements can be nested as many levels deep as desired
The extended-if statement takes one of many actions based on multiple conditions
The switch statement is another way to take one of many actions (not in AP
Lecture Slides are screen-captured images of important points in the lecture. Students can download and print out these lecture slide images to do practice problems as well as take notes while watching the lecture.