Latest news: the Qedoc Quiz Player now uploads your scores to Facebook.  

 

Magic words

From Qedoc

Jump to: navigation, search


Very fast intro · Interface quick tour · How people use Qedoc · Obtaining a contributor ID · How to create a new module · Loading modules · How to create a new task · How to use the question bank · The WYSIWYG display · Standard question options · Using categories · Adding media · Adding a document · Creating activities · Flashcards · Metadata · Uploading modules · Downloading modules · Synchronisation · Difficulty level · Changing the appearance · Data tables · Data import and export · The developer toolbox · Clipboard · Sound effects · CD-ROM distribution · Features · Question types · Rewards · Learning with Qedoc · Information for authors · List of current question types · Features · Version history · Compatibility · Media resources · Metadata specification · Where's my module?

This article relates to features introduced in version 1.4.6.


A Magic Word is a code embedded in a Qedoc Quiz Maker task which turns into something else each time the quiz is actually displayed to a learner.

Example of a magic word

The best example is the code {username} (i.e. the word username enclosed in curly brackets). If you insert {username} into a question, hint, feedback field (or even an answer), the Qedoc Quiz Player replaces this at runtime with the name of the currently logged in user (as displayed in the top left-hand corner of the Player). This can be used to good effect to give a more personalised feel to a test.

Examples:

Q: What is your name?         A: {username}

Or slightly more useful (for a young learner):

Q: Can you spell your name?        A: {username}

Or more commonly, in any quiz:

(Placed in the feedback field)   "Well done, {username}!"

List of current magic words

  • {username} - as above.
  • {title} - the title of the module.
  • {dayofweek} - the current day of the week.
  • {month} - the current month of the year.

Suggested future magic words

You can add your own suggestions here.

  • {dtx}: inserts a table based in a data table, typically into a presentation so the learner can use the table as reference.
  • {levelsize}: number of questions in this quiz.
Personal tools
Support