File:  [LON-CAPA] / doc / homework / Attic / homework-params
Revision 1.1: download - view: text, annotated - select for diffs
Tue Jun 20 19:27:56 2000 UTC (23 years, 10 months ago) by albertel
Branches: MAIN
CVS tags: version_0_4, stable_2002_spring, stable_2002_july, stable_2002_april, stable_2001_fall, STABLE, HEAD
-adding homework documentation

- 3 suggestions

#1

<problem>
	<part>
		<answergroup>
			<caparesponse tol="float,0,100,3" wgt="int,0,9,1">
				<input/>
			</caparesponse>
			<caparesponse tol="float,0,100,3" wgt="int,0,9,1">
				<input/>
			</caparesponse>
		</answergroup>
	</part>
	<part>
		<answergroup>
			<caparesponse tol="float,0,100,3" wgt="int,0,9,1">
				<input/>
			</caparesponse>
		</answergroup>
	</part>
</problem>

- when published all response ranges/types are stored in the meta-data
- the RAT uses the metadata to setup up specific values for an instructor and 
setting
- if the homework is updated by hand, when published again the instructor will 
need to specify which values were originally in the question and which were 
not originally there
- the fourth value is a default and will be used for any unspcified values

#2
<problem name="Rotational Mechanics">
	<parameter>
		<item ID="tol1" type="float" range="0,100" default="3"/>
		<item ID="tol2" type="float" range="0,100" default="3"/>
		<item ID="wgt1" type="int" range="0,9" default="1"/>
		<item ID="wgt2" type="int" range="0,9" default="1"/>
		<item ID="wgt3" type="int" range="0,9" default="1"/>
	</parameter>
	<part name="Angular Momentum">
		<answergroup name="Something">
			<caparesponse tol=tol1 wgt=wgt1>
				<input/>
			</caparesponse>
			<caparesponse tol=tol1 wgt=wgt2>
				<input/>
			</caparesponse>
		</answergroup>
	</part>
	<part name="Inertia">
		<answergroup name="Something Else">
			<caparesponse tol=tol2 wgt=wgt3>
				<input/>
			</caparesponse>
		</answergroup>
	</part>
</problem>

- Publishing will check that all necessary values have been specified 
correctly (no IDs are used that aren't defined etc.)
- the RAT will discuss parameters in terms of the names in the subsections
 (where response going to have names?)
- values will be stored by IDS
- all missing values, or undefined IDS will use global defaults for that 
response type.

#3
<problem name="Rotational Mechanics">
	<part name="Angular Momentum">
		<answergroup name="Something">
			<caparesponse>
				<param ID="tol1" type="tol" type="float" 
                                       range="0,100" default="3"/>
				<item ID="wgt1" type="int" range="0,9" 
					default="1"/>
				<input/>
			</caparesponse>
			<caparesponse>
				<param ID="tol2" type="tol" type="float" 
                                       range="0,100" default="3"/>
				<item ID="wgt2" type="int" range="0,9" 
					default="1"/>
				<input/>
			</caparesponse>
		</answergroup>
	</part>
	<part name="Inertia">
		<answergroup name="Something Else">
			<caparesponse>
				<param ID="tol3" type="tol" type="float" 
                                      range="0,100" default="3"/>
				<item ID="wgt3" type="int" range="0,9" 
					default="1"/>
				<input/>
			</caparesponse>
		</answergroup>
	</part>
</problem>

- Publishing will check that all necessary values have been specified 
correctly (no IDs are used twice etc.)
- the RAT will discuss parameters in terms of the names in the subsections
 (were response going to have names?
- values will be stored by IDS
- all missing values, or undefined IDS will use global defaults for that       
  response type.



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