|
STUDENT COURSE SYLLABUS
Course Title:
Java Programming Diploma
Course Duration:
128 Hours.
Session:
4 hours.
Course Description:
Java is not difficult to learn, but there is a great deal to it.
Although the Java language is very powerful, it is fairly compact,
so acquiring an understanding of it will take less time than you
think. However, there’s more to Java than just the language. To be
able to program effectively in Java, also need to understand the
libraries that go with the language, some database concepts for
connecting with Java and these are very extensive. In this Diploma,
the sequence learning of how the language works and how you apply it
has been carefully structured so that it will be gain expertise and
confidence with programming in Java through a relatively easy and
painless process. While it may be an appealing idea, this would be a
bit like learning to swim by jumping in the pool at the deep end.
Generally speaking, there is good evidence that by starting in the
shallow end of the pool and learning how to float before the trying
to swim, will be minimize the chance of drowning, and there is a
high expectation that will be end up being a competent swimmer.
Course Goals:
1.
Understanding the basic concepts Java as a programming language.
2.
Understanding the basic classes of Java
3.
Learning the concepts of Object-Oriented Programming.
4.
Learning the concepts of handling error and exceptions in Java
Programming language.
5.
Creating some interactive applications that interact with users.
6.
Learning the basic concepts of database structure and programming.
7.
Understanding the JDBC, ODBC and interactive SQL Applets.
"Session: In this course one session equals 4 hours.
Course Outline:
|
Session* No.
|
Title/subtitle
|
Assignment
|
|
1
|
Introduction
to Java
|
|
|
|
-
The Genesis of Java.
-
Java Applets and Applications.
-
Java Features.
|
Learn the basic features of
Java
|
|
3&2
|
Object-Oriented Programming in Java
|
|
|
|
-
What Defines a Class of Objects?
-
Operating on Objects.
-
Java Program Statements.
-
Encapsulation.
-
Advantages of Using Objects
|
Learn the basic concepts of
Object-Oriented Programming
|
|
5&4
|
Data
Types and Variables
|
|
|
|
-
Data and Variables.
-
Fixing the Value of a Variable.
-
Mathematical Functions and
Constants.
-
Explicit Casting.
-
Storing Characters.
-
Bitwise Operations.
-
Operator Precedence.
-
Program Comments
|
Create Simple programs that uses different types of
variables and some practice on Operator Precedence
|
|
7&6
|
Control Statements
|
|
|
|
-
Making Decisions.
-
Logical Operators.
-
The Conditional Operator.
-
The switch Statement.
-
Variable Scope.
-
Loops.
-
Assertions.
|
Practice on
Control Statements and variables scope
|
|
9&8
|
Arrays and Strings
|
|
|
|
-
Array Variables.
-
Defining an Array.
-
The Length of an Array.
-
Initializing Arrays.
-
Arrays of Arrays.
-
Arrays of Characters.
-
Creating String Objects.
-
Operations on Strings.
-
Mutable Strings.
|
Make Matrix, Numbering Systems, Students degree and other
corresponding Programs that uses arrays and strings
|
|
11&10
|
Classes and Methods
|
|
|
|
-
Fields and Methods in a Class Definition.
-
Defining Classes.
-
Defining Methods.
-
Constructors.
-
Method Overloading.
-
Using Objects.
-
Understanding Packages.
-
Controlling Access to Class Members.
-
Nested Classes.
|
Create Circle, University and Factory classes
|
|
12&13
|
Extending Classes and Inheritance
|
|
|
|
-
Using Existing Classes.
-
Class Inheritance.
-
Choosing Base Class Access Attributes.
-
Polymorphism.
-
Multiple Levels of Inheritance.
-
Abstract Classes.
|
Practice on using an
existing classes and make inheritance to get some extended
classes
|
|
14&15
|
Exception Handling
|
|
|
|
-
The Idea Behind Exceptions.
-
Types of Exceptions.
-
Dealing with Exceptions.
-
Exception Objects.
-
Defining Your Own Exceptions.
|
Make
exceptions in some applications and handling it.
|
|
16&17
|
Understanding Streams
|
|
|
|
-
Streams and the I/O Capability.
-
Binary and Character Streams.
-
The Classes for Input and Output.
-
The Standard Streams
|
Make simple Transaction Processing System application
|
|
18,19&20
|
Files and Directories Operations
|
|
|
|
-
Working with File Objects.
-
Creating File Output Streams.
-
File Input and Output.
-
Channels.
-
Buffers.
-
Reading a Text, Binary and Mixed Data File
-
Random Access to a File.
-
Memory-Mapped Files.
-
Read/Write Operations with a Single File Channel.
-
Serializing Objects.
-
Storing Objects in a File
|
Extended
Transaction Processing System application
|
|
21&22
|
Generic Class Types
|
|
|
|
-
What Are Generic Types?
-
Defining a Generic Class Type.
-
Variables of a Raw Type.
-
Parameterized Methods.
-
Parameterized Types and Inheritance.
|
Create some template classes with different arguments and
re-using in applications
|
|
23&24
|
Creating Windows
|
|
|
|
-
Graphical User Interfaces in Java.
-
Components and Containers.
-
Basics of Components.
-
Using Containers.
-
Adding a Menu to a Window.
-
More on Applets.
|
Create some
interactive windows applets and make a simple Notepad
applet.
|
|
25&26
|
Handling Events
|
|
|
|
-
Window-Based Java Programs.
-
Avoiding Deadlocks in GUI Code.
-
Event Classes.
-
Using Actions.
-
Adding a Toolbar.
|
Extended Notepad applet with appropriate events and actions.
|
|
27
|
JDBC
|
|
|
|
-
What Is The JDBC?
-
The JDBC Structure.
-
ODBC’s
Part In The JDBC.
|
Learn the structure of JDBC
|
|
28
|
SQL, Database Concepts and Statements
|
|
|
|
-
The Relational Model and SQL.
-
Data
Definition Language.
-
Data Maintenance Language.
-
Data Query Language.
|
Practice on creating SQL
statements
|
|
29&30
|
The Interactive-SQL Applet
|
|
|
|
-
Installing
java.sql.*.
-
JDBC URL and the Connection.
-
Your First JDBC Applet.
-
Getting a Handle on the JDBC Essentials.
-
Accessing ODBC Services Using JDBC.
|
Create Some SQL Applets and
make some Interactive Applets
|
|
31
|
Working With SQL Queries
|
|
|
|
-
Mapping SQL Data to Java.
-
Mapping a Table into a Java Object.
-
A Basic Java Object for Storing Results.
-
Charting Your Data.
|
-Understanding The Object
Relation Model.
-Practice on A Basic Java
Object For Storing Results
|
|
32
|
Presenting
the final projects
|
|
|
|
- Evaluating the final
projects.
- Discussing the
powerful points and the weak ones in students’ projects.
|
|
Assessment of
Students:
Frequency*: Two
assessments and a final exam as follows:
The first
assessment is scheduled for session 10.
The second
assessment is scheduled for session 20.
The final exam
is scheduled for session 31.
Type: Practical
and/or written
The final grade
will be the total of the following:
Points
Assessment I
20
Assessment 2
20
Class
participation
10
Final Exam
and/or Project 50
Final grade:
100
Reference:
1.
Java 2: The
Complete Reference
by Patrick
Naughton and Herbert Schildt.
2.
Java Database
Programming with JDBC
by Pratik Patel.
3.
Beginning Java™
2, JDK™
by Ivor Horton.
4.
Java Cookbook
by
Ian Darwin.
5.
Java: How to
Program
DEITEL & DEITEL.
6.
Essentials of
the Java TM Programming Language: A Hands-On Guide
by Monica Pawlan.
|