\rm
\hrule 
\vskip 0.2in
\section{Coding Templates and Auxiliary Files}

\vskip 0.2in
\hrule 
\vskip 0.2in
Template files that facilitate problem coding and improve the legibility of the
set source file are available. They have proven to be very useful for
multiple choice conceptual problem coding, coding problems with tables, labeling graphics in problems, etc. and can be expanded and modified to
suit a user's particular needs.  For more detailed information about these
templates, view the output of sets 3-18 in the {\sl nsc121s9} class folder (print out
or display on a web browser).
\begin{enumerate}
\item The {\sl /demolibrary/Tools} directory contains the following files:
\newline \begingroup\small \begin{verbatim}

GreekWeb           Numprob-withfig    StdMacros          lets_chem
GreekWeb2          Problem#           StdUnits           parProblem#
Numprob            StdConst           Stylefile-include

\end{verbatim}
 \endgroup
\normalsize
The files include some variable definitions that can be used to simplify 
problem-coding.  
\item {\sl /demolibrary/MCTools} directory
contains files that were written to simplify the coding of qualitative
conceptual questions, labeled graphics, changing variable answer questions into multiple choice questions for exams, etc. 
Answers types include T/F, matching, ranking, exam style, labeling, etc..
These are used to build new problems by posting the text of a template into a
new problem.  Note that
the code in {\sl exam1of8} can be pasted into a problem and edited to transform the single numerical answer format
into a multiple choice format with 8 choices.
  Listed on the next page are the templates included within the MCTools directory.
\newpage  
\begingroup\small \begin{verbatim}

0-ReadMe_All     SM4aux           i4p5auxw         i9p4auxw
0-ReadMe_iXpY    SM5              i4p5w            i9p4w
90.120grids      SM5aux           i5p3auxw         i9p5auxw
90.90grids       SM6              i5p3w            i9p5w
M3T7             SM6aux           i5p4auxw         i9p6auxw
M3T7aux          SM7              i5p4w            i9p6w
M4T7             SM7aux           i5p5auxw         i9p7auxw
M4T7aux          SM8              i5p5w            i9p7w
M5T7             SM8aux           i5p6auxw         i9p8auxw
M5T7aux          SM9              i5p6w            i9p8w
M6T7             SM9aux           i6p3auxw         i9p9auxw
M6T7aux          exam1of8         i6p3w            i9p9w
M7T7             exam2E1W_aux     i6p4auxw         label-10auxw
M7T7aux          exam2E2W_aux     i6p4w            label-10w
M8T7             exam2E_aux       i6p5auxw         label-11auxw
M8T7aux          exam2Epm_aux     i6p5w            label-11w
M9T7             exam3of6         i6p6auxw         label-12auxw
M9T7aux          exam3of6ABaux    i6p6w            label-12w
Nof3             exam3of6CDaux    i6p7auxw         label-13auxw
Nof3-Ex-Hw       exam3of6EFaux    i6p7w            label-13w
Nof3P1           exam3of9         i7p3auxw         label-14auxw
Nof3P1aux        exam3of9ABCaux   i7p3w            label-14w
Nof3aux          exam3of9DEFaux   i7p4auxw         label-15auxw
Nof4             exam3of9GHIaux   i7p4w            label-15w
Nof4P1           fig10to10auxw    i7p5auxw         label-16auxw
Nof4P1aux        fig10to10w       i7p5w            label-16w
Nof4aux          fig11to11auxw    i7p6auxw         label-17auxw
Nof5             fig11to11w       i7p6w            label-17w
Nof5aux          fig12to12auxw    i7p7auxw         label-18auxw
Nof6             fig12to12w       i7p7w            label-18w
Nof6aux          fig13to13auxw    i7p8auxw         label-2auxw
Nof7             fig13to13w       i7p8w            label-2w
Nof7aux          fig4to4auxw      i8p3auxw         label-3auxw
Nof8             fig4to4w         i8p3w            label-3w
Nof8aux          fig5to5auxw      i8p4auxw         label-4auxw
Nof9             fig5to5w         i8p4w            label-4w
Nof9aux          fig6to6auxw      i8p5auxw         label-5auxw
Rank3            fig6to6w         i8p5w            label-5w
Rank3aux         fig7to7auxw      i8p6auxw         label-6auxw
Rank4            fig7to7w         i8p6w            label-6w
Rank4aux         fig8to8auxw      i8p7auxw         label-7auxw
Rank5            fig8to8w         i8p7w            label-7w
Rank5aux         fig9to9auxw      i8p8auxw         label-8auxw
Rank6            fig9to9w         i8p8w            label-8w
Rank6aux         i4p3auxw         i8p9auxw         label-9auxw
SM3              i4p3w            i8p9w            label-9w
SM3aux           i4p4auxw         i9p3auxw         labelingweb.aux
SM4              i4p4w            i9p3w

\end{verbatim}
\endgroup
\newpage

\item The {\sl /demolibrary/Tables5} directory includes the following templates to make
tables that will both print and display on the web.
\newline \begingroup\small \begin{verbatim}

Tables5.aux           row1column4           row5column2
Tables5.aux.noborder  row1column5           row5column3
Tables5pg1.aux        row1column6           row5column4
Tables5pg2.aux        row1column7           row5column5
readme                row2column2           row5column6
row10column2          row2column3           row5column7
row10column3          row2column4           row6column2
row10column4          row2column5           row6column3
row11column2          row2column6           row6column4
row11column3          row2column7           row7column2
row11column4          row3column2           row7column3
row12column2          row3column3           row7column4
row12column3          row3column4           row8column2
row12column4          row3column5           row8column3
row13column2          row3column6           row8column4
row13column3          row3column7           row9column2
row13column4          row4column2           row9column3
row14column2          row4column3           row9column4
row14column3          row4column4           rowRcolumnC.1
row14column4          row4column5           rowRcolumnC.2
row1column2           row4column6
row1column3           row4column7

\end{verbatim}
 \endgroup



\item Note: The file {\sl teacher/CAPA5/nsc121s9/HWTop} contains  two lines  that should be edited. That part of the file is shown below. 

\begingroup\small \begin{verbatim}
.....
//
//************* Edit the 2 statements below to suit ****************
//
/LET coursename="Sample \capa Questions"        
/LET DeptID="College of Natural Science, Michigan State University"
//
//******************************************************************
//
\end{verbatim}
\endgroup
\normalsize
 This file contains the header for
assignments or exams, as well as defining the variable {\em stdendline} (standard end line).
The file should be edited to reflect the name of the course, department, and 
University. Note that it is coded so that its information is not part of the
text sent to vt100 terminals as this would waste several lines on the screen
each time the first problem is displayed.
Thus the {\sl HWTop} file is imported in each set {\bf after} the {\sl StdMacros} file. 

\end{enumerate}  


