Duke CS Logo CompSci 100e: Program Design & Analysis II
(Fall 2009)
Home
Course Information
Calendar
Resources
Assignments
APT problems
Lab
Lab 1 - 08/28
Lab 2 - 09/04
Lab 3 - 09/11
Lab 4 - 09/18
Lab 5 - 09/25
Lab 6 - 10/02
Lab 7 - 10/09
Lab 8 - 10/16
Lab 9 - 10/23
Lab 10 - 10/30
Lab 11 - 11/06
Lab 12 - 11/13
Lab 13 - 11/20
Lab 14 - 12/04
Help sessions
Discussion Forum
Blackboard
Oasis

Week 1, 8/28


Week 1's lab will serve as an introduction to lab and the lab staff.

Prelab Exercises

  • The first goal of the prelab is to make sure you have Eclipse set up and know how to use it, so you don't have to fight that battle when you go to turn in your APTs on Tuesday. Although there are other code editors some of you may have had experience with, Eclipse can be set up to submit homework and programming assignments; you will have to do use Eclipse to submit homework in this course.

    You should install Eclipse on your laptop if you have one, as bringing your laptop with your code to office hours or the UTA helper hours will allow us to better assist you.

    Instructions for the prelab are below. For helpful links and instructions for many of the below steps, see the "Resources" link on the left side of this page.

    1. Make sure Eclipse (version 3.5) with Ambient (v. 2.1) is installed on the machine you will use for your assignments in this course. Most of the resources you need are linked to the Ambient downloads page. Here are some links to help you along:
      • A video of Prof. Astrachan installing Java, Eclipse, and Ambient on Windows Vista
      • Sun Java 6 downloads site: For Windows or Linux, download and install JDK 6 Update 16 (as of 8/26/2009). Mac OS X users can use the version of Java (6) that comes with your Mac OS X 10.5.
      • Eclipse downloads site: Install Eclipse (Galileo) Classic.
    2. Complete the Tagcloud exercise and bring it with you to lab.
    3. Complete the Java Intro exercise problems 1-3 and bring it with you to lab.
    4. Review the DNA Reverse APT.
    5. Review the Circles Country APT.
    6. Review the N-Body assignment. Bring any questions to lab.

    Lab Exercises

    1. Snarf the labs/lab01 project. Use http://www.cs.duke.edu/courses/cps100e/fall09/snarf as the snarf site.

      Answer the questions in week1.txt.

    2. Complete the first set of APT problems on the APT page. This page has a video where Prof. Astrachan demonstrates how to solve a simple APT problem.

    Submtting

    Submit week1.txt, DNAReverse.java, and CirclesCountry.java using Eclipse with assignment name lab01.
  • Last updated Fri Dec 04 11:33:58 EST 2009