From 22c7f9e7d8f361a37b14ec6871214adf5837237d Mon Sep 17 00:00:00 2001 From: Martin Goik <goik@hdm-stuttgart.de> Date: Mon, 5 Feb 2024 18:57:46 +0100 Subject: [PATCH] Cosmetics --- Doc/Sd1/Appendix/Exam/2023/Winter/exam.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Doc/Sd1/Appendix/Exam/2023/Winter/exam.xml b/Doc/Sd1/Appendix/Exam/2023/Winter/exam.xml index e072eb5e2..a358d73c8 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 -- GitLab