在考试乳胶中计算多个测试中的项目

在考试乳胶中计算多个测试中的项目

我需要将多个测试放在一本小册子中,并且每个测试后面都会有一个简短的统计数据(计算问题和总分)。但是,Tex 倾向于计算整本小册子中问题和分数的总数。如何为每个测试提供单独的统计数据?

\documentclass[11pt,oneside,final,leqno]{exam}
\usepackage{amsmath, amssymb, latexsym, amscd, amsthm}
 
\usepackage{tikz}
\usepackage[margin=1in]{geometry}
\begin{document}

\section{Test A  }
\begin{questions}
    \addpoints 
 
    \question[3] Amanda wrote down four numbers.
    The mean of these numbers is 15, the median is  
 
    \question[3] The surface area of a sphere is directly proportional to the square of its  
    
    \question[4] Find all the pairs $(x,y)$ of real numbers such that 
    
    \[ 
    \begin{cases}
    x+y+\frac xy=13,\\
    \frac{x(x+y)}y=36.
    \end{cases}
    \]
     

        \rule{5cm}{.7pt}
    
    \numquestions{} questions, \numpages{} pages (including the cover) for the total of \numpoints{}  marks.
    
\end{questions}
 
%   \combinedgradetable[v][questions]
 

\pagebreak
\section{Test B  }

 
\begin{questions}
    \addpoints
    \question[2] The average age of 33 fifth$-$graders is 11. The average age of  55 of  

    \question[3]   Ming and Catherine walked to the store together to buy some pencils. Ming bought  

    \question[3] The lengths of the sides of a triangle in inches are three consecutive  
    
    
\question[3] If $x+y-2z=13$, $x+y+4z=10$, and $x-y+z=14$, find $x-y$. 


    \rule{5cm}{.7pt}

\numquestions{} questions, \numpages{} pages (including the cover) for the total of \numpoints{}  marks.
 

\end{questions}

\newpage 
 
\section{Test C  }
\begin{questions}
    \addpoints
    \question[3] 
    On a map, a straight road measuring 600 m is represented by a line segment of length 7.5 cm.
    
  
    \question[4] If $x,y$ are integers such that $-8\leq x\leq 7$ and $-1\leq y\leq 6$, find 
  
\question[4] This question has two parts. 
  
    \rule{5cm}{.7pt}

\numquestions{} questions, \numpages{} pages (including the cover) for the total of \numpoints{}  marks.

\end{questions} 
    \end{document}

相关内容