lab00 : Getting Started

num ready? description assigned due
lab00 true Getting Started Tue 10/03 09:30AM Fri 10/06 05:00PM

If you find typos or problems with the lab instructions, please report them on Piazza

Step 0: Getting oriented

Chances are you are already familiar with all of the following because you already took CS courses that used this stuff (i.e. CS8, CS16, CS24, CS32).

If not–if for example, you are a transfer student and this is your first CS course using the CSIL Lab resources, please let your TA know and he/she will help you find resources to come up to speed on these things. Or, your TA can assign you a pair partner that knows this stuff and doesn’t mind helping you come up to speed.

The rest of these instructions will assume you know all of the above. If not, then let your TA know, and we’ll point you to resources where you can come up to speed.

As a separate item, you should also know how to connect to CSIL from your own computer (PC/Mac/Linux)

But, you don’t need that for today’s lab—so let’s continue.

The rest of the lab: Step-by-Step

Here is an overview of the remaining steps in the lab:

  1. If you didn’t already do it:
    • Create a github.com account
    • Make sure your umail.ucsb.edu email address is registered as one of the emails associated with your github.com account.
    • Register your account using the web app at: https://ucsb-cs56-f17-signup.herokuapp.com
  2. Visit https://github.ucsb.edu and login with your CSIL account, to establish your github.ucsb.edu account.

  3. Login to your CSIL account, and create a ~/cs56 subdirectory.

  4. In that directory, use your favorite text editor to create a file containing the following code. Call the file HelloWorld.java. Put your name instead of Your Name Here.

/**
  @author Your Name Here
*/

public class HelloWorld {

  public static void main(String[] args) {
    System.out.println("Hello, World!");
  }

}
  1. Compile the file with the command javac HelloWorld.java

  2. Run the file with the command java HelloWorld

  3. Navigate to submit.cs.ucsb.edu.

  4. Join the class CS56_f17

  5. The next step is to submit your work to submit.cs for grading. The way you do that depends on whether you are working on one of the CSIL machines, or on your own computer.

    If you are working on CSIL, use the command:

    ~submit/submit -p 833 HelloWorld.java

    If you are working on your own machine, visit:

    https://submit.cs.ucsb.edu/form/project/833/submission

  6. Once you see that you have a score of 100 for the lab, you are done with lab00.