File:  [LON-CAPA] / loncom / html / adm / help / tex / Spreadsheet_HowTo_Assessments.tex
Revision 1.3: download - view: text, annotated - select for diffs
Mon Aug 23 16:16:18 2010 UTC (13 years, 11 months ago) by riegler
Branches: MAIN
CVS tags: version_2_11_1, version_2_11_0_RC3, version_2_11_0_RC2, version_2_11_0_RC1, version_2_11_0, version_2_10_X, version_2_10_1, version_2_10_0_RC2, version_2_10_0_RC1, version_2_10_0, loncapaMITrelate_1, language_hyphenation_merge, language_hyphenation, HEAD, BZ4492-merge, BZ4492-feature_horizontal_radioresponse

Updating chapter 15 of cc manual.

    1: \label{Spreadsheet_HowTo_Assessments}
    2: 
    3: \textbf{How to deal with multi-part problems}
    4: 
    5: Often, there are several parts in a specific problem. For example, a
    6: problem with three parts would have parts 0, 11, 12, and 13. For a
    7: general spreadsheet, it is not often desirable to sum up all of these
    8: parts, while not knowing how many parts there are as the spreadsheet
    9: is written.
   10: 
   11: The spreadsheet has a preprocessor which can expand a symbolic
   12: expression over all symbolic names that fit. The general syntax is
   13: \index{EXPANDSUM} \texttt{[\&EXPANDSUM(VARNAME;expression)]}. 
   14: 
   15: For example, for the above assessment with three parts,
   16: 
   17: \texttt{\&EXPANDSUM(}\texttt{\textbf{PART}}\texttt{;parameter\_}\texttt{\textbf{PART}}\texttt{\_weight{*}stores\_}\texttt{\textbf{PART}}\texttt{\_awarded)}\\
   18: would become
   19: \texttt{parameter\_0\_weight{*}stores\_0\_awarded +}~\\
   20: \texttt{parameter\_11\_weight{*}stores\_11\_awarded +}~\\
   21: \texttt{parameter\_12\_weight{*}stores\_12\_awarded +}~\\
   22: \texttt{parameter\_13\_weight{*}stores\_13\_awarded +}~\\
   23: where \textbf{bolded text} is used to highlight what the
   24: \texttt{\&EXPANDSUM} function is doing.
   25: 
   26: \noindent
   27: \textbf{What 'tries' means}
   28: 
   29: In multi-part questions, the exported value for "tries"\index{tries} is now 
   30: the average number of tries to get the parts right. 
   31: The full data for each part is still stored by the system. 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>