Multiple-choice table (alterqcm)
Multiple-choice and true/false questions set in two-column tables, with a second copy showing the correct answers.
Create an account to use this
- Category
- Teaching
- Document class
article(article.cls) — ships with TeX Live- Workflow
- Assignment / problem set — no revision rounds
- Author
- Alain Matthes, Apostolos Syropoulos, Anastasios Dimou
- Source
- CTAN
- Licence
- alterqcm.sty: The LaTeX Project Public License 1.3. Sample text: Manulyx, CC0 1.0 (free to use, no conditions).
What you get
main.tex— the file that is compiled · 2 KB
These become your files. Editing them afterwards changes your project and nothing else — a project owns its files from the moment it is made.
Link to this template. Send it to a student or co-author: it starts a new paper in this template, through sign-up if they need an account.
https://manulyx.com/start/ctan-teaching-alterqcm
2 venues use this class
Manulyx keeps one template per document class and relates every venue to it, rather than one near-identical card per journal. Searching the gallery for any of these names finds this template.
Journal of Machine Learning Research, Transactions on Machine Learning Research
- Journal of Machine Learning Research
- Transactions on Machine Learning Research
Source
main.tex — the file that is compiled · 2 KB
\documentclass[a4paper,11pt]{article}
\usepackage[T1]{fontenc}
\usepackage{amsmath,amssymb}
\usepackage[margin=2cm]{geometry}
\usepackage[english]{alterqcm}
\setlength{\parindent}{0pt}
\begin{document}
\begin{center}
{\Large\bfseries Your paper}\\[4pt]
Course Code -- Course Name \quad 20 minutes
\end{center}
Name:~\makebox[7cm]{\hrulefill}\hfill Student ID:~\makebox[4cm]{\hrulefill}
\section*{Part A: multiple choice}
For each question, tick the one correct proposition.
\begin{alterqcm}[lq=90mm]
\AQquestion{Which line is a horizontal asymptote of $y = e^{x}$?}
{{$y = 0$},
{$y = 1$},
{$x = 0$}}
\AQquestion{The equation $\ln x = 1$ has the solution}
{{$x = 0$},
{$x = 1$},
{$x = e$}}
\AQquestion{The derivative of $x \mapsto \sqrt{x}$ on $]0;+\infty[$ is}
{{$\dfrac{1}{2\sqrt{x}}$},
{$2\sqrt{x}$},
{$\dfrac{1}{\sqrt{x}}$}}
\end{alterqcm}
\section*{Part B: true or false}
\begin{alterqcm}[VF, lq=110mm]
\AQquestion{For every real $x$, $e^{x} > 0$.}
\AQquestion{For every real $x > 0$, $\ln(2x) = 2\ln x$.}
\end{alterqcm}
\newpage
\section*{Answer key}
\begin{alterqcm}[lq=90mm, correction, symb=\dingsquare, corsymb=\dingchecksquare]
\AQquestion[br={1}]{Which line is a horizontal asymptote of $y = e^{x}$?}
{{$y = 0$},
{$y = 1$},
{$x = 0$}}
\AQquestion[br={3}]{The equation $\ln x = 1$ has the solution}
{{$x = 0$},
{$x = 1$},
{$x = e$}}
\AQquestion[br={1}]{The derivative of $x \mapsto \sqrt{x}$ on $]0;+\infty[$ is}
{{$\dfrac{1}{2\sqrt{x}}$},
{$2\sqrt{x}$},
{$\dfrac{1}{\sqrt{x}}$}}
\end{alterqcm}
\begin{alterqcm}[VF, lq=110mm, correction, symb=\dingsquare, corsymb=\dingchecksquare]
\AQquestion[br={1}]{For every real $x$, $e^{x} > 0$.}
\AQquestion[br={2}]{For every real $x > 0$, $\ln(2x) = 2\ln x$.}
\end{alterqcm}
\end{document}
The first page, as this template compiles today. Click it to enlarge, and again to shrink. Open the file ↗