Ticket #1724 (closed story: fixed)

Opened 4 years ago

Last modified 4 years ago

Exercise template has a web-based feedback

Reported by: hans Assigned to: hans
Priority: blocker Milestone: 2.4
Component: generic Version:
Keywords: Cc:
Time spent: Time remaining:
Time planned:

Description (Last modified by hans)

Students will get web-based feedback in the exercise template immediately when the exercise is submitted. Web-based feedback can handle multiple choice and fill in the blanks questions. In addition to web-based feedback there will remain possibility to get feedback by e-mail. Filling up the e-mail feedback for is not required for submitting the exercise.

Web-based feedback for fill in the blanks questions can be presented with the following XHTML code:

<p>A: Hi, John! What <span class="incorrect_fitb">will you</span> <span class="corrected_fitb">will you do</span> (do) this summer?<br/>
B:  I’m not sure yet, but I think <span class="correct_fitb">I will visit</span> (visit) my friends in Australia.</p>

If the text that user entered in the blank was not correct (class="incorrect_fitb"), then the correct answer will be displayed after that (class="corrected_fitb"). Space between </span> and <span> is important!

http://lemill.org/trac/attachment/ticket/1724/fitb_feedback.png?format=raw

Web-based feedback for multiple choice questions can be presented with the following XHTML code:

<p>(understand you) what I am trying to say?</p>

<p>
<span class="incorrect_mc"><input type="checkbox" value="0" id="exercise_2_checkbox_0" name="exercise_2_checkbox_0" />Do you understand</span><br />
<span class="incorrect_mc"><input type="checkbox" value="1" id="exercise_2_checkbox_1" name="exercise_2_checkbox_1" checked="checked" class="incorrect_mc" />Are you understanding</span>
</p>

<p>He (work) very hard this month.</p>

<p>
<span class="correct_mc"><input type="checkbox" value="1" id="exercise_3_checkbox_1" name="exercise_3_checkbox_1" class="correct_mc" />works</span><br />
<span class="correct_mc"><input type="checkbox" value="0" id="exercise_3_checkbox_0" name="exercise_3_checkbox_0" checked="checked" class="correct_mc" />is working</span>
</p>

http://lemill.org/trac/attachment/ticket/1724/mc_feedback.png?format=raw

CSS code for classes used in the XHTML:

.correct_fitb, .correct_mc {
	color: green;
	background-color: #cceecc;
	}

.incorrect_fitb {
	color: red;
	background-color: #eecccc;
	text-decoration: line-through;
	}

.corrected_fitb, .incorrect_mc {
	color: red;
	background-color: #eecccc;
	}

Attachments

fitb_feedback.png (11.7 kB) - added by hans on 06/12/08 03:44:20.
mc_feedback.png (14.7 kB) - added by hans on 06/12/08 03:44:32.

Change History

06/12/08 03:38:16 changed by hans

  • description changed.

06/12/08 03:44:20 changed by hans

  • attachment fitb_feedback.png added.

06/12/08 03:44:32 changed by hans

  • attachment mc_feedback.png added.

06/12/08 03:45:43 changed by hans

  • description changed.

06/12/08 03:46:53 changed by hans

  • owner changed from anonymous to hans.
  • priority changed from critical to blocker.
  • status changed from new to assigned.
  • milestone set to 2.2.4.

06/12/08 15:07:18 changed by hans

  • milestone changed from 2.2.4 to 2.4.

06/30/08 17:35:23 changed by tarmo

  • status changed from assigned to closed.
  • resolution set to fixed.