Lab1A CLO2
Lab1A CLO2
1. Eclipse
To download, click on the link below, where you can find the download links for different
operating systems:
https://www.eclipse.org/downloads/packages/release/luna/sr1/eclipse-ide-java-
developers
The installation is easy, as you only need to follow the instructions given by the installer. In
case you encounter any issues during the installation, please attend the lab and seek help
from the teaching assistants.
In addition, you can watch the following you-tube videos for installation (though it’s for older
versions of Eclipse, but the concept of installation is same):
a) Windows: https://www.youtube.com/watch?v=tJYCBXk_11k
b) Mac OS: https://www.youtube.com/watch?v=vOF35qsWn8M
Eclipse comes with the compiler and executor, so you don't need to install anything else.
Page 1 | 4
EECS2030A: LAB 1 Due: Sept 11th, 2024 - 11:59 pm
Max. Marks: 100
4. Documentation
It's good practice to develop the habit of writing JavaDoc for your code. Java documentation
sits between /** and */. Try it for one of the methods and see how Eclipse inserts the names
of the inputs and return variables. Write a description for each variable so that the purpose
of the method is clear to the reader of the code. Also, please add a proper precondition to this
documentation as below:
@pre The input grade is a double number between zero and 100 inclusive.
Page 3 | 4
EECS2030A: LAB 1 Due: Sept 11th, 2024 - 11:59 pm
Max. Marks: 100
5. Submit
Submit only one file named "Lab.java" via eClass by clicking on the lab link.
6. Marking Schema
You are graded based on the correctness of your code. For each method, there will be a few
test cases to examine the correctness of the code. All test cases carry the same weight.
Please note that in all the labs, even if the test cases are provided, we will test your code with
a different set of test cases to ensure that you have tested your code completely.
Note:
▪ The program that does not compile will get zero marks
▪ No resubmissions are allowed. Therefore, please make sure you submit the correct
file within due date.
*******************************************************************************************
Page 4 | 4