CSc 2310: Principles of Computer Programming I

Syllabus |  Announcements |  Class Schedule & Notes |  Useful Links


Announcements

 

15_Oct_2008

Quiz 5 is on Thursday, Oct 16th, which covers the use of for loop statement.

 

16_Oct_2008

Assignment 4 is extended to be due on Oct 23rd. Sample program is posted.

 

4_Nov_2008

The last quiz 7 is on Thursday, Nov 6th, which covers exception handling and switch, break statement.

 

4_Nov_2008

The final exam date will be changed to December 4th. Email to ysun10@student.gsu.edu if you have difficulty attending final.

           

Previous Announcements             

 


Class Schedule & Notes

Week

Topics

Chapters

Notes

Homeworks Due

Solutions

Week 1
(8/18)

Syllabus and Introduction

Ch 1.1-1.7

ch01.ppt

 

 

Installation of Java Environment; Basic Structure of a Java Program;
Comments; Variables and Constants

Ch 1.3-1.7, Ch 2.1-2.5, 2.8

Java Installation, ch02.ppt

 

 

 

Week 2
(8/25)

Identifiers; Expression; Methods

Ch 2.6-2.7, 2.9

 

 

 

Methods; I/O; Quiz1

Ch 2.9-2.10

jpb package
jpb Installation

 

Quiz 1

Week 3
(9/1)

Methods; I/O

Ch 2.9-2.10, Ch 3

Assignment 1

 

 

Concepts of Classes and Objects; Object-oriented programming model; Constructors, Overloading

Ch 3.1-3.5

ch03.ppt              

 

 

 

Week 4
(9/8)

Using objects

Ch 3.6-3.8

 

 

Assignment 1 Due

 

Ass1 Solution

SellStocks.java

Example of Fraction Class; String class; Quiz2

Ch 3.8-3.9

Assignment 2

 

Quiz 2

Week 5
(9/15)

Conditional Statements

Ch 4.1-4.2

ch04.ppt

 

 

If Statements; Boolean Type; Quiz 3

Ch 4.3-4.5

 

Assignment 2 Due 

Quiz 3

Week 6
(9/22)

While Loop Statements

Ch 4.6

 

 

Ass2 Solution Fraction.java TestFraction.java FractionMath.java

Counting Loops; ++/-- operators; break

Ch 4.7-4.8

Assignment 3

 

 

Week 7
(9/29)

For Loops; Quiz 4

Ch5.1

ch05.ppt 

 

Quiz 4

Review for the Midterm exam.

 

Midterm Review

 

 

Week 8

(10/6)

Midterm exam

 

 

 

Midterm Sol

Discussion of Midterm exam; Creation of Arrays

Ch 5.2-5.3

 

Assignment 3 Due

Ass3 Solution

Scores.java  

Fibonacci.java

Week 9

(10/13)

Applications of Arrays; Dynamic Arrays

Ch 5.4,5.6,5.7,5.8

Assignment 4  

Sample Program

  

 

2-D Arrays; Nested For Loops; Quiz 5

 

nested loop1
nested loop2

 

Quiz 5

Week 10

(10/20)

Class Methods

Ch 7.1, 7.5

ch07.ppt

 

 

Define a method, local/static/instance variables; Passing parameters by value

Ch 7.2-4

Variables 1
variables 2         variable 2_answ

parameter passing

Assignment 4 Due

Ass4 Solution

BullsAndCows

Week 11

(10/27)

Conditional Expression; Program Arguments; Helper Methods; Quiz 6 (class practice, no grade)

Ch 7.3,7.4,7.7

Assignment 5    Sample Program

 

Practice Quiz 6

Exception Handling; Switch Statements; Do-While Statements; Continue Statements; Labeled Loops.

Ch 8.1-8.5

ch08.ppt

 

 

Week 12

(11/3)

Chapter 8

 

 

 

 

Graphics I; Quiz 7

Ch 6.1-6.3

ch06.ppt

Assignment 5 Due

Quiz 7

Week 13

(11/10)

Graphics II

Ch 6.4

Assignment 6  Dynamic display Code

 

 

 

Graphics II; Practice Quiz

 

 

 

Practice Quiz 8

Week 14

(11/17)

Chapter 10: 'this' variable; Chapter 11: subclasses

Ch 10-11

ch10ppt; chap11.ppt

 

 

Final Exam Review

 

Final Review

Assignment 6 Due

 

Week 15
(11/25)

 

Thanksgiving Holidays – No Class

 

Week 16

(12/1)

No Class on Dec. 2nd (Prepare for final exam);
Final Exam on Dec. 4th

Week 17
(12/8)

 !!!   Final Exam Date is Changed to December 4th, (11:00am – 12:15pm)

 


Useful HTML Links