diff --git a/Doc/Sd1/Appendix/Exam/2023/Winter/exam.xml b/Doc/Sd1/Appendix/Exam/2023/Winter/exam.xml index e072eb5e25c6e937b165a15acd90737e26a23480..a358d73c8f489e80b294366a6f28d8ba2bbb9b5b 100644 --- a/Doc/Sd1/Appendix/Exam/2023/Winter/exam.xml +++ b/Doc/Sd1/Appendix/Exam/2023/Winter/exam.xml @@ -113,7 +113,7 @@ <glossdef> <para>The variable <code language="java">sum</code> lacks - initialization <code language="java">int sum = + initialization e.g. <code language="java">int sum = 0</code>.</para> </glossdef> </glossentry> @@ -127,12 +127,12 @@ <itemizedlist> <listitem> <para>Variable i has not been declared: <code - language="java">int i = 0; ...</code></para> + language="java">for(int i = 0; ...</code></para> </listitem> <listitem> <para>The loop's upper limit is being breached: <code - language="java">i < values.length</code> rather then + language="java">i < values.length</code> rather than <code language="java">i <= values.length</code> is being required.</para> </listitem> @@ -189,7 +189,7 @@ System.out.println(b);</programlisting></td> </tr> </informaltable> - <para>Before breeching the loop's upper limit <code + <para>Before breaching the loop's upper limit <code language="java">Byte.MAX_VALUE</code> our variable <code language="java">b will thus transition</code> from Byte.MAX_VALUE to <code language="java">Byte.MIN_VALUE</code>. The loop will thus