Multiple Choice Quiz with self marking funciton
Hi, I am new to ConTeXt but have been using LaTeX for years. Just before I came across ConTeXt, I ran across Acrotex eDucation Bundle. One of its packages allows us to create multiple choice quizzes which has some self-harming features when done on screen. It also has a paper equivalent. I am wondering if anyone is willing to share his/her setups for multiple choice, with or without the self-harming feature. I am also wondering if ConTeXt has that self-harming feature too. If it can, I hope too see an example of how it can be done. Many thanks in advance. May you be well and happy!B.A.
B.A.Lee mailto:b.a.lee@rocketmail.com 21. Oktober 2016 um 19:28 Hi,
I am new to ConTeXt but have been using LaTeX for years. Just before I came across ConTeXt, I ran across Acrotex eDucation Bundle. One of its packages allows us to create multiple choice quizzes which has some self-harming features when done on screen. It also has a paper equivalent.
I am wondering if anyone is willing to share his/her setups for multiple choice, with or without the self-harming feature. I am also wondering if ConTeXt has that self-harming feature too. If it can, I hope too see an example of how it can be done.
Take a look at the widgets manual: http://pragma-ade.nl/show-man-13.htm Wolfgang
Thanks Wolfgang for pointing the direction.
My effort so far gave the following:
%%%%\setuppapersize[S4][S4]\setupinteraction[state=start,click=no]
\definefield
[Choice][radio][ChoiceSetup] [yes,no]
\definesymbol [YesS] [Y] %[\ding{52},color=red] %% Not successful in getting the symbols I want to work\definesymbol [NoS] [\getglyph{Dingbats}{\char10008}] %[\ding{56},color=red]\definesymbol [BlankS] []
\definesubfield[yes][ChoiceSetup][YesS,BlankS]\definesubfield[no][ChoiceSetup][NoS,BlankS]
\copyfield [no] [no1]\copyfield [no] [no2]\copyfield [no] [no3]\copyfield [no] [no4]
\setupfield[ChoiceSetup] [width=2ex, height=2ex, frame=on, background=screen]
\starttext
\hbox to \hsize {\field[no1] A: correct \hfill \field[yes] maybe \hfill \field[no2] incorrect \hfill \field[no3] huh?}
\starttabulate
\field[no1] $x$ \NC \field[no2] $-x$ \NR %% can't figure out how to delink these radio fields from the above \field[no3] $\pm x$ \NC \field[yes] $|x|$ \NR
\stoptabulate
\stoptext%%%%
My intention for including this is not for someone to help debug this but to show the limit of my coding skills.
I was really hoping for a working example of a multiple choice quiz since ConTeXt was originally designed for educational purpose.
Thanks anyway. @-->------ May you be happy and well! B.A. ------<--@
On Saturday, 22 October 2016, 20:41, Wolfgang Schuster
participants (2)
-
B.A.Lee
-
Wolfgang Schuster