Please enable JavaScript to use CodeHS

Teaching AP® Computer Science A

Lesson 4.18 if Statements and Control Flow

Description

In this lesson, students will learn about control structures and if statements. If statements are used in programming when there are a set of statements that should be executed only when certain conditions are met. This lesson corresponds with AP Computer Science A topic 3.2.


Objective

Students will be able to:

  • Represent branching logical processes by using flowcharts
  • Use if statements