CS 112
Fall 2020

Old version

This is the CS 112 site as it appeared on December 31, 2020.

Lab 1: Getting started

Task 0.0: Review lab policies

Task 1: The Basics

Using folders

We strongly encourage you to create a separate folder for each lab and each problem set, so that you can more easily keep track of your work. For example, you could create a folder called lab1 for your work on this lab, and put all of the files for this lab in that folder.

Task 1.1: Creating a new Java program (HelloWorld)

In Lab 0, you should have installed your IDE on your computer. If you have not, please work together with a partner and download the necessary software on your computer after lab is over.

To see how to use it, let’s take the following steps together:

  1. Start up your Java IDE. If you have trouble finding the program, please let us know.

  2. Many if you are new to Java, so just follow the instructions of your Lab TF to write and test your first Java program! Don’t worry about the details, we will cover them in our next lecture. Today we just want you to get comfortable with the IDE.