Skip to main content
Contents Index
Calc
Dark Mode Prev Up Next Scratch ActiveCode
\(\newcommand{\identity}{\mathrm{id}}
\newcommand{\notdivide}{{\not{\mid}}}
\newcommand{\notsubset}{\not\subset}
\newcommand{\lcm}{\operatorname{lcm}}
\newcommand{\gf}{\operatorname{GF}}
\newcommand{\inn}{\operatorname{Inn}}
\newcommand{\aut}{\operatorname{Aut}}
\newcommand{\Hom}{\operatorname{Hom}}
\newcommand{\cis}{\operatorname{cis}}
\newcommand{\chr}{\operatorname{char}}
\newcommand{\Null}{\operatorname{Null}}
\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\,}$}}}
\newcommand{\sfrac}[2]{{#1}/{#2}}
\)
Exercises 3.18 Fill-In Exercises
1. Fill-In, Integer Answer.
2. Fill-In, String and Number Answers.
Complete the following line of a Python program so that it will declare an integer variable
age
with an initial value of
5
. (These two answer blanks have been set to be very short.)
3. Fill-In, Case-Insensitive Answer.
4. Fill-In, Decimal Answer.
The decimal number
is an approximation of
\(\sfrac{1}{3}\) to within three significant figures. (
Wikipedia ).
5. Fill-In, New Markup Numbers.
6. Fill-In, New Markup Strings.
Hint .
Do you really need a hint? Carefully reread the question.
7. Fill-In, Javascript test of numbers.
8. Fill-In, Javascript test of strings.
9. Fill-In, Simple Randomization with Numbers.
10. Fill-In, Dynamic Math with Simple Numerical Answer.
11. Fill-In, Dynamic Math with Formulas as Answers.
12. Fill-In, Dynamic Math with Interdependent Formula Checking.