Creating Group of Questions in AMC-TXT

Added by Khawar Ali about 10 years ago

I want to distribute the questions in few groups using AMC-TXT. I do not know LaTeX at all. I am trying to use the AMC-TXT but I am unable to create groups of questions. I want to keep questions of different subjects in different groups. I further want to keep the shuffling on within the groups. Please note that I am using Ubuntu 14.04 Desktop LTS on my laptop of 32bit. Kindly advise me.


Replies (6)

RE: Creating Group of Questions in AMC-TXT - Added by Alexis Bienvenüe almost 11 years ago

You have to use a development version of AMC (see http://home.gna.org/auto-qcm/download-ubuntu.en), and use the following syntax:

*( Introductory text

* Question 1
-
-
+

* Question 2
-
-
+

*) Closing text.

See section Question groups section in the documentation that you can fin in the auto-multiple-choice-doc package.

RE: Creating Group of Questions in AMC-TXT - Added by Adin Ramirez almost 10 years ago

How can you achieve the same behavior using LaTex?

RE: Creating Group of Questions in AMC-TXT - Added by Alexis Bienvenüe almost 10 years ago

See section An example with groups of questions and shuffling in the documentation for building two (or more) groups of questions. Then

Introduce group 1

\shufflegroup{group1}\insertgroup{group1}

Introduce group 2

\shufflegroup{group2}\insertgroup{group2}

If you want to randomize the order of the groups, you can define a global group:
\element{main}{
  Introduce group 1

  \insertgroup{group1}
}
\element{main}{
  Introduce group 2

  \insertgroup{group2}
}

and then use something like that:
\shufflegroup{group1}
\shufflegroup{group2}
\shufflegroup{main}\insertgroup{main}

RE: Creating Group of Questions in AMC-TXT - Added by Khawar Ali almost 10 years ago

Thank you dear Alexis.
I have tried to use a development version of AMC at http://home.gna.org/auto-qcm/download-ubuntu.en by typing ppa:alexis.bienvenue/test in terminal. Installation has not started. Instead of installation, terminal flaged a message that "No such file or directory". I am just a lay man and just started use of both ubuntu and AMC. I do not have any echnical knowledge or programming language. Please help me step by step procedure.

Looking forward for your cooperation.

RE: Creating Group of Questions in AMC-TXT - Added by Frédéric Bréal almost 10 years ago

Type in a terminal

sudo add-apt-repository ppa:alexis.bienvenue/test
sudo apt-get update
sudo apt-get install auto-multiple-choice

and wait few minutes or more to download and automatically install AMC

RE: Creating Group of Questions in AMC-TXT - Added by Khawar Ali almost 10 years ago

Dear Geran Carpeaux
It is working now. I am extremely Thanks to you and all friends who are helping the community.

(1-6/6)