# How to generate an answer key of a multiple-choice exam? [closed]

I have a number of multiple-choice questions. I want to produce an answer key (a small table with nx5 cells where the answer places are somehow highlighted).

My code (from another post ) is shown below:

\documentclass{article}
\usepackage{pgffor}
\usepackage{enumitem}

\newcommand*{\mc}[6]{%
% code to display the multiple choice for #1...#5
}%

\begin{document}

\mc{2}{3}{5}{7}{11}{3}
\mc{2}{3}{5}{7}{11}{5}

\begin{enumerate}[label=(\arabic*)]