shuffle and random selection of subquestions (Feature #629)


Added by Hugo Mendonça over 5 years ago. Updated over 5 years ago.


Status:Feedback Start date:02/23/2019
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-

Description

Hi, everyone!

A good way to implement subquestions was uploaded many years ago in this topic: https://project.auto-multiple-choice.net/issues/253. However, in this case, I understand that only the main question could be randomly selected.

I describe my problem below:

I have many questions and each question has a number of subquestions. So, I would like to randomly select the main question (as usual) and, in addition, randomly select just some of the subquestions (of course, related to the main one).

Thank in advance!

ps: a very good forum!


History

Updated by Alexis Bienvenüe over 5 years ago

Maybe all is not possible with AMC-TXT. With LaTeX source files, you can use something like that:

\element{subA}{
  ... sub-question related to question A ...
}

\element{subA}{
  ... other sub-question related to question A ...
}

\element{subA}{
  ... other sub-question related to question A ...
}

\setgroupmode{subA}{withoutreplacement}

\element{questions}{

  ... question A ...

  \insertgroup[2]{subA} % insert 2 sub-questions
}

... same for question B

\setgroupmode{questions}{withoutreplacement}

% and inside \onecopy:

\insertgroup[1]{questions} % insert 1 question at random (and its sub-questions)

  • Category deleted (AMC-TXT)
  • Status changed from New to Feedback
  • Assignee deleted (Hugo Mendonça)
  • Priority changed from High to Normal

Also available in: Atom PDF