inclass-exam-answer.wf

  • last updated 8 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
make question manager configurable

added functionality to prevent opening the same exam in multiple tabs

  1. … 1 more file in changeset.
fix passing of question number

Added substitution values for short text answers

This change adds the possibility to provide randomized substitution values to short

text questions via value sets.

Value sets are a means for a content developer to provide multiple matching answers which are inserted into the text before an exercise is shown to the end user. One can e.g. provide for a calculation exercise several input and some output values, such that the students get different calculation exercises provided. These values can also be used for the correct-when clauses.

The content developer can use percent-code delimited elements when defining the exercise:

---

Assume, you want to download a %x.what% with the size of %x.size% over a %x.type% connection with a rate of %x.rate% from %univ%.

---

and also in "correct when"

---

%x.secs%

---

the value sets can be provided via an extra field for the short-text questions and have the form

of a Tcl dict:

---

univ {WU-Vienna TU-Vienna "University of Vienna"}

x {

{type "ADSL" rate "256 kbit/s" size "235 MB" secs 5300 what "Powerpoint file"}

{type "ADSL" rate "512 kbit/s" size "5.6 MB" secs 91 what "PDF file"}

{type "4G" rate "80 Mbit/s" size "270 MB" secs 27 what "PDF file"}

{type "4G" rate "40 Mbit/s" size "650 MB" secs 32 what "Lecturecast Video" }

{type "5G" rate "1 Gbit/s" size "520 MB" secs 4 what "Powerpoint file" }

{type "5G" rate "1 Gbit/s" size "1.5 GB" secs 12 what "Lecturecast Video" }

}

---

In this example, every student will get a randomly chosen value for the university (%univ%)

and matching elements containing the answer (e.g. download time of "270 MB" over "80 Mbit/s" is 27 seconds).

The download time is used in the correct when part, such that auto-correction can be applied.

When a student answers this exercise, the system provides random choices that are substituted in the text.

For every variable ("univ", "x", ..) different random values are used for the student.

Certainly, for other students, other numbers and results will be provided.

Note, that this value sets can be used for numeric an non-numeric exercises.

Current limitations:

- only defined for short-text questions (can be in general also for other question types)

- no elaborate user interface for entering value sets (or a thorough validator) is provided.

  1. … 1 more file in changeset.
don't use numbers as object names for actions; don't show "1" for navigation, when there is a single question

  1. … 1 more file in changeset.
add option to show student IP address during the exam

  1. … 3 more files in changeset.
fix typo

Improve handling of cases, where the exam was closed, but some exam-takers have not submitted their results.

Essentially this change avoids an error message and repeated messages, which might

come form autosaving or other ajax calls.

enable question-form resolving again.

improve comment

Undo change from 15 Dec, since it breaks shuffling

Improved handling of link and child resources of forms

- test-item-procs: use resolve context to resolve e.g. images in the context of the original form

(many thanks to Thomas Renner for the suggestion)

- added extra argument "-context_obj" to substitute_markup to ease client code

- inclass-exam-answer.wf: reduced the db interactions by using form_info for form generation

  1. … 4 more files in changeset.
added example-usage of set_css_property -querySelector

Added points in addition to minutes to test items and inclass-exam workflows

  1. … 6 more files in changeset.
- integration of inclass-exam with personal notifications

- new (comnposite) includelet "exam-top-includelet"

- new www-calls for workflows:

* inclass-exam.wf:

. send-participant-message

* inclass-exam-answer.wf:

. message-poll

. message-dismiss

- bumped version number to 5.10.0d23

  1. … 4 more files in changeset.
add ability to use x out of y questions (when order randomization is used)

  1. … 5 more files in changeset.
optionally disallow cut&paste in multi-line form fields

  1. … 4 more files in changeset.
disallow auto-save when exam is closed

handle dfferent time setting between server and client (browser)

  1. … 1 more file in changeset.
- base percentage on results on total points,

- add confirm dialog on submit exam

- show audio on more browsers properly

  1. … 2 more files in changeset.
remove header in answer workflow, when parent workflow has proctoring enables

added a state for exam review for students

  1. … 4 more files in changeset.
add seeds for per-item randomization

provide randomized seeds

changes for inclass-exam:

- open test run in a different frame

- use tailored proctoring code, when available

- improve screen after final exam submission

  1. … 1 more file in changeset.
new features for inclass exam workflow:

- additional flag "synchronized", can be specified on "create exam" page

- provide info about exam publication time and duration since publication

time to the details view of the exam protocol

  1. … 5 more files in changeset.
added skeleton for proctoring support

  1. … 5 more files in changeset.
do not show count-down timer always

Added count-down timer for inclass-exam-answer.wf

- new API call Question_manager.exam_target_time

- new includelet "countdown-timer" (based on answer_manager.countdown_timer)

  1. … 3 more files in changeset.
whitespace cleanup