Next: , Previous: endblock, Up: Commands to define exercises


4.1.6 statement

This is the command used to start the statement for the exercise. Only one statement has to be included for each block. This is useful if you want to change some assumptions and then ask another set of questions. Whatever is inside statament/endstatement is passed verbatim to the LaTeX file.

Example of statement

This is an exercise on the normal distribution:

     title ``Basics of the normal distribution''
     block
     statement
     For a normal distribution with mean $\mu$ and standard deviation
     $\sigma$, answer the following questions:
     question
     The distribution is
     . symmetric
     . skewed
     . bimodal
     . uniform
     : None of the above
     endquestion
     endblock
     block
     statement
     For the normal distribution with $\mu=0$ and $\sigma=1$
     endstatement
     question
     The median is equal to
     . 0
     . 1
     . -1
     . 0.1
     . None of the above
     endquestion
     endblock