COSI 223: Java Programming I
Text:        
Paul & Harvey Deitels , Java How to Program, Eleventh Edition. Pearson, 2017.
                                                       
ISBN-10: 0-13-479140-1 • ISBN-13: 978-0-13-479140-1

Course Outline:

Weeks Chapters Topics Concepts
1 1 Introduction to Computers and Java
a. Install Compiler
   Download BlueJ software
b. Display "Hello World!"
   Compile
   Use BlueJ to display "Hello, World!"
c. Beginning codes
d. Computer Hardware & Software
e. Computer Organization
f. Distributed Computing
g. Level of Languages

h. Java Class Libraries
i. Java Development Environment
j. Object Technology
  • Install java compiler in your home computers.
  • Understand how to use DOS system to go to your working folder.
  • Understand how to compile java file and run it.
  • Understand how to use BlueJ software.
2 2  Introduction to Java Applications
a. Welcome Code
b. print & println
c. newline
d. variable and data type
e. Assignment Statements    Example
f. Formatted Print (printf)   Example
g. Input from keyboard  Exercise
h. Operations
i. Compare

j. if / else
k. nested if/else
3, 4 3 Control Statements: Decisions
a. Algorithms (optional)
b. Control Structures

c. Compound Assignment Operators
d. Order of Statements & Combining statements
e. Increment and Decrement Operators  Example
f. data type - arrays
g. Creating Simple Drawings (optional)
  • +=, -=, *=, /=
  • ++, --
  • arrays
5   Review and Test I  
6, 7 4 Control Statements: Iteration     Beat game
a. Counter-Controlled Repetition  Sentinel value
b. Example of the for Statement
c. do...while Repetition
d. switch Multiple-Selection Statement
e. break and continue Statements
f. Logical Operators
g. Structured Programming Summary

h. Examples
8, 9 5 Methods: A Deeper Look
a. static method        template
b. Math class

c. static field and final
10, 11 6 Arrays and Array Lists
a. Array  Examples
b. Array List  (leave it to next semester)
 
12, 13 7 Introduction to Classes,Objects, Methods and Strings
a. class
b. method
c. instance variable

d. Constructor
e. The First Example of Grade book
f. Additional Information for methods

g. Local Variables & Instance Variables
h. Methods & Instance Variables Interface
i. Method & Method Interface
j. Grade Book Test  Gentlemen class
k. Primitive Types vs. Reference Types
   Compare Strings
l. Initializing Objects with Constructors
m. Grade Book Constructor Example
n. float & double types
o. Account Class
p. Dialog Boxes ShowMessage InputMessages
  • class & object
  • constructor
  • method
  • how to interface between two methods
  • Example
  • Exercise
14   Review and Test II  
15   Final Comprehensive Exam