CS10, Fall 2009, Lab zero (lab00)

Instructor: Phill Conrad
TAs: Esra Kucukoguz, Yiming Li, Murali Yeleswarapu

Goals

The goals for this weeks lab are fairly modest.

This is mainly an orientation to the Cooper Lab, to the computing environment we are going to be using.

If the tools we'll be using here are familiar to you, then you'll probably complete this lab very quickly—in far less than 50 minutes. If you are willing to help others that may be still learning the environment, that would be very much appreciated, and you might get to know some of your classmates that way.

If Java and/or Linux is new to you, it may take a bit longer—and you might not even get through it all. If that's the case, you'll want to practice some of this in the CSIL lab on your own. We talk about how to do that.

Here's what we want you to be able to do.

  1. Know how to login to the Cooper Lab Linux environment
  2. Be able to bring up a web browser (probably Firefox).
  3. Be able to find the menu option to open a Terminal window
  4. Know how to invoke multiple terminal windows and arrange them side by side on your screen.
  5. Know how to create a subdirectory in your home directory, either using the GUI (Graphical User Interface), or the Linux command line. Specifically, we want you to create a cs10 directory (i.e. ~/cs10)
  6. Know how to create a subdirectory under that called lab00 (i.e. ~/cs10/lab00)
  7. Know how to navigate through subdirectories at the command line--you'll need this to compile and run java code, and to submit your work using the turnin program:
  8. Know how to ssh into the machine called csil.cs.ucsb.edu (This is where you'll use the turnin script to submit your work.)
  9. Know how to bring up a text editor to create and edit files
  10. Know how to create a simple HelloWorld.java Java program in a text editor
  11. Know how to compile that program (javac HelloWorld.java producing HelloWorld.class)
  12. Know how to run the program (java HelloWorld)
  13. Know how to submit that program via the turnin program

And, if you get all that done, you are finished.

We aren't providing step-by-step directions for all of these things here, but we will be on hand to guide you through each of these steps, and during the lab, we may provide additional links to more instructions. But, to get the details of how to do these things (if you don't already know), you need to come to lab.

Optional: If you have extra time and want to explore BlueJ, you can run it with these Linux commands:

We will be using BlueJ in future weeks, so getting familiar with it now is helpful.

Participating in and completing this lab is worth 100 points.


End of lab00