多肢選択式問題と構造化問題の両方を含む試験を作成しています。 試験問題を編集するときに、合計点数に多肢選択式問題の点数が含まれるように、多肢選択式問題に 1 点または 1 ポイントを自動的に割り当てるにはどうすればよいでしょうか。
このコードを使用すると、次のようになります
\documentclass[12pt,addpoints,answers]{exam}
\begin{document}
This exam has \numquestions\ questions, for a total of \numpoints\ points.
\begin{questions}
\question What is the function of nucleoli?
\begin{choices}
\choice the formation and breakdown of the nuclear envelope
\choice the formation of centromeres
\choice the formation of ribosomes
\choice the organisation of the spindle during nuclear division
\end{choices}
\question An actively growing cell is supplied with radioactive amino acids.\\
Which cell component would first show an increase in radioactivity? \\
\begin{oneparchoices}
\choice Golgi body
\choice mitochondrion
\choice nucleus
\choice rough endoplasmic reticulum
\end{oneparchoices}
\question \begin{parts}
\part There are 20 units of DNA in a cell during stage G2 of mitosis. Give the number of units of DNA you would expect to find in this cell
\begin{subparts}
\subpart[1] at prophase of mitosis; \fillwithdottedlines{0.25in}
\end{subparts}
\end{parts}
\end{questions}
\end{document}
答え1
デフォルトを 1 ポイントに変更した\question
ので、\question[0]
パーツごとにポイントを割り当てるには を使用する必要があります。ポイントの印刷を抑制するオプションが見つからなかったので、\pointformat
作成しました。
\documentclass[12pt,addpoints,answers]{exam}
\begin{document}
This exam has \numquestions\ questions, for a total of \numpoints\ points.
\begin{questions}
\let\normalquestion=\question
\renewcommand{\question}[2][1]{\normalquestion[#1]#2}
\pointformat{\hspace{-.5em}}
\question What is the function of nucleoli?
\begin{choices}
\choice the formation and breakdown of the nuclear envelope
\choice the formation of centromeres
\choice the formation of ribosomes
\choice the organisation of the spindle during nuclear division
\end{choices}
\question An actively growing cell is supplied with radioactive amino acids.\\
Which cell component would first show an increase in radioactivity? \\
\begin{oneparchoices}
\choice Golgi body
\choice mitochondrion
\choice nucleus
\choice rough endoplasmic reticulum
\end{oneparchoices}
\question[0] \begin{parts}
\part There are 20 units of DNA in a cell during stage G2 of mitosis. Give the number of units of DNA you would expect to find in this cell
\begin{subparts}
\subpart[1] at prophase of mitosis; \fillwithdottedlines{0.25in}
\end{subparts}
\end{parts}
\end{questions}
\end{document}