Skip to main content
Contents
Dark Mode Prev Up Next Scratch ActiveCode Profile
\(
\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.27 Expressions-WE9-P1
Subgoals for evaluating an assignment statement.
Determine resultant data type of expression
Update variable for pre operators based on side effect
Solve arithmetic equation, operator precedence
Is the Left Hand Side (LHS) of the assignment statement a variable? Check the data type of the value on right hand side (RHS) against data type of LHS variable.
Update variable for post operators based on side effect
Subsection 2.27.1
A truth tables shows all possible combinations of input values for a set of variables, and the corrsponding outputs.
The βLine #β column of the chart below corresponds to the following multiple choice questions. Complete this truth table by choosing βtrueβ or βfalseβ for each Line #.
Figure 2.27.1.
Exercises Exercises
1.
true
Incorrect
false
Correct
2.
true
Incorrect
false
Correct
3.
true
Incorrect
false
Correct
4.
true
Incorrect
false
Correct
5.
true
Correct
false
Incorrect
6.
true
Correct
false
Incorrect
7.
true
Incorrect
false
Correct
8.
true
Correct
false
Incorrect
You have attempted
of
activities on this page.