Use LaTeX files formated with
style mooshakquiz.sty .
The following example is a quiz with a single group where a
single question is rondomly selected from a set of two questions with
mathematical expressions and graphics. Make sure you import the
graphics to images folder.
\documentclass{article}
\usepackage{mooshakquiz}
\begin{document}
\begin{quizgroup}{1}
Function graph
\begin{quizquestion} The graph of the function represented by the equation $2x +3y +3=0$ is\\:
\begin{quizchoice}{true} \includegraphics[width=3cm]{figure1a.jpg} \end{quizchoice}
\begin{quizchoice}{false} \includegraphics[width=3cm]{figure1b.jpg} \end{quizchoice}
\begin{quizchoice}{false} \includegraphics[width=3cm]{figure1c.jpg} \end{quizchoice}
\end{quizquestion}
\begin{quizquestion} Which graph represents the graph of a function with domain $\mathbb{R}$?\\
\begin{quizchoice}{false} \includegraphics[width=3cm]{figure3a.jpg} \end{quizchoice}
\begin{quizchoice}{true} \includegraphics[width=3cm]{figure3b.jpg} \end{quizchoice}
\begin{quizchoice}{false} \includegraphics[width=3cm]{figure3c.jpg} \end{quizchoice}
\end{quizquestion}
\end{quizgroup}
\end{document}
|