version 1.1, 2003/08/29 21:08:40
|
version 1.5, 2016/01/03 04:51:10
|
Line 3
|
Line 3
|
\textbf{How to deal with multi-part problems} |
\textbf{How to deal with multi-part problems} |
|
|
Often, there are several parts in a specific problem. For example, a |
Often, there are several parts in a specific problem. For example, a |
problem with three parts would have parts 0, 11, 12, and 13. For a |
problem with four parts may have parts 0, 11, 12, and 13. For a |
general spreadsheet, it is not often desirable to sum up all of these |
general spreadsheet, it is often desirable to sum up all of these |
parts, while not knowing how many parts there are as the spreadsheet |
parts, while not knowing how many parts there are as the spreadsheet |
is written. |
is written. |
|
|
The spreadsheet has a preprocessor which an expand a symbolic |
The spreadsheet has a preprocessor which can expand a symbolic |
expression over all symbolic names that fit. The general syntax is |
expression over all symbolic names that match. The general syntax is |
\index{EXPANDSUM} \texttt{[\&EXPANDSUM(VARNAME;expression)]}. |
\index{EXPANDSUM} \texttt{[\&EXPANDSUM(VARNAME;expression)]}. |
|
|
For example, for the above assessment with three parts, |
\noindent |
|
For example, for the above assessment with four parts,\\ |
|
|
\texttt{\&EXPANDSUM(}\texttt{\textbf{PART}}\texttt{;parameter\_}\texttt{\textbf{PART}}\texttt{\_weight{*}stores\_}\texttt{\textbf{PART}}\texttt{\_awarded)} |
\noindent |
|
\texttt{\&EXPANDSUM(}\texttt{\textbf{PART}}\texttt{;parameter\_}\texttt{\textbf{PART}}\texttt{\_weight{*}stores\_}\texttt{\textbf{PART}}\texttt{\_awarded)}\\ |
|
|
would become |
\noindent |
|
would become\\ |
|
|
|
\noindent |
\texttt{parameter\_0\_weight{*}stores\_0\_awarded +}~\\ |
\texttt{parameter\_0\_weight{*}stores\_0\_awarded +}~\\ |
\texttt{parameter\_11\_weight{*}stores\_11\_awarded +}~\\ |
\texttt{parameter\_11\_weight{*}stores\_11\_awarded +}~\\ |
\texttt{parameter\_12\_weight{*}stores\_12\_awarded +}~\\ |
\texttt{parameter\_12\_weight{*}stores\_12\_awarded +}~\\ |
\texttt{parameter\_13\_weight{*}stores\_13\_awarded +}~\\ |
\texttt{parameter\_13\_weight{*}stores\_13\_awarded +}~\\ |
|
% bold does not show |
|
% where \textbf{bolded text} is used to highlight what the \texttt{\&EXPANDSUM} function is doing. |
|
|
where \textbf{bolded text} is used to highlight what the |
|
\texttt{\&EXPANDSUM} function is doing. |
|
|
|
\textbf{What 'tries' means} |
\noindent |
|
\textbf{What `tries' means} |
|
|
|
In multi-part questions, the exported value for ``tries''\index{tries} is |
|
the average number of tries to get the parts correct. |
|
The full data for each part is still stored by the system. To assign partial credit based on number of tries, see the example in \textbf{Special Functions} (\ref{Spreadsheet_Functions}). |
|
|
In multi-part questions, the exported value for "tries"\index{tries} is now |
|
the average number of tries to get the parts right. |
|
The full data for each part is still stored by the system. |
|