Home | Student Resources | HEED Computer Science II Info

HEED - Computer Science II Course Information

Syllabus (PDF)

Date
Homework
Resources
8/23/07
Week 1

Topic - Lesson 1: Computer background

Homework for week 2:

 

8/30/07
Week 2

Topic - Lesson 1: Computer background continued

Homework for week 3:

 

9/6/07
Week 3

Topic - Lesson 2: First Java Program

Homework for week 4:

 

9/13/07
Week 4

Topic - Lesson 2: First Java Program

Homework for week 5

First, install Java SDK 6 update 2 on your home computer, available free from Sun.
http://java.sun.com/javase/downloads/index.jsp

Second, install NetBeans 5.5.1 on your home computer, available free from Sun.
http://www.netbeans.info/downloads/index.php

Visit http://java.sun.com/docs/books/tutorial/getStarted/cupojava/netbeans.html and complete the “Hello World” exercise, if you have not already done so.

Be sure you are up-to-date with the readings from the book from Lesson 1 through 2.6.
Create the Java program about temperature conversion in the textbook in section 2.6

Complete all the 2.6 exercises in the book, type out your answers and print out with your name and date on it.

Visit http://java.sun.com/docs/books/tutorial/java/index.html
Read “Object-Oriented Programming Concepts” and “Language Basics”

 
9/20/07
Week 5

Lesson 2 – First Java Programs

Homework for Week 6.

Complete any remaining read of chapter 2.
Complete the Exercises in 2.7.
Type out the answers to the Review Questions and turn them in next week. Your name should be at the top along with the date that you are turning it in.
Complete project 2-3

 
9/27/07
Week 6

Lesson 3 – Syntax, Errors, And Debugging

Homework for Week 7.

Read pages 51 – 61.
Complete all the exercises through 3.2

Complete projects 3-2 and 3-3

 
10/4/07
Week 7

Lesson 3 – Syntax, Errors, And Debugging

Homework for Week 8.

Read pages 65 – 85.
Complete all the exercises through 3.6

Complete review questions on page 86-87.

Complete projects 3-4, 3-5 and 3-6.


 
10/11/07
Week 8

Lesson 4 – Introduction to Control Statements

 
10/18/07
Week 9

Lesson 4 – Introduction to Control Statements

Homework for Week 10.

Read pages 91 –104.
Complete all the exercises through 4.6

Read pages 105 –121.
Complete all the exercises through 4.9

Complete review questions on page 121-123.

Complete one of the projects listed for lesson 4 (p. 123 - p,124).

Java Guess Game
10/25/07
Week 10

Lesson 5 – Introduction to Defining Classes

Homework for Week 11.

Read pages 131-153.
Complete all the exercises through 5.4.

 
11/1/07
Week 11
   
11/8/07
Week 12
   
11/15/07
Week 13
  smile.gif
     
1/9/2008 Commission Example Code  
     
1/24/08

Java documentation API docs - http://java.sun.com/javase/6/docs/api

 
2/21/08

Complete the Applet we began developing in class. DO NOT copy and paste the code, but rather key it back in line by line so that you see how it is coded. Once you have the code successfully compiled, you will need to create a basic HTML document to wrap the applet in. The HTML code needs to 'point' to the java class that you created. The image needs to be in the same directory as your HTML file assuming that you only refer to it by filename.

BMI JavaCode HTML Applet code
 
3/27/08   http://www-mickunas.cs.uiuc.edu/java-book/PowerPoints/
4/3/08

For homework:

Create an Applet that allows the user to enter in an amount to save, an interest rate and the number of years it is allowed to earn interest (compounded annually).

Include a calculate button that display the total amount of money and the total interest.

 

 
5/1/08

External classes are fundamental to Java and object oriented programming. The NetBeans IDE can access these external class files through the use of JAR files. When you compile your code the Net Beans IDE allows builds a JAR file of the class that is stored in the 'dist' directory.

Here is a link to a tutorial on building JAR files in Net Beans:

http://www.filesystems.org/~dquigley/cse219/index.php?it=netbeans&tt=jar&pf=y

Source code for the Reservations class

Source code for Rooms class