From 1604617cf8bca0add54ddf4889c20ba442ee189b Mon Sep 17 00:00:00 2001 From: "Gregory M. Kapfhammer" Date: Thu, 21 Nov 2019 13:22:40 -0500 Subject: [PATCH] Add the correct evaluation content in the cs101F2019_lab09. --- lab09/cs101F2019_lab09.tex | 38 +++++++++++++++++++++++++------------- 1 file changed, 25 insertions(+), 13 deletions(-) diff --git a/lab09/cs101F2019_lab09.tex b/lab09/cs101F2019_lab09.tex index 364fe63..9d9e36e 100644 --- a/lab09/cs101F2019_lab09.tex +++ b/lab09/cs101F2019_lab09.tex @@ -259,6 +259,15 @@ \section*{Understanding, Implementing, and Testing an \tt{ArrayList}} methods for equivalence testing (i.e., \program{equals}) and data replacement (i.e., \program{set}). +\begin{verbatim} + public E set(int index, E element) throws IndexOutOfBoundsException { + checkIndex(index, size); + E temp = data[index]; + data[index] = element; + return temp; + } +\end{verbatim} + \begin{figure}[t] \centering \begin{verbatim} @@ -279,7 +288,6 @@ \section*{Understanding, Implementing, and Testing an \tt{ArrayList}} \vspace*{-.25in} \end{figure} - Remember, if you want to \step{build} your program you can type the command \gradlebuild{} in your terminal, thereby causing the Java compiler to check your program for errors and get it ready to run. If you notice that some of the test @@ -379,12 +387,12 @@ \section*{Evaluation of Your Laboratory Assignment} the whether or not it was submitted in a timely fashion and if your program received a green \checkmark{} indicating that it met all of the requirements. Other factors will also influence your final grade on the assignment. In -addition to studying the efficiency and effectiveness of your Java source code, -the instructor will also evaluate the accuracy of both your technical writing -and the comments in your source code. If your submission receives a red -\naughtmark{}, the instructor will reduce your grade for the assignment while -still considering the regularity with which you committed to your repository and -the overall quality of your partially completed work. +addition to studying the efficiency and effectiveness and documentation of your +Java source code, the instructor will also evaluate the correctness of your +technical writing. If your submission receives a red \naughtmark{}, the +instructor will reduce your grade for the assignment. Finally, please remember +to read your GitHub repository's \program{README.md} file for a description of +the four grades that you will receive for this laboratory assignment. % Had to cut this content due to space constraints @@ -393,11 +401,15 @@ \section*{Evaluation of Your Laboratory Assignment} % \section*{Adhering to the Honor Code} -% In adherence to the Honor Code, students should complete this assignment on an individual basis. While it is appropriate -% for students in this class to have high-level conversations about the assignment, it is necessary to distinguish -% carefully between the student who discusses the principles underlying a problem with others and the student who produces -% assignments that are identical to, or merely variations on, someone else's work. Deliverables (e.g., Java source code or -% Markdown-based technical writing) that are nearly identical to the work of others will be taken as evidence of violating -% the \mbox{Honor Code}. Please see the course instructor if you have questions about this policy. +% In adherence to the Honor Code, students should complete this assignment on an +% individual basis. While it is appropriate for students in this class to have +% high-level conversations about the assignment, it is necessary to distinguish +% carefully between the student who discusses the principles underlying a +% problem with others and the student who produces assignments that are +% identical to, or merely variations on, someone else's work. Deliverables +% (e.g., Java source code or Markdown-based technical writing) that are nearly +% identical to the work of others will be taken as evidence of violating the +% \mbox{Honor Code}. Please see the course instructor if you have questions +% about this policy. \end{document}