exam.xml 23.6 KB
Newer Older
Dr. Martin Goik's avatar
Dr. Martin Goik committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150
<?xml version="1.0" encoding="UTF-8"?>
<book version="5.0" xml:id="klausur_SoSe_2017" xml:lang="en"
      xmlns="http://docbook.org/ns/docbook"
      xmlns:xlink="http://www.w3.org/1999/xlink"
      xmlns:xila="http://www.w3.org/2001/XInclude/local-attributes"
      xmlns:xi="http://www.w3.org/2001/XInclude"
      xmlns:trans="http://docbook.org/ns/transclusion"
      xmlns:svg="http://www.w3.org/2000/svg"
      xmlns:m="http://www.w3.org/1998/Math/MathML"
      xmlns:html="http://www.w3.org/1999/xhtml"
      xmlns:db="http://docbook.org/ns/docbook">
  <info>
    <title/>

    <author>
      <personname/>
    </author>

    <pubdate/>
  </info>

  <chapter xml:id="task1">
    <title>A bibliography database</title>

    <!-- Upload zip archive. Applies to related execises as well. -->

    <section xml:id="aufgabe1_prepare">
      <title>Preparations</title>

      <para>Download and unzip the above file <filename>exam.zip</filename>
      and import the resulting <filename>Exam</filename> folder as a Maven
      project into your IDE.</para>
    </section>

    <section xml:id="aufgabe1_descr">
      <title>Description</title>

      <para>Consider a bibliography database as in your project's sample data
      file <filename>Schema/sampledata.xml</filename>:</para>

      <informaltable border="0">
        <tr>
          <td valign="top"><programlisting language="xml">&lt;bibliography ... &gt;
  
  &lt;publishers&gt;
    
    &lt;publisher id="springer"&gt;
      &lt;name&gt;Springer&lt;/name&gt;
      &lt;city&gt;Berlin / Germany&lt;/city&gt;
    &lt;/publisher&gt;
    
    &lt;publisher id="addWesley"&gt;
      &lt;name&gt;Addison-Wesley&lt;/name&gt;
      &lt;city&gt;Reading, Massachusetts / USA&lt;/city&gt;
    &lt;/publisher&gt;
  &lt;/publishers&gt;  
  
  &lt;book id="ab94" publisher="springer" year="1994"&gt;
    &lt;title&gt;Infinite Dimensional Analysis&lt;/title&gt;
    &lt;author&gt;Charalambos D. Aliprantis&lt;/author&gt;
    &lt;editor&gt;Kim C. Border&lt;/editor&gt;    
  &lt;/book&gt;
  
  &lt;book id="goossens93" publisher="addWesley" year="1993"&gt;
    &lt;title&gt;The LaTeX Companion&lt;/title&gt;
    &lt;editor&gt;Michel Goossens&lt;/editor&gt;
    &lt;author&gt;Frank Mittelbach&lt;/author&gt;    
    &lt;author&gt;Alexander Samarin&lt;/author&gt;    
  &lt;/book&gt;
  
  &lt;website id="bibtex" access="2018-07-15"&gt;
    &lt;uri&gt;https://en.wikipedia.org/wiki/BibTeX&lt;/uri&gt;
    &lt;title&gt;BiBTeX - Wikipedia&lt;/title&gt;
    &lt;!-- Optional: &lt;author&gt;...&lt;/author&gt; --&gt;
  &lt;/website&gt;
  
&lt;/bibliography&gt;</programlisting></td>

          <td valign="top"><para>Data integrity rules:</para><orderedlist>
              <listitem>
                <para><tag class="starttag">bibliography</tag> and <tag
                class="starttag">publishers</tag> may be empty.</para>
              </listitem>

              <listitem>
                <para>Each <tag class="starttag">publisher</tag> must have a
                (<tag class="starttag">name</tag>, <tag
                class="starttag">city</tag>) combination being unique within
                <tag class="starttag">publishers</tag>. Hint: XML schema
                allows for multiple <tag class="starttag">xs:field</tag>
                elements.</para>
              </listitem>

              <listitem>
                <para>The set of <code>@id</code> values of <tag
                class="starttag">publisher</tag> entries must be unique within
                <tag class="starttag">publishers</tag>.</para>
              </listitem>

              <listitem>
                <para>The set of <code>@id</code> values of <tag
                class="starttag">book</tag> and <tag
                class="starttag">website</tag> entries must be unique within
                <tag class="starttag">bibliography</tag>.</para>
              </listitem>

              <listitem>
                <para>A <tag class="starttag">book</tag> entry must have a
                <tag class="starttag">title</tag> and at least one <tag
                class="starttag">author</tag> or <tag
                class="starttag">editor</tag> child.</para>
              </listitem>

              <listitem>
                <para>A <tag class="starttag">book</tag>
                <code>@publisher</code>'s attribute value must refer to an
                existing <tag class="starttag">publisher</tag>
                <code>@id</code> attribute value.</para>
              </listitem>

              <listitem>
                <para>A <tag class="starttag">book</tag> <code>@year</code>'s
                attribute must be of integer value.</para>
              </listitem>

              <listitem>
                <para>A <tag class="starttag">website</tag> must have both
                <tag class="starttag">uri</tag> and <tag
                class="starttag">title</tag> and may have <tag
                class="starttag">author</tag> children.</para>
              </listitem>

              <listitem>
                <para><tag class="starttag">uri</tag> content must begin
                either with <code>http://</code> or <code>https://</code>.
                Hint: Use <code>http[s]?://.+</code>.</para>
              </listitem>

              <listitem>
                <para>The <code>@access</code> date attribute value must be
                specified with respect to English locale. Hint: A useful
                standard schema type exists.</para>
              </listitem>
            </orderedlist></td>
        </tr>
      </informaltable>

      <para>Complete the schema implementation in
      <filename>Schema/bib.xsd</filename>. <productname>Junit</productname>
      execution of
151
      <classname>de.hdm_stuttgart.mi.sda1.test.ex1.ShowReachedPoints</classname>
Dr. Martin Goik's avatar
Dr. Martin Goik committed
152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172
      loads all unit tests based on files residing in your project's folder
      <filename>SchemaTest</filename>. In turn you receive your number of
      points reached so far including detailed hints about failed
      tests.</para>
    </section>

    <section xml:id="aufgabe1_task">
      <title>Tasks</title>

      <para>Implement the yet incomplete XML Schema file
      <filename>Schema/bib.xsd</filename> modeling all mentioned integrity
      rules:</para>

      <orderedlist>
        <listitem>
          <para>The folder <filename>SchemaTest</filename> contains sample
          files testing your schema for correctness.</para>
        </listitem>

        <listitem>
          <para>Executing
173
          <classname>de.hdm_stuttgart.mi.sda1.test.ex1.ShowReachedPoints</classname>
Dr. Martin Goik's avatar
Dr. Martin Goik committed
174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773
          as a Java application indicates which test documents in
          <filename>SchemaTest</filename> yet fail the expected outcome being
          either <quote>valid</quote> of <quote>invalid</quote>. You also get
          the number of points reached so far.</para>
        </listitem>

        <listitem>
          <para>Open all XML related files in
          <productname>Oxygenxml</productname> offering better schema support
          than IntelliJ.</para>
        </listitem>
      </orderedlist>

      <tip>
        <itemizedlist>
          <listitem>
            <para>Don't touch the unit test defines in your project's
            <filename>SchemaTest</filename> folder: Your automated tests may
            end up throwing meaningless exceptions.</para>
          </listitem>

          <listitem>
            <para>Edit <filename>Schema/bib.xsd</filename> by small steps and
            always execute the tests: In case of spoiling the
            <quote>undo</quote> operation is your friend.</para>
          </listitem>
        </itemizedlist>
      </tip>
    </section>

    <section version="5.1" xml:id="uploadFirst" xml:lang="de">
      <title>Project upload</title>

      <para>Hit »File« --&gt; »Export to Zip File« in IDEA archiving your
      project as <filename>solution-1.zip</filename>. Then enter your ILIAS
      tab, hit <quote>choose</quote> selecting
      <filename>solution-1.zip</filename> and subsequently
      <quote>upload</quote>. Do not forget to advance to the next question to
      actually save the current question. Common pitfalls:</para>

      <itemizedlist>
        <listitem>
          <para>Upload the right archive: Avoid choosing the original
          <filename>exam.zip</filename> skeleton.</para>
        </listitem>

        <listitem>
          <para>Watch out for <filename>solution_1.zip</filename> actually
          being visible in the examination system.</para>
        </listitem>

        <listitem>
          <para>You may upload multiple versions i.e.
          <filename>solution_2.zip</filename> etc.. Only your least upload
          will become subject to marking.</para>
        </listitem>
      </itemizedlist>

      <para>Be careful:</para>

      <itemizedlist>
        <listitem>
          <para>Check your input at examination end for completeness.</para>
        </listitem>

        <listitem>
          <para>Projects residing only on your local workstation cannot be
          recovered after exam termination.</para>
        </listitem>
      </itemizedlist>
    </section>
  </chapter>

  <chapter xml:id="task2">
    <title>Relational database HTML export</title>

    <section xml:id="task2_prepare">
      <title>Preparation</title>

      <para>If you already started the first exercise just continue working on
      your project using IntelliJ. Otherwise read the first exercise regarding
      the skeleton project import.</para>

      <para>Configuring a <productname>Mysql</productname> type database
      connection in <productname>Intellij</productname> (»Views« --&gt; »Tool
      Windows« --&gt; »Database«) requires:</para>

      <informaltable border="0">
        <tr>
          <td valign="top"><itemizedlist>
              <listitem>
                <para>Host: <emphasis role="bold">localhost</emphasis></para>
              </listitem>

              <listitem>
                <para>Database: <emphasis role="bold">hdm</emphasis></para>
              </listitem>
            </itemizedlist></td>

          <td valign="top"><itemizedlist>
              <listitem>
                <para>User: <emphasis role="bold">hdmuser</emphasis></para>
              </listitem>

              <listitem>
                <para>Password: <emphasis role="bold">XYZ</emphasis></para>
              </listitem>
            </itemizedlist></td>
        </tr>
      </informaltable>
    </section>

    <section xml:id="task2_descr">
      <title>Description</title>

      <para>Consider two tables representing athletes and their corresponding
      100 metre race competition results:</para>

      <informaltable border="0">
        <colgroup width="28%"/>

        <colgroup width="3%"/>

        <colgroup width="69%"/>

        <tr>
          <td valign="top"><informaltable border="1">
              <colgroup width="13%"/>

              <colgroup width="87%"/>

              <tr>
                <td colspan="2">Table <code>Athlete</code></td>
              </tr>

              <tr>
                <td><code>id</code></td>

                <td><code>fullName</code></td>
              </tr>

              <tr>
                <td><code>1</code></td>

                <td><code>Jesse Owens</code></td>
              </tr>

              <tr>
                <td><code>2</code></td>

                <td><code>Tim Culver</code></td>
              </tr>

              <tr>
                <td><code>3</code></td>

                <td><code>Sid Gascoine</code></td>
              </tr>

              <tr>
                <td><code>4</code></td>

                <td><code>John Hooker</code></td>
              </tr>

              <tr>
                <td><code>5</code></td>

                <td><code>Brad Duncan</code></td>
              </tr>
            </informaltable></td>

          <td>. .</td>

          <td valign="top"><informaltable border="1">
              <tr>
                <td colspan="4">Table <code>Competition</code></td>
              </tr>

              <tr>
                <td><code>id</code></td>

                <td><code>athlete</code></td>

                <td><code>time</code></td>

                <td><code>badStart</code></td>
              </tr>

              <tr>
                <td><code>1</code></td>

                <td><code>1</code></td>

                <td><code>10.23</code></td>

                <td><code>0</code></td>
              </tr>

              <tr>
                <td><code>2</code></td>

                <td><code>2</code></td>

                <td><code>11.55</code></td>

                <td><code>0</code></td>
              </tr>

              <tr>
                <td><code>3</code></td>

                <td><code>3</code></td>

                <td><code>11.94</code></td>

                <td><code>0</code></td>
              </tr>

              <tr>
                <td><code>4</code></td>

                <td><code>4</code></td>

                <td><code>10.02</code></td>

                <td><code>0</code></td>
              </tr>

              <tr>
                <td><code>5</code></td>

                <td><code>5</code></td>

                <td><code>10.84</code></td>

                <td><code>0</code></td>
              </tr>

              <tr>
                <td><code>6</code></td>

                <td><code>2</code></td>

                <td><code>10.02</code></td>

                <td><code>0</code></td>
              </tr>

              <tr>
                <td><code>7</code></td>

                <td><code>3</code></td>

                <td><code>10.49</code></td>

                <td><code>0</code></td>
              </tr>

              <tr>
                <td><code>8</code></td>

                <td><code>2</code></td>

                <td><code>9.35</code></td>

                <td><code>1</code></td>
              </tr>
            </informaltable></td>
        </tr>
      </informaltable>

      <para>Explanations and hints:</para>

      <orderedlist>
        <listitem>
          <para>Each <code>Athlete</code> has a name and a unique
          <code>id</code>.</para>
        </listitem>

        <listitem>
          <para>The <code>id</code> column in <code>Competition</code> defines
          the order of athlete's competition attempts.</para>
        </listitem>

        <listitem>
          <para>The <code>Competition.athlete</code> column refers to the
          corresponding <code>Athlete.id</code> value identifying the athlete
          in question.</para>
        </listitem>

        <listitem>
          <para>Athletes may appear multiple times in <code>Competition</code>
          referring to multiple competition attempts.</para>
        </listitem>

        <listitem>
          <para>All but the very last <code>Competition</code> sample records
          have a <code>badStart</code> value of 0 indicating a proper start. A
          <code>badStart</code> value different from 0 indicates a start
          failure. Note: <productname>Mysql</productname> allows for type
          boolean being an alias for type <code>bit</code> representing 0 and
          1.</para>
        </listitem>
      </orderedlist>

      <para><filename>Schema/schema.sql</filename> already contains INSERT
      statements corresponding to the above sample data.</para>
    </section>

    <section xml:id="task2_tasks">
      <title>Tasks</title>

      <para>Every task adds to points being reached.</para>

      <orderedlist>
        <listitem>
          <para>Create a suitable database schema prior to and corresponding
          to the already existing <code>INSERT</code> statements in
          <filename>Schema/schema.sql</filename> representing the informally
          mentioned constraints.</para>

          <para>Execute the <code>INSERT</code> statements both as proof of
          concept and with respect to subsequent tasks.</para>
        </listitem>

        <listitem>
          <para><classname>Class
          de.hdm_stuttgart.mi.sda1.AllResults</classname> already references a
          fully configured <productname>JDBC</productname> connection. On
          execution you'll see a single <tag class="starttag">html</tag> tag
          being created.</para>

          <para>Extend the underlying classes to create the subsequent HTML
          output derived from your <productname>Mysql</productname> database's
          content. Competition results shall be ordered first by ascending
          time and second by athlete's name. Red background rows indicate bad
          start attempts:</para>

          <informaltable border="0">
            <colgroup width="24%"/>

            <colgroup width="3%"/>

            <colgroup width="73%"/>

            <tr>
              <td valign="top"><programlisting language="xml">&lt;html&gt;
  &lt;head&gt;&lt;title&gt;Results&lt;/title&gt;&lt;/head&gt;
  &lt;body&gt;
    &lt;table&gt;
      &lt;tr&gt;
        &lt;th&gt;Rank&lt;/th&gt;
        &lt;th&gt;Name&lt;/th&gt;
        &lt;th&gt;Time&lt;/th&gt;
      &lt;/tr&gt;
      &lt;tr style="background: red;"&gt;
        &lt;td&gt;1&lt;/td&gt;
        &lt;td&gt;Tim Culver&lt;/td&gt;
        &lt;td&gt;9.35&lt;/td&gt;
      &lt;/tr&gt;
   ...
    &lt;/table&gt;
  &lt;/body&gt;
&lt;/html&gt;</programlisting></td>

              <td>. .</td>

              <td valign="top"><para>Pseudo outline HTML representation, red
              background indicating bad starts not to be displayed for
              technical reasons, using bold style
              instead:</para><informaltable border="1">
                  <colgroup width="15%"/>

                  <colgroup width="41%"/>

                  <colgroup width="44%"/>

                  <tr>
                    <td>Rank</td>

                    <td>Name</td>

                    <td>Time / seconds</td>
                  </tr>

                  <tr>
                    <td><emphasis role="red">1</emphasis></td>

                    <td><emphasis role="red">Tim Culver</emphasis></td>

                    <td><emphasis role="red">10.23</emphasis></td>
                  </tr>

                  <tr>
                    <td><code>2</code></td>

                    <td><code>John Hooker</code></td>

                    <td><code>10.02</code></td>
                  </tr>

                  <tr>
                    <td><code>3</code></td>

                    <td><code>Tim Culver</code></td>

                    <td><code>10.02</code></td>
                  </tr>

                  <tr>
                    <td><code>4</code></td>

                    <td><code>Jesse Owens</code></td>

                    <td><code>10.23</code></td>
                  </tr>

                  <tr>
                    <td><code>5</code></td>

                    <td><code>Sid Gascoine</code></td>

                    <td><code>10.49</code></td>
                  </tr>

                  <tr>
                    <td><code>6</code></td>

                    <td><code>Brad Duncan</code></td>

                    <td><code>10.84</code></td>
                  </tr>

                  <tr>
                    <td><code>7</code></td>

                    <td><code>Tim Culver</code></td>

                    <td><code>11.55</code></td>
                  </tr>

                  <tr>
                    <td><code>8</code></td>

                    <td><code>Sid Gascoine</code></td>

                    <td><code>11.94</code></td>
                  </tr>
                </informaltable></td>
            </tr>
          </informaltable>

          <para>The SQL sample data is only intended for illustration
          purposes. Your application shall work accordingly when reading
          similar but different data sets.</para>

          <tip>
            <itemizedlist>
              <listitem>
                <para>Use a <link
                xlink:href="https://www.w3schools.com/sql/sql_join.asp">Join</link>.</para>
              </listitem>

              <listitem>
                <para>Create the »Rank« column values inside your Java
                application rather than using SQL.</para>
              </listitem>
            </itemizedlist>
          </tip>
        </listitem>

        <listitem>
          <para>The previous table contains both duplicate athlete attempts
          and bad starts. We are looking for a »final result« table containing
          only the fastest and at the same time valid run of each athlete
          eliminating bad starts:</para>

          <informaltable border="0">
            <colgroup width="29%"/>

            <colgroup width="5%"/>

            <colgroup width="66%"/>

            <tr>
              <td valign="top"><programlisting language="xml">&lt;table&gt;
  &lt;tr&gt;
    &lt;th&gt;Rank&lt;/th&gt;
    &lt;th&gt;Name&lt;/th&gt;
    &lt;th&gt;Time / seconds&lt;/th&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;1&lt;/td&gt;
    &lt;td&gt;John Hooker&lt;/td&gt;
    &lt;td&gt;10.02&lt;/td&gt;
  &lt;/tr&gt;
 ...
&lt;/table&gt;...</programlisting></td>

              <td>. .</td>

              <td valign="top"><para>Pseudo outline
              representation:</para><informaltable border="1">
                  <colgroup width="15%"/>

                  <colgroup width="41%"/>

                  <colgroup width="44%"/>

                  <tr>
                    <td>Rank</td>

                    <td>Name</td>

                    <td>Time / seconds</td>
                  </tr>

                  <tr>
                    <td><code>1</code></td>

                    <td><code>John Hooker</code></td>

                    <td><code>10.02</code></td>
                  </tr>

                  <tr>
                    <td><code>2</code></td>

                    <td><code>Tim Culver</code></td>

                    <td><code>10.02</code></td>
                  </tr>

                  <tr>
                    <td><code>3</code></td>

                    <td><code>Jesse Owens</code></td>

                    <td><code>10.23</code></td>
                  </tr>

                  <tr>
                    <td><code>4</code></td>

                    <td><code>Sid Gascoine</code></td>

                    <td><code>10.49</code></td>
                  </tr>

                  <tr>
                    <td><code>5</code></td>

                    <td><code>Brad Duncan</code></td>

                    <td><code>10.84</code></td>
                  </tr>
                </informaltable></td>
            </tr>
          </informaltable>

          <para>Create a suitable executable class
          <classname>de.hdm_stuttgart.mi.sda1.FinalResults</classname>.</para>

          <tip>
            <para>Rather than fiddling with minimum (best) time values in Java
            you may solve this problem on SQL level using <link
            xlink:href="https://www.w3schools.com/sql/sql_groupby.asp">SELECT
            ... GROUP BY</link> in conjunction with the <link
            xlink:href="https://www.w3schools.com/sql/sql_min_max.asp">min()
            aggregate function</link> choosing the least time of each athlete.
            Use a <link
            xlink:href="https://www.w3schools.com/sql/sql_alias.asp">column
            name alias</link> for renaming the aggregate column's name.</para>
          </tip>
        </listitem>
      </orderedlist>
    </section>

    <section version="5.1" xml:id="uploadFollow" xml:lang="de">
      <title>Solution upload</title>

      <para>Upload your project using the previous exercise. Enter either of
      the following two texts:</para>

      <itemizedlist>
        <listitem>
          <para>I'm expecting points for my work on the current
          exercise.</para>
        </listitem>

        <listitem>
          <para>I did not work on this exercise.</para>
        </listitem>
      </itemizedlist>

      <para>You may as well add other marking related comments.</para>
    </section>
  </chapter>
</book>