From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/46582 Path: news.gmane.org!not-for-mail From: batela Newsgroups: gmane.comp.tex.context Subject: create and grade multiple choice exams with MUCH an ConTeXT Date: Wed, 31 Dec 2008 12:56:36 +0000 Message-ID: <34bba1ceeddd55203f35f1f57daa997e@tugamail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1230730519 18610 80.91.229.12 (31 Dec 2008 13:35:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Dec 2008 13:35:19 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Dec 31 14:36:25 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1LI1FF-00056G-9G for gctc-ntg-context-518@m.gmane.org; Wed, 31 Dec 2008 14:36:21 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 866591FDC7; Wed, 31 Dec 2008 14:35:05 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25511-04-8; Wed, 31 Dec 2008 14:34:00 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A89761FD38; Wed, 31 Dec 2008 14:30:42 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 92E171FD38 for ; Wed, 31 Dec 2008 14:30:39 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25511-04-3 for ; Wed, 31 Dec 2008 14:29:40 +0100 (CET) Original-Received: from sapo.pt (relay1.ptmail.sapo.pt [212.55.154.21]) by ronja.ntg.nl (Postfix) with SMTP id 6E89A1FDD3 for ; Wed, 31 Dec 2008 13:56:42 +0100 (CET) Original-Received: (qmail 26935 invoked from network); 31 Dec 2008 12:56:38 -0000 Original-Received: from unknown (HELO sapo.pt) (10.134.37.164) by relay1 with SMTP; 31 Dec 2008 12:56:38 -0000 Original-Received: (qmail 24505 invoked from network); 31 Dec 2008 12:56:38 -0000 X-AntiVirus: PTMail-AV 0.3-0.92.0 X-Virus-Status: Clean (0.00806 seconds) Original-Received: from unknown (HELO [192.168.1.7]) (as9938358@sapo.pt@[213.13.228.201]) (envelope-sender ) by mta14 (qmail-ldap-1.03) with SMTP for ; 31 Dec 2008 12:56:38 -0000 X-Mailer: Apple Mail (2.624) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:46582 Archived-At: 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 ___________________________________________________________________________________