Tags:
create new tag
, view all tags

GIFT

From Wikipedia:GIFT_(file_format): The GIFT format allows someone to use a text editor to write multiple-choice, true-false, short answer, matching, missing word and numerical questions in a simple format that can be imported to a computer-based quizzes. It's used in Wikipedia:Moodle.

Example

// true-false
::Q1:: 1+1=2
{ T }

// multiple choice with specific feedback
::Q2:: What's between orange and green in the spectrum?
{
  =yellow
  # correct!
  ~red
  # wrong, it's yellow
  ~blue
  # wrong, it's yellow
}

// fill-in-the-blank
::Q3:: Two plus
{
  =two
  =2
} equals four.

// matching
::Q4:: Which animal eats which food?
{
  =cat -> cat food
  =dog -> dog food
}

// math range question -- note: {#1..5} is the same range
::Q5:: What is a number from 1 to 5?
{ #3:2 }

// multiple numeric answers with partial credit and feedback
::Q7:: When was Ulysses S. Grant born?
{
  #
  =1822:0
  # Correct! You get full credit.
  =%50%1822:2
  # He was born in 1822. You get half credit for being close.
}

// essay
::Q8:: How are you?
{}

Resources

-- Contributors: PeterThoeny - 2010-06-11

Discussion

This could be the syntax of the SurveyPlugin (SurveyPluginDev).

-- PeterThoeny - 2010-06-11

Topic revision: r1 - 2010-06-11 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.