Section 4.2 Evaluate Conditionals-WE1-P1
Subgoals for Evaluating Selection Statements.
- Diagram which statements go together by indentation
-
For conditional, determine whether expression is true
- If true, follow true branch
- If false, follow next elif/else branch or exit conditional if no else branch
- Repeat step 2 as necessary
Subsection 4.2.1 Conditionals-WE1-P1
Each question below is independent, but they all use this given setup
alpha = 2
beta = 1
delta = 3
eta = 0
gamma = 0
omega = 2.5
theta = -1.3
kappa = 3.0
Exercises Exercises
2.
3.
4.
5.
6.
You have attempted 1 of 5 activities on this page.