# Multiple Choice Questions with Answrs

I am writing MCQs related question paper and followed the solution.

The solution remembers the answers and displays them as a list where provided. It works perfectly.

The examination papers include TRUE and FALSE and FILL in the blanks questions too.

I am using following code.

%%%%%%%%%%% TRUE or FALSE %%%%%%%%%%%%%
\newcommand*\TrueFalse{TRUE\hspace*{8pt} FALSE\hspace*{8pt}}
\newlength\mylena
\newlength\mylenb
\settowidth\mylena{\TrueFalse}
\newcommand\TF[1]{%
\setlength\mylenb{\linewidth}
\parbox[t]{\mylena}{\TrueFalse}\parbox[t]{\mylenb}{#1}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


I need that this TRUE FALSE work like the solution, that is, it remembers the answers of each question and answers can be displayed at the end.

A short working example for TRUE FALSE questions is,

\documentclass[10pt,a4paper]{exam}
%%%%%%%%%%% TRUE or FALSE %%%%%%%%%%%%%
\newcommand*\TrueFalse{TRUE\hspace*{8pt} FALSE\hspace*{8pt}}
\newlength\mylena
\newlength\mylenb
\settowidth\mylena{\TrueFalse}
\newcommand\TF[1]{%
\setlength\mylenb{\linewidth}
\parbox[t]{\mylena}{\TrueFalse}\parbox[t]{\mylenb}{#1}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}
\begin{questions}
\question\TF{The types of statistical inferences are estimation of parameters and testing of hypotheses.}

\question\TF{The types of statistical estimation of parameters are point estimation and interval estimation.}

\question\TF{Point estimators may be more useful than interval estimators because probability statements are attached to point estimates.}

\question\TF{The types of statistical inferences are an estimation of parameters and testing of hypotheses.}
\end{questions}
\end{document}


A working example for FILL in the blanks is

\documentclass[10pt,a4paper]{exam}
\newcommand{\uline}[1]{\rule[0pt]{#1}{0.4pt}}
\begin{document}
\begin{enumerate}
\item A point estimator is a \uline{1in} variable whereas an estimate is a constant.
\item A point estimator is a \uline{1in} variable whereas an estimate is a constant.
\item A point estimator is a \uline{1in} variable whereas an estimate is a constant.
\end{enumerate}
\bigskip