ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: batela <batela@tugamail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: create and grade multiple choice exams with MUCH an ConTeXT
Date: Wed, 31 Dec 2008 12:56:36 +0000	[thread overview]
Message-ID: <34bba1ceeddd55203f35f1f57daa997e@tugamail.com> (raw)

Dear Sirs,


For create and grade my MCQ (multiple choice quiz) I use the MUCH 
command that in had found at http://fourier.math.uoc.gr/~mk/much/.
this is a very useful command for create and grade quizzes. Actually my 
main propose is use MUCH with context (or luatext).
I prepare my exams in this way:
Each question = one file
Question example:
"""""
Today is:
.
31 December --- the true question is the first
.
25 December
.
13 Mars
.
"""""""""""""""""
In the test-description I include my specifications.
And them I do:
  much create test-description
A mc-outfile.tex is created. Now I do:

pdflatex exam.tex for making the pdf file with all exams. If you can 
help I  would  use ConTeXT to prepare the pdf file.


The migration should be very easy. I think there is necessary to define 
in context several commands like:

  \newcommand{\mcglobalheader}

\newcommand{\mcpaperheader}

\newcommand{\mcpaperfooter}

\newcommand{\mcquestionheader}{\noindent{\bf Question 
\mcquestionnumber}: }

\newcommand{\mcquestionfooter}{}

In the file questions (mc-output.tex).

"""""""" mc-output.tex """"""""""""
\mcglobalheader
\def\mcserialnumber{500}
\mcpaperheader


\def\mcquestionnumber{1}


\mcquestionheader How many circular orderings of the numbers 
$0,1,\ldots,10$ are there?
(Two circular orderings which differ only by a rotation are not 
considered different.)
\\
{$A$}: $10!$
\ \ {$B$}: $3^{11}$
\ \ {$C$}: $11!$
\ \ {$D$}: $9!$
\ \

\mcquestionfooter

\mcpaperfooter

%%%%% another exam

\def\mcserialnumber{501}
\mcpaperheader


\def\mcquestionnumber{1}


\mcquestionheader In how many ways can we select, from a set of 20 
people, a committee of 3
different persons with a chair, secretary and member?
\\
{$A$}: $20\cdot19\cdot18$
\ \ {$B$}: $\frac{20!}{3!}$
\ \ {$C$}: $20^3$
\ \ {$D$}: $3^{20}$
\ \

\mcquestionfooter

\mcpaperfooter

%%%%%%%%%%%


Thanks a lot for your support.

Happy New Year to all

Jorge

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


                 reply	other threads:[~2008-12-31 12:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=34bba1ceeddd55203f35f1f57daa997e@tugamail.com \
    --to=batela@tugamail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).