Location: PHPKode > projects > electure > electure-v2.20/SampleCourse/contents/E-1-002.html
<title>1.2 Exercises</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<body bgcolor="#FFFFFF" text="#000000">
<p>[LASTREF=E-1-001.html NEXT=E-1-003.html]</p>
<h3>1.2 Exercises</h3>
<p>Exercises are prepared as html-files located e.g. in html. However, in order 
  to call them, <b>they first have to be added to the SQL data base</b> for the course. The 
  lecturer can do this with help of his administration menu. 
<p>  As soon, as this is 
  done (we have provided three exercise html-files called <i>E-1-002-A-1.html</i>,
  <i>E-1-002-A-2.html</i> and <i>E-1-002-A-3.html</i> 
  in the folder <i>contents</i> and, to simplify their installation in the admin
  menu, also a file containing their names in <i>contents/lecturer/exercise.dat</i>) 
  you may try to click at them. In case you have deactivated the data base
  by setting the variable $db_active="0" you cannot access exercises and
  thus you will not see the following link to the exercise.
<p>Click on one of the following</p>
<p>[EXERCISE=E-1-002-A-1.html TEXT=A simple exercise]</p>
<p>[EXERCISE=E-1-002-A-2.html TEXT=An exercise with follow-up]</p>
<p>and the exercise will be displayed in a separate window. In the html-code of the 
  present page you find the exercise reference in another electure-command 
  named &quot;EXERCISE&quot;, indictating  the filename of the exercise.</p>
<p>The exercise file itself (e.g. <i>E-1-000-A-1.html</i>) contains both, the exercise 
  text and an arbitrary number of answers. It is up to the pedagocial talent of 
  the lecturer, to utilize this structure. One may use multiple choice answers, 
  stepwise solutions, answers that contain further exercises etc.</p>
<p>To optimize the organisation of the files we suggest, that the
 filenames of the exercise files contain a
unique string (in our sample course the string &quot;-A-&quot;).</p>
Return current item: electure