Complete the following tasks. Do not delay in this, as each of these things is crucial to your successful completion of this course. Each task will have a list of tips and information that you can show or hide by clicking the pink "Tips" text. At the end of this page, you will see instructions for what to hand in.

Your Tasks:

  1. Before you begin, read the directions in full so that you have an understanding of what is expected of you here.
  2. Start on these tasks immediately, as they make take longer than you initially anticipate. The sooner you start, the sooner you are able to identify and address any difficulties.
  3. Set up your Linux account and enroll in this class.
  4. After your Linux account has been created and you are able to access it, log in and create a file in your Linux home directory called .umb_email, with your UMass Boston e-mail address as its content.
  5. In your Linux home directory, there should eventually be a sub-directory of the same name as this class. (NOTE: Do not attempt to create this directory yourself! Instead, allow the departmental sysadmins to create it for you!) Inside the directory for this class, create a sub-directory called homework. You can accomplish this by entering the following series of commands:

    cd ~/classname
    mkdir homework

    (Replace classname with whatever this class is: "cs110", "it114", etc.)
  6. Download the JDK, and get set up with an editing tool.

Preliminary Questions

Answer the following questions about the Sun Java Development Kit (JDK) and Dr Java in your own words, in your memo.txt file. Each answer should be 2-to-4 sentences long.

  1. What is the code number that I e-mailed to you? (May not be e-mailed until evening of due date!)
  2. What program/utility are you using to connect remotely to users.cs.umb.edu?
  3. What program/utility are you using to upload files remotely to users.cs.umb.edu for homework and project submissions?
  4. Tell me a bit about the process of carrying out these tasks. What went well? What was challenging? Is there anything else you want to tell me -- or have questions about?
  5. What are the two main component programs in the Sun Java Development Kit?
  6. What does each of those two components do?
  7. What is the difference between the filename ending with .java and the file name ending with .class?
  8. What is Dr Java? What kinds of things can we do with Dr Java?
  9. Why is it easier to use Dr Java with the Sun JDK than to use the Sun JDK by itself?

Activity

This assignment gives you experience working with Dr Java. The goal is to get you started with Dr Java so you are better prepared when you begin writing your own source code in subsequent assignments. This assignment works with a small graphics application that displays “eyes” that follow the mouse. You will use a similar process for the other assignments and projects in this course. In your memo.txt file, explain what happens as you go through these steps:

Ending Questions

Write your answers the following questions, related to what you did in this assignment, in your memo.txt file.

  1. What happens when you resize the application window?
  2. When you run the application, the window that pops up has a title. In which file, and at what line number in the code, is that title set?
  3. Line 22 of EyeballPanel.java has the statement this(20,32)
    What happens when you change the two parameters of this statement?
  4. Look in the directory you created for this project. What are the names of the source code files? What are the names of the byte code files? What is the name of the other file you find there? Open it with Wordpad and describe what you find in it, but do not edit it.