T-Th 9:05
or
T-Th 11:15
in Phillips 101

CS 1110: Introduction to Computing Using Java

Spring 2012

Course Materials

Required Text

The main text for CS1110 is Multimedia Introduction to Programming Using Java, by Paul and David Gries. This is a paper text together with a CD, called ProgramLive, which is "livetext". It comes on a CD and has over 250 recorded lectures, with synched animation. The text for each lecture is readily available (and you could print them out). The availability of recorded lectures makes it easy for you to listen to material as often as and whenever you wish. Moreover, some concepts are made far more understandable using recorded lectures rather than printed material.

In addition, the livetext has an extensive glossary, a hypertexted index, lab material, and much more. While none of this required, you may find it very useful as a resource. Finally, the livetext comes with a workbook, which we will reference from time to time. So, listen to and watch the CD ProgramLive regularly.

Any edition of the book from 2005 or later will do fine. There is no difference in content. One difference is that a later version may not come with a CD. In this case, follow the directions below to obtain it.

The CD should be in the sleeve in the back inside cover, and the sleeve should have an adhesive-backed piece of paper with the serial number.

Missing a Serial Number?

If you have a CD and just need a serial number, use SXUWRNHT.

Missing a CD for a Windows-Based System?

To get a copy of ProgramLive that works on a Windows-based system, perform the following steps:

Download and set up PLive

  1. Visit extras.springer.com and enter the book ISBN (exactly: 978-0-387-22681-1). Then click GO.
  2. On the page that opens, click to Download Entire Contents (273.9MB)
  3. Unzip the downloaded file and store its contents in a file named, say, PLive.

Start PLive for the first time

  1. In folder PLive, click application ProgramLive.exe. A window will open.
  2. In the window, click "New student file". You will be asked for your name and serial number. Use serial number SXUWRNHT. You will be asked to "Save this document as" something. Saving it will save the serial number so you don't have to type it every time. Give it a name that you can remember, and save it in folder PLive (or wherever you want).
  3. PLive has started, and you can use it.

Start PLive after the first time (after you have saved the serial number as specified in step 2 above).

  1. In folder PLive, cick application ProgramLive.exe. A window will open.
  2. In the window, click "Open student file". In the window that opens, double click the file name that you saved in step 2 above.
  3. PLive has started, and you can use it

Missing a CD for a Macintosh (Not Using Lion)?

To get a copy of ProgramLive that works on a Macintosh, perform the following steps:

Download and set up PLive

  1. Download PLive from the course website. The file, ProgramLive.dmg, is 310MB and will take time.
  2. Double-click on file ProgramLive.dmg. A window will open with ten items in it.
  3. Create a folder, call it PLive, place it where you want it to be, and copy all ten items to it.

It is also possible to put ProgramLive.dmg on a CD and work with the CD. However, harddrives are more efficient, and it is better to use it from the harddrive if you have the space.

Missing a CD for a Macintosh Running OS X Lion?

Lion has discontinued support for all legacy PowerPC applications, which unfortunately includes PLive. To run PLive you will need an application called Wine.app and (perhaps) also Winebottler.app. Download these from the Winebottler site and put them in your Applications folder. Once you have done that, perform the following steps.

Download and set up PLive

  1. Download the zip file containing ProgramLive for Lion.
  2. Open the zip file, name the main directory anything you want (e.g. PLive), and put it wherever you want.

For the rest of these instructions, we will assume you named the directory PLive.

Start up PLive

  1. Navigate to the directory PLive/drive_c/Program Files/PLive
  2. Double-click file ProgramLive.exe . That will start X11 and the ProgramLive application going.
    Be patient, as it may take time to open.
  3. A window will open with three buttons: "Open student fle", "New student file", and "Exit ProgramLive". Click button "Open student file".
  4. Another window will open. In the new window, click "David.pij" and then the "Open button".

If you have played with Windows emulation on your Macintosh before, either through VMWare or a program like Parallels, then step 2 above may not work correctly. If you are having problems with this step, please see the instructor, Walker White.

Accessing the Programs and Labs

Because of the Windows emulation, you will need to do a little more work to get to the demo programs and labs. Let us suppose you know there is a Java file Anglicize.java. To find it and copy it, do the followinng (BE CAREFUL; YOU WANT TO LEAVE EVERYTHING IN DIRECTORY drive-C UNCHANGED, so make sure you make a copy of a file and don't move it):

  1. Navigate to folder "drive_c".
  2. Type "anglicize" in the spotlight search field.
  3. The shows you everything that is on "This Mac" that contains the word "anglicize". Instead click on "drive_c" to the right of "This Mac". It will show you the file inside "drive_c" that you want.
  4. Copy the file and then paste it in some other directory.

IClickers

This course will use iclickers in many lectures. In fact, everyone who registers in this course is expected to have an iclicker and to bring it to class every day. They are primarily intended learn how you think the lecture is going and see how well you understand what has been presented. They will be used often, and they will contribute to your participation grade (though you will never be graded on whether the answers you submit by iclicker are "correct").

You can buy an iclicker at the Campus bookstore, and you should be able to use it in several of your courses over the years. If you have never used an iclicker before, then you will need to register it with Cornell. The following two URLs will help you with this process:

Use of someone else's iclicker, either because you forgot yours or because they can't be there and asked you to click theirs once or twice, is a violation of the Code of Academic Integrity and will be prosecuted.


Other Java texts

You may use any other text that you wish as a reference, although with the course text and accompanying CD, another text should not be necessary. Here is a sample of conventional texts:

  • Cai Horstmann, Big Java. John Wiley, 2002. (Horstmann has some other books that you might use.)
  • Nino/Hosch, Introduction to Programming and Object Oriented Design using Java. John Wiley, 2002.
  • Lewis/Loftus, Java Software Solutions: Foundations of Program Design (3rd edition). Addison-Wesley, 2000.

The University Library maintains a number of books on reserve, including the required and optional textbooks for this course.


USB Storage Devices

A lot of your work will be in the CIT computing labs. You are not allowed to leave personal files on these machines, and the CIT typically deletes any personal file soon after you leave the station. Therefore, you need some place to save your work. Typically, students do this with a USB storage devices that they carry to the ACCEL Labs.

If you do not want to use a USB storage device, an alternative is to e-mail yourself your files at the end of lab. However, the advantage of a USB device is that it keeps your files nice and organized.

IMPORTANT: You should back up your work regularly to protect yourself in case something is lost. No one likes to have to redo everything the night before the due date.