Skip to main content\(
\newcommand{\lt}{<}
\newcommand{\gt}{>}
\newcommand{\amp}{&}
\definecolor{fillinmathshade}{gray}{0.9}
\newcommand{\fillinmath}[1]{\mathchoice{\colorbox{fillinmathshade}{$\displaystyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\textstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptscriptstyle\phantom{\,#1\,}$}}}
\)
Section 2.1 WriteConditional-Subgoals
Subgoals for writing conditionals.
-
Define how many mutually exclusive paths are needed
-
Order paths from most restrictive to least restrictive
-
Write conditional statement with Boolean expression
-
Follow with true path including action in indentation
-
Repeat 3 and 4 until all paths are included
-
(Optional) Follow with else path including action in indentation
You have attempted
of
activities on this page.