Ticket #1724 (closed story: fixed)

Opened 11 years ago

Last modified 11 years ago

Exercise template has a web-based feedback

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

Description (last modified by hans) (diff)

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 11 years ago.
mc_feedback.png (14.7 KB) - added by hans 11 years ago.

Change History

comment:1 Changed 11 years ago by hans

  • Description modified (diff)

Changed 11 years ago by hans

Changed 11 years ago by hans

comment:2 Changed 11 years ago by hans

  • Description modified (diff)

comment:3 Changed 11 years ago 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

comment:4 Changed 11 years ago by hans

  • Milestone changed from 2.2.4 to 2.4

comment:5 Changed 11 years ago by tarmo

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.