Yong Q. Gao, Ph.D.
Professor of CS

  Prerequisite: C or C++ programming knowledge and skills
office: 2101
email: ygao@ohlone.edu
 
Courses I Teach
 
 
Other Links
 
 
  Java News, Tips and More
   
 
 
Last updated: Dec. 2, 2005
Copyright (C) 2000-2008 Gao.
All rights reserved.
   
 
Syllabus Reference
 
Description
  This course is an introduction to Java, an object-oriented programming language. Using Java, students will be able to create applications that run on different platforms of operating systems. Applets for World Wide Web will be created.
Objectives
 
1. To be able to write programs using the fundamentals of object-oriented programming in Java.
2. To be able to build real-world Java applications.
3.

To be able to run, test, and debug Java programs.

Prerequisite

C or C++ programming knowledge and skills are required

Grading
Labs
40%
Pop-up Quizzes
10%
Midterm
20%
Project & Final
30%
 
--------
Total
100%
Note: Student may earn extra credit for exercises no more than 5%
 
The course is graded on a straight percentage basis as follows:

A
B
C
D
F

90% or above
80% - 89%
70% - 79%
60% - 69%
Less than 60%
Join Now
  Yahoo! Java club
useful links, reference books, discussion, & more.
Reference Textbook
  Murach's Beginning Java 2 JDK 5
Lowe, Murach, Steelman
ISBN 1-890774-29-4
Assignment
 

Lab Assignment 1

 

Lab Assignment 2

 

Lab Assignment 3

 

Lab Assignment 4

 

Lab Assignment 5

 

Group Project

Handout
 

JDK1.5 and TextPad

 

Student files

 

Free Java Books

 

Cohesion: What, Why and How

 

Loose Coupling: What, Why and How

 

OOP Design Patterns

 

XML: What, Why and How

 

How Java Differs from C/C++

 

Project Specifications

 

Extra Credit Specification

 
  In-class Exercise Requirements
 
Work Requirement ( nominal hours )
9 hours/week, consisting of:

...... 3 hours/week class attendance

Keeping up the work requirement on a week to week basis is essential by most students, in order to pass the course.

...... 3 hours/week laboratory work

...... 3 hours/week reading, review, and additional work

 
Course Schedule ( tentative & subject to alteration )
Wk Chapter Wk Chapter Wk Chapter
1

0. Intro to course
1. How to get start with Java

2 1. How to get start with Java
2. Intro to Java programming
3

3. How to work with data
4. Control statements

4 5. How to validate input data
6. OOP in Java
5 6. OOP in Java
7. Inheritance in Java
6 7. Inheritance in Java
8. Interfaces in Java
7

8. Interfaces in Java
9. Other OOP skills

8

10. How to work with arrays
Review for midterm

9 Midterm exam
10 12. Dates and Strings in Java 11 13. How to handle exceptions 12

14. Threads in Java

13 15. Swing and GUI
16. More GUI and layout managers
14 17. Event handling
18. Applets
15 Menus
Multimedia
16 19. File I/O
17 Other topics in Java 18 Final exam
 
More ... Disciplines