Blanks

This question type has been deprecated in favor of the newer Inline type.

Description

Blanks questions are a form of free response question that can include multiple response objects in a single question. Blanks questions are limited in the fact that they accept only three types of response objects: text, menu, and formula. Each type is described below.

Notes

Examples

\begin{question}{Blanks}
\qutext{The first president of the United States was
% Format: \blank{correct answer}
\blank{George Washington},
and the first vice president was \blank{John Adams}.}
\end{question}
\begin{question}{Blanks}
\qutext{The first president of the United States was 
% Format: \blank[menu]{correct choice, other choices}
\blank[menu]{George Washington, John Adams, John Hancock, Thomas 
Jefferson, James Madison}, and the first vice president was
\blank[menu]{John Adams, George Washington, John Hancock, Thomas 
Jefferson, James Madison}.} \end{question}
\begin{question}{Blanks}
\qutext{The derivative of the function $f(x)=4x-x^3$ is 
% Format: \blank[formula]{correct answer in calculator syntax}
\blank[formula]{4-3x^2}
and the second derivative is 
\blank[formula]{-6x}.}
\end{question}
\begin{question}{Blanks}
\qutext{The function $1-x^2$ is positive for values of $x$ in the range
\blank[formula]{-1} $< x <$ \blank[formula]{1}.}
\end{question}
\begin{question}{Blanks}
\qutext{The maximum value of the function
$f(x)=\displaystyle\frac{x}{1+2x^2}$ is
\blank[formula]{0.353553 ? 0.0001} and the minimum value is 
\blank[formula]{-0.353553 ? 0.0001}. Your answers should be correct 
to an accuracy of at least 4 decimal places.}
\end{question}
\begin{question}{Blanks}
% This question mixes the [menu] and [formula] options.
\qutext{The graph of the function $f(x)=(x-3)^2$ is the same as the
graph of $g(x)=x^2$ shifted \blank[menu]{to the right, up}
\blank[formula]{3} units.}
\end{question}
\begin{question}{Blanks}
% This question uses algorithmic variables.
\qutext{An earthquake which measures $\var{a}$ on the Richter scale is
\blank[formula]{\var{ans}} times more powerful than one which measures
$\var{\var{a} - \var{inc}}$. Your answer should be exact.}
\code{$a = range(5,9,0.01);
      $inc = range(2,4);
      $ans = int(10^$inc);}
% The above code chooses a random value $a between 5 and 9, to two
% significant figures.
\begin{question}{Blanks}
% This question uses algorithmic variables.
\qutext{The graph of the function
$f(x)=\var{s1}\var{a}(x+\var{h})^2-\var{k}$ is the same as the graph of
the function $g(x)=\var{s1}\var{a}x^2$ shifted 
\blank[menu]{to the left \var{h} units,to the right \var{h} units, 
up \var{h} units,down \var{h} units} 
and shifted \blank[menu]{down \var{k} units,up \var{k} units, 
to the right \var{k} units, to the left \var{k} units}.}
\code{$s1 = if(rint(2),"","-");
      $a = range(2,9);
      $h = range(2,9);
      $k = range(2,9);}
% The above code chooses random integer coefficients between 2 and 9, 
% and allows the leading coefficient of the function f to be either 
% positive or negative.
\end{question}
\begin{question}{Blanks}
% This question uses algorithmic variables in the menu choices as well
% as in the rest of the question.
\qutext{In the \var{q} quadrant, the graph of $y=\var{c}(\var{a1})^x$ is
\blank[menu]{\var{p1},\var{p2}} the graph of $y=\var{c}(\var{a2})^x$.}
\code{$r = rint(2);
      $s = rint(2);
      $t = range(2,9);
      $q = switch($r,"first","second");
      $p1 = switch($r+$s,"above","below","above");
      $p2 = switch($r+$s,"below","above","below");
      $c = range(2,30);
      $a = range(1.1,12.1,0.1);
      $a1 = switch($s,$a+$t,$a);
      $a2 = switch($s,$a,$a+$t);}
\end{question}

See Also