Formatting – How to Change Question Number Format in Exam Class

examformattingnumbering

I needed to type something like this:

enter image description here

But wanted to change the 'numbering' to 'Question No. x.' from just 'x.' How should I go about doing that?

An alternative solution is also welcome if what I'm asking for just isn't possible in the exam class. Thanks.

Best Answer

Redefine \questionlabel. See section 4.9 of the manual for details.

\documentclass{exam}

\renewcommand{\questionlabel}{Question No.~\thequestion.}

\begin{document}

\begin{questions}
\question When in doubt, should one provide a minimal working example?
\end{questions}

\end{document}

enter image description here