Skip to main content
Contents
Search Book
close
Search Results:
No results.
Dark Mode Prev Up Next Scratch ActiveCode Profile
title here
\(\newcommand{\N}{\mathbb N}
\newcommand{\Z}{\mathbb Z}
\newcommand{\Q}{\mathbb Q}
\newcommand{\R}{\mathbb R}
\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 1.19 Evaluate Expressions-WE9-P1
Subgoals for evaluating an assignment statement.
Decide order of operations
Determine operator behavior based on operands
Operator and operands must be compatible
Solve arithmetic, expression, or operation
Subsection 1.19.1
For the assignment statements below, give the new value of the assigned variable. Each problem is independent of the others (e.g. Question 2 does not depend on Question 1, only the βGivenβ code).
Subsection 1.19.2 Expressions-WE9-P1
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 1.19.1.
Exercises Exercises
1.
2.
3.
4.
5.
6.
7.
8.
You have attempted
of
activities on this page.