CSU Banner

CS 163/164, 🀨 Fall 2019 🀨

Lab 2 - Eclipse and Java Introduction

Thursday, Aug. 29th or Friday, Aug. 30th


Objectives of this Lab

  1. Configure zyBooks
  2. Install Eclipse and Java on your personal computer (it is already installed on department machines!),
  3. get Eclipse set up and running on your Linux account,
  4. write a very simple Java program,
  5. show you how to submit your programs to the Checkin tab,
  6. and learn about preliminary (and final) testing.

Please bring your personal computer for this lab!

Configure zyBooks

In order for zyBooks to talk to Canvas, you need the correct e-mail address in zyBooks. To set up zyBooks, click through to zyBooks by going to the assignments tab on Canvas, and select zyBooks assignment 1. Click the button to open zyBooks in a new tab. If you already activated your zyBooks subscription, you may need to log in. Otherwise, continue to create an account. ONLY make ONE zyBooks account! If you already signed up and it is asking you to pay again, instead log into your zyBooks account and add the email address that Canvas reported to zyBooks (it is probably your First.Last@rams.colostate.edu address). If you can click through Canvas and see an orange submit button in zyBooks, you did it! That button will be used to submit your points to Canvas. Points can be submitted anytime until the Final Exam. Yes, even after the due date, but it will only give you points for what you completed before the due date.

Installing Eclipse

Eclipse makes programming easier by compiling and running your Java programs within a very sophisticated software application. Your TA will show you how to install Java and Eclipse on your personal computer. A personal computer is not required for this course, all work can be done on department computers, but it can be convenient at times to work from home. Here are are few hints:

Using Eclipse

For the remainder of the lab, please use the Linux system, if provided. Your TA will help with any problems you encounter.

For detailed information on Eclipse, check out the Eclipse website.

Starting the Assignment

Your TA will guide you in creating a project called P1 and class for starting the first week assignment:

Submit your program

Your TA will now walk through logging in to the course website, submitting your code, and viewing preliminary test results. The website allows you to submit programs and get them automatically graded. You should pass the first preliminary test. Read the assignment for P1. Now see if you can add another print statement and pass a second test. The TA will show you how to check the results of your preliminary and final testing, and how to retrieve your code from the Checkin tab.

Grading

Log into Canvas and answer the first question of the quiz. Raise your hand and show the TA your successful submittal to the Checkin tab and zyBooks with your eid in the Student ID field.
Submit P1.java to Checkin, using the checkin tab


CS Banner
CS Building