--- loncom/html/adm/help/tex/adaptive_hints.tex 2013/08/05 14:35:15 1.4 +++ loncom/html/adm/help/tex/adaptive_hints.tex 2017/01/19 21:12:45 1.5 @@ -18,37 +18,39 @@ There are five types of hint condition: The formulahint tag takes three parameters: answer, name, and samples. The ``name'' is the unique name given to the hint condition. The formula answer for which you wish to provide conditional is included in the answer parameter. The samples parameter includes the points (or range of points) over which sampling of the student's submitted answer and the formula included in the formula hint answer parameter are to be compared. The syntax is the same as used to specify sampling points in the samples parameter of the formula reponse tag itself. The formula submitted by the student is evaluated at the sample points for the hint and the calculated values are compared with the corresponding values determined by evaluating the ``hint'' answer at the same sampling points. A close correspondence between the two sets of values will trigger the hint action specified in the $<$hintpart$>$ tag. \begin{verbatim} - -

What is the equation of the line -which passess through ($x1,$y1) and ($x2,$y2)?

y = - - - - - - - You have inverted the slope in the question. Slope is -(y2-y1)/(x2 - x1) you have the slope as (x2-x1)/(y2-y1). - - - + +

What is the equation of the line + which passess through ($x1,$y1) and ($x2,$y2)?

+ y = + + + + + + You have inverted the slope in the question. + Slope is (y2-y1)/(x2 - x1) you have the slope as + (x2-x1)/(y2-y1). + + +
\end{verbatim} @@ -57,23 +59,24 @@ which passess through ($x1,$y1) and ($x2 The numericalhint tag takes four parameters: answer, name, unit and format. The ``name'' is the unique name given to the hint condition. The numerical answer for which you wish to provide conditional is included in the answer parameter. Student submission of that answer in combination with the ``unit'' parameter in the hint condition will trigger the hint action specified in the $<$hintpart$>$ tag. \begin{verbatim} - A car travels 10 km in 10 min. - What is the speed of the car? + + A car travels 10 km in 10 min. + What is the speed of the car? - + - - - + + + - You multiplied the distance by the time. Remember - speed = distance/time + You multiplied the distance by the time. + Remember speed = distance/time - - + + \end{verbatim} @@ -85,47 +88,47 @@ There are two types of option response h \item optionresponse \begin{verbatim} - For each of the following rock types, indicate + For each of the following rock types, indicate whether or not the rock is a volcanic rock. - - - - Schist - - - Marble - - - Basalt - - - Gabbro - - - Granite - - - - - - - Schist and Marble are both examples of - metamorphic rocks as described on page 2 of the textbook. -

-
- - Granite and Gabbro are both examples of - igneous rocks that crystallized beneath the surface, i.e., - they are plutonic rocks.

-
- - Volcanic rocks are described on page 22 - of the textbook. - -
-
+ + + + Schist + + + Marble + + + Basalt + + + Gabbro + + + Granite + + + + + + + Schist and Marble are both examples of + metamorphic rocks as described on page 2 of the textbook. +

+
+ + Granite and Gabbro are both examples of + igneous rocks that crystallized beneath the surface, i.e., + they are plutonic rocks.

+
+ + Volcanic rocks are described on page 22 + of the textbook. + +
+
\end{verbatim} @@ -133,98 +136,98 @@ There are two types of option response h \begin{verbatim} - Choose the likely plate boundary type, + Choose the likely plate boundary type, where you are most likely to encounter each of the following geologic features or phenomena. - - - - - Normal faults - - - Strike-slip faults - - - Thrust faults - - - - - Large Magntitude, deep and intermediate + + + + + Normal faults + + + Strike-slip faults + + + Thrust faults + + + + + Large Magntitude, deep and intermediate focus earthquakes - - - Large magnitude, shallow focus earthquakes + + + Large magnitude, shallow focus earthquakes - - - Low magnitude shallow focus earthquakes + + + Low magnitude shallow focus earthquakes - - - - - Broad area of elevated topography with a + + + + + Broad area of elevated topography with a central rift valley. - - - A narrow linear fault zone with limited + + + A narrow linear fault zone with limited topgraphic expression. - - - A deep trench adjacent to a volcanic arc. + + + A deep trench adjacent to a volcanic arc. - - - - - Explosive volcanism involving volatile-rich - viscous magma. - - - Non-explosive outpourings of low-viscosity - magma. - - - No volcanic activity. - - - - - - - - - Volcanism requires a source of magma. + + + + + Explosive volcanism involving volatile-rich + viscous magma. + + + Non-explosive outpourings of low-viscosity + magma. + + + No volcanic activity. + + + + + + + + + Volcanism requires a source of magma. Magma can be generated by either a depression in the solidus caused by an influx of volatiles, or by decompression melting. Magma rich in volatiles tends to cause explosive volcanism. - - - Earthquakes require brittle failure, so there + + + Earthquakes require brittle failure, so there is a correlation between the depth of earthquake foci and the geotherm. The geotherm is depressed in subduction zones, and elevated at mid-ocean ridges. - - - On a broad scale topography is an expression + + + On a broad scale topography is an expression of density variation, as embodied in the concept of isostasy. - Density variation in the earth is a function of temperature and - composition. Cold oceanic crust entering a subduction zone is - dense, whereas as magma is buoyant and of lower density. -

-
- - The characteristics of plate boundaries are - described on page 52 of the textbook. - -
-
+ Density variation in the earth is a function of temperature + and composition. Cold oceanic crust entering a subduction + zone is dense, whereas as magma is buoyant and of lower + density.

+ + + The characteristics of plate boundaries are + described on page 52 of the textbook. + + +
\end{verbatim} \end{enumerate} @@ -235,8 +238,8 @@ The radiobutton hint tag takes two param the name of the hint condition, and the answer is an array. The first element of the array will be 'foil'; the remaining elements are the names of the foils that you require to have been checked by the student for the hint to be displayed. For example, if you create a radiobutton response problem with six foils named: granite, gabbro, gneiss, shale, sandstone and schist, and you want your hint named: igneous to be displayed when either granite or basalt had been checked your radiobutton hint would be as follows: \begin{verbatim} - + \end{verbatim} In order to trigger display of this hint you also need to create a @@ -244,74 +247,58 @@ $<$hintpart$>$$<$/hintpart$>$ block that contains the text of the actual hint. \begin{verbatim} - + This type of rock is composed of interlocking - crystals, a characteristic of igneous rocks. - + crystals, a characteristic of igneous rocks. + \end{verbatim} The complete radiobutton response would look as follows: \begin{verbatim} - - Which of the following is a sedimentary rock? - - - - - - - Granite - - - - - - Gabbro - - - - - - Schist - - - - - - Gneiss - - - - - - Shale - - + + Which of the following is a sedimentary rock? + + + + + + Granite + + + Gabbro + + + Schist + + + Gneiss + + + Shale + - - Sandstone - - - - - - - - - - This type of rock is composed of interlocking - crystals, a characteristic of igneous rocks.

-
- - This type of rock is composed of oriented crystals, a -characteristic of foliated metamorphic rocks. - -
-
+ Sandstone + +
+ + + + + This type of rock is composed of interlocking + crystals, a characteristic of igneous rocks.

+ +
+ + This type of rock is composed of oriented + crystals, a characteristic of foliated metamorphic rocks. + + +
+
\end{verbatim} @@ -321,27 +308,27 @@ The radiobutton hint tag takes two param \begin{verbatim} - Which US state has Lansing as its capital? + Which US state has Lansing as its capital? - - - - - - - - The state capital of Wisconsin is Madison. - - - The state capital of Minnesota is St. Paul. - - - The state you are looking for is also known as the - 'Great Lakes State' - - - - + + + + + + The state capital of Wisconsin is Madison. + + + + The state capital of Minnesota is St. Paul. + + + + The state you are looking for is also known as + the 'Great Lakes State' + + + +
\end{verbatim} \end{enumerate}