question with multipe subquestion

Added by KYR GI over 5 years ago

Hi all,

is it possible for a question that has 2-3 sub-questions, to organize answers in groups?
for example after the text of the question to print smt like
For Question 1A:
begin {choices}
end{choices}
For Question 1B:
begin {choices}
end{choices}
For Question 1C:
begin {choices}
end{choices}.

If everything is shuffle will be difficult for students to track down them.

thank you in advance,
KYR.
If it is not possible how can I maintain answer order?


Replies (3)

RE: question with multipe subquestion - Added by Frédéric Bréal over 5 years ago

May be this :

\element{Question1A}{
text
\insertgroup{Answer-Question1A}
}

\element{Answer-Question1A}{
\begin{question}{Answer1-Question1A}
text
\begin{choices}
\end{choices}
\end{question}
}

\element{Answer-Question1A}{
\begin{question}{Answer2-Question1A}
text
\begin{choices}
\end{choices}
\end{question}
}

\element{Question1B}{
text
\insertgroup{Answer-Question1B}
}

\element{Answer-Question1B}{
\begin{question}{Answer1-Question1B}
text
\begin{choices}
\end{choices}
\end{question}
}

\element{Answer-Question1A}{
\begin{question}{Answer2-Question1B}
text
\begin{choices}
\end{choices}
\end{question}
}

\insertgroup{Answer-Question1A}
\insertgroup{Answer-Question1B}

or

\cleargroup{all}
\copygroup{Answer-Question1A}{all}
\copygroup{Answer-Question1B}{all}
\insertgroup{all}

RE: question with multipe subquestion - Added by KYR GI over 5 years ago

great thanks, it works and looks good.

KYR.

RE: question with multipe subquestion - Added by Frédéric Bréal over 5 years ago

I made a mistake, sorry

\insertgroup{Answer-Question1A}
\insertgroup{Answer-Question1B}

\insertgroup{Question1A}
\insertgroup{Question1B}

\cleargroup{all}
\copygroup{Answer-Question1A}{all}
\copygroup{Answer-Question1B}{all}

\copygroup{Question1A}{all}
\copygroup{Question1B}{all}
\insertgroup{all}

(1-3/3)