M,F 2:30, Hollister B14. Start 24 Jan
or
M,F 3:35, Hollister B14. Start 24 Jan
or
M,F 2:30, Hollister B14. Start 06 Mar

CS1130: Transition to OO --Lecture sections

Spring 2012

Instructors: David Gries and Walker White

Course Materials

The text for programming in Java

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. Make heavy use of it! Finally, the livetext comes with a workbook, which we will reference from time to time.

So, listen to and watch the CD ProgramLive often.

Any edition 2005 (sometimes erronesouly written as 2004) 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 serial number

If you just need a serial number, use SXUWRNHT .

No CD and using a Windows-based system. Do this:

  1. Download and set up PLive
    1. Visit extras.springer.com, enter the ISBN of the book (exactly: 978-0-387-22681-1), and click button 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.
  2. 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.
  3. Start PLive after the first time (after you have saved the serial number as specified in step 2.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.2 above.
    3. PLive has started, and you can use it

No CD and using a Macintosh but not using Lion. Do this:

  1. Download and set up PLive
    1. Download PLive from the course website. The file, ProgramLive.dmg, is 310MB, so it will take time.
    2. You can put ProgramLive.dmg on a CD and work with the CD, but if you have room on your harddrive, it is better to use it from the harddrive. We give directions for keeping it on your harddrive.
    3. Double-click on file ProgramLive.dmg. A window will open with ten items in it.
    4. Create a folder, call it PLive, where you want the final PLive application to be and copy all ten items to it.
  2. Start PLive for the first time
    1. In folder PLive, click application ProgramLive. 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.
  3. Start PLive after the first time (after you have saved the serial number as specified in step 2.2 above).
    1. In folder PLive, cick application ProgramLive. 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.2 above.
    3. PLive has started, and you can use it.

No CD and using a Mac with Lion. Do this:

  1. First, you need an application called Wine.app and perhaps also Winebottler.app. Download these from winebottler.kronenberg.org/ and put them in your Applications folder.
  2. Download the zip file containing ProgramLive for Lion. Open the zip file, name the main directory anything you want (e.g. PLive), and put it wherever you want. For step 3, assume you named the directory PLive.
  3. To start ProgramLive, do the following:
    1. Navigate to directory PLive / drive_c / Program Files / PLive
    2. Double-click file ProgramLive.exe . That will start X11 and the ProgramLive application going --be patient, it may take time to open.
      A window will open with three buttons: "Open student fle", "New student file", and "Exit ProgramLive"/
    3. Click button "Open student file". Another window will open.
    4. In the new window, click "David.pij" and then the "Open button".
  4. You may want to get at some of the programs and labs that are on the ProgramLive CD. Let's suppose you know there is a Java file Anglicize.java. To find it and copy it, do the followng (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. It 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.
    4. Copy the file and then paste it in some other directory.