Re: creating a quiz /multiple choice questions with Lyx
On 21/11/2013 8:54 p.m., Andrew Parsloe wrote: On 21/11/2013 10:03 a.m., Liviu Andronic wrote: On Mon, Feb 4, 2013 at 10:17 PM, Andrew Parsloe wrote: Riding my particular hobby horses, generating a randomized selection looks like a candidate for a python script after the fashion envisaged in the pLyX system (http://wiki.lyx.org/Examples/Examples). Bad keybinding... I was wondering, now that you're in midst of refactoring pLyX scripts, whether you could easily come up with a Python script that could achieve such randomized selection? Unfortunately my knowledge of Python tends to zero, so I cannot quite hope to do this myself. I don't actually need it now, but I'm curious if this can be done. Please let me know, Liviu Since it is possible to sort a list, it should be straightforward. I shall put it on my to-do list (which has a very random component to its ordering). Andrew In fact, now done as part of the pLyX system using the list sorting script. If your questionnaire is in the form of a two-level list, questions at the top level, multi-choice answers at the sub-level, then, in the pLyX way, placing a ".sort list" custom inset just before the list with the sort specification "2r" in it ("2" for the sub-level, "r" for random) and clicking the pLyX buttons will randomise each sub-level list of potential answers. If the list had some sub-sub-level multi-choice answers, the sort spec. "2r3r" would do the trick. I'll try to update the documentation today and get it to you, Liviu, for the Dropbox repository later today. Andrew
Re: creating a quiz /multiple choice questions with Lyx
On 21/11/2013 10:03 a.m., Liviu Andronic wrote: On Mon, Feb 4, 2013 at 10:17 PM, Andrew Parsloe wrote: Riding my particular hobby horses, generating a randomized selection looks like a candidate for a python script after the fashion envisaged in the pLyX system (http://wiki.lyx.org/Examples/Examples). Bad keybinding... I was wondering, now that you're in midst of refactoring pLyX scripts, whether you could easily come up with a Python script that could achieve such randomized selection? Unfortunately my knowledge of Python tends to zero, so I cannot quite hope to do this myself. I don't actually need it now, but I'm curious if this can be done. Please let me know, Liviu Since it is possible to sort a list, it should be straightforward. I shall put it on my to-do list (which has a very random component to its ordering). Andrew
Re: creating a quiz /multiple choice questions with Lyx
Hello Andrew, On Mon, Feb 4, 2013 at 10:17 PM, Andrew Parsloe wrote: > Riding my particular hobby horses, generating a randomized selection looks > like a candidate for a python script after the fashion envisaged in the pLyX > system (http://wiki.lyx.org/Examples/Examples). > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: creating a quiz /multiple choice questions with Lyx
On 4/02/2013 9:36 a.m., Liviu Andronic wrote: On Sat, Jan 26, 2013 at 8:57 PM, Jacob Bishop wrote: This has been discussed on the list before. The best answer I have seen (in my humble opinion) is to use branches. This (quizzes/mult. choice questions) My crack at multiple-choice questions in LyX (not sure if it was an adaptation of some other document on-line) is attached. It uses the article class, customizable lists module and branches. Feel free to re-use it. I am looking forward though to some usable LyX layout to 'exam' class or similar. Most of all I'd like to be able to generate 2-3 versions of the same multiple-choice exam with randomized questions and answers. Does anyone know how to do this? Regards, Liviu Riding my particular hobby horses, generating a randomized selection looks like a candidate for a python script after the fashion envisaged in the pLyX system (http://wiki.lyx.org/Examples/Examples). Alternatively, there are random number macros and if-then tests in the LaTeX fp package (especially fp-basic.sty, fp-random.sty), although the documentation is minimal. These macros underlie similar macros, with good documentation, in the spreadtab package. (http://wiki.lyx.org/Layouts/Modules points to a LyX module for using spreadtab with LyX.) Either method (I suspect you had thought of them already, and neither appealed) would involve quite a bit of initial work, although once done, would be easily adapted from one multiple-choice questionaire to another. Andrew
Re: creating a quiz /multiple choice questions with Lyx
On Sat, Jan 26, 2013 at 8:57 PM, Jacob Bishop wrote: > This has been discussed on the list before. The best answer I have seen (in > my humble opinion) is to use branches. This (quizzes/mult. choice questions) > My crack at multiple-choice questions in LyX (not sure if it was an adaptation of some other document on-line) is attached. It uses the article class, customizable lists module and branches. Feel free to re-use it. I am looking forward though to some usable LyX layout to 'exam' class or similar. Most of all I'd like to be able to generate 2-3 versions of the same multiple-choice exam with randomized questions and answers. Does anyone know how to do this? Regards, Liviu lyx-multiple-choice.lyx Description: Binary data
Re: creating a quiz /multiple choice questions with Lyx
On Wed, Jan 23, 2013 at 2:24 PM, Vivek wrote: > I would like to create a MCQ list at the end of a presentation with > ability to > display correct answers/ and a score at end of the test. > > Is it possible to do so in lyx? or Latex is the way to go. > > Lyx and latex gurus help me. > > Vivek > > This has been discussed on the list before. The best answer I have seen (in my humble opinion) is to use branches. This (quizzes/mult. choice questions) was one of the primary reasons they were introduced (see http://wiki.lyx.org/LyX/NewInLyX14#toc6 and http://wiki.lyx.org/LyX/NewInLyX20#branches ). For documentation, see the LyX User's Guide, Section 6.8. Jacob
Re: creating a quiz /multiple choice questions with Lyx
- Mail original - > De: "Vivek" > À: lyx-users@lists.lyx.org > Envoyé: Mercredi 23 Janvier 2013 22:24:16 > Objet: creating a quiz /multiple choice questions with Lyx > > I would like to create a MCQ list at the end of a presentation with > ability to > display correct answers/ and a score at end of the test. > > Is it possible to do so in lyx? or Latex is the way to go. > > Lyx and latex gurus help me. > I'm not a latex guru. Joined is the template I built and used for MCQ for years. Feel free to pass around. exam_QCM_fr.lyx Description: application/lyx
Re: creating a quiz /multiple choice questions with Lyx
On Wed, 23 Jan 2013 17:19:33 -0500, Steve Litt said: > On Wed, 23 Jan 2013 21:24:16 + (UTC), Vivek said: > > I would like to create a MCQ list at the end of a presentation with > > ability to display correct answers/ and a score at end of the test. > > > > Is it possible to do so in lyx? or Latex is the way to go. > > > > Lyx and latex gurus help me. > > > > Vivek > > > > One way or another, you'll need to do some pretty fancy LaTeX coding. > I came darn close to doing that once. Basically, you use a different > style for the correct question, with that style presenting the exact > same appearance *unless* a specific variable is set, and then it's > bold or whatever. > > And of course, you'll need to do the right things with the question > and answer counters. > > I'm almost positive it's doable -- I did a lot of research on that > subject. > > SteveT > > Steve Litt* http://www.troubleshooters.com/ > * http://twitter.com/stevelitt > Troubleshooting Training * Human Performance Good news Vivek, I've already done it and posted it on the web. I had forgotten about that. See these: http://www.troubleshooters.com/linux/lyx/ownlists.htm#_Multiple_Choice_Quizzes:_Conceptual http://www.troubleshooters.com/linux/lyx/ownlists.htm#_Implementation_of_the_Multiple_Choice I'm sure you'll need to improve on what I've done to suit your particular need, but this certainly proves it's doable and gives you a head-start. When you're done with these environments, please post them back to the list so we can all see a professional implementation. SteveT Steve Litt* http://www.troubleshooters.com/ * http://twitter.com/stevelitt Troubleshooting Training * Human Performance
Re: creating a quiz /multiple choice questions with Lyx
On Wed, 23 Jan 2013 21:24:16 + (UTC), Vivek said: > I would like to create a MCQ list at the end of a presentation with > ability to display correct answers/ and a score at end of the test. > > Is it possible to do so in lyx? or Latex is the way to go. > > Lyx and latex gurus help me. > > Vivek > One way or another, you'll need to do some pretty fancy LaTeX coding. I came darn close to doing that once. Basically, you use a different style for the correct question, with that style presenting the exact same appearance *unless* a specific variable is set, and then it's bold or whatever. And of course, you'll need to do the right things with the question and answer counters. I'm almost positive it's doable -- I did a lot of research on that subject. SteveT Steve Litt* http://www.troubleshooters.com/ * http://twitter.com/stevelitt Troubleshooting Training * Human Performance
creating a quiz /multiple choice questions with Lyx
I would like to create a MCQ list at the end of a presentation with ability to display correct answers/ and a score at end of the test. Is it possible to do so in lyx? or Latex is the way to go. Lyx and latex gurus help me. Vivek