Forums » Using AMC (english) »
Shuffling two versions of question groups.
Added by Gadir Rustamli 7 months ago
I have the following use case.
I have two variants of English reading test.
Both variants have a reading text and questions related to that text.
I want to generate 200 test sheets with both variants shuffled.
Individual questions for each reading test variants should also be shuffled.
How can I achieve this?
Replies (2)
RE: Shuffling two versions of question groups.
-
Added by Alexis Bienvenüe 7 months ago
Something like that?
\setdefaultgroupmode{withoutreplacement}
\element{qv1}{
Question 1 for text variant 1.
}
\element{qv1}{
Question 2 for text variant 1.
}
...
\element{variants}{
Text variant 1.
\insertgroup{qv1}
}
\element{qv2}{
Question 1 for text variant 2.
}
\element{qv2}{
Question 2 for text variant 2.
}
...
\element{variants}{
Text variant 2.
\insertgroup(qv2}
}
% With cyclic, the two variants alternate on copies
\setgroupmode{variants}{cyclic}
\onecopy{10}{
copy header.
\insertgroup[1]{variants}
}
RE: Shuffling two versions of question groups.
-
Added by Gadir Rustamli 7 months ago
Yes. That's it. Thanks a lot
(1-2/2)