Advanced Programming (JAVA)

Spring 2013


Instructor:  Dr. M. Bag-Mohammadi,        Assistants: یونس شفیعی، پوریا مرادی، پیمان رستمی ، علی پارسا

Office Hours: Click here        Grade: IT , Software

 

TextHead First Java 2nd ed., Sierra , Kathy and Bates, Bert, O'Reilly Publishers, 2005.

 

Goals

Primary goals of the course are:

bullet

his course continues the development of programming and problem-solving skills, focusing on the object-oriented programming (OOP) and design (OOD) paradigms. It uses the Java programming language and the Eclipse integrated development environment (IDE) as teaching tools.

 

Assignments:

1

 basic java programming

hw1-jv-s13.docx

2

 using strings in Java

hw2-jv-s13.docx

3

 Recursion

hw3-jv-s13.docx

3

 Java classes

hw4-jv-s13.docx

 

4

 Java Classes: composition

hw5-jv-s13.docx

 

 

5

 Static classes

hw6-jv-s13.docx

 

 

6

 Inheritance

hw7-jv-s13.docx

 

 

7

 Inheritance, polymorphism

hw8-jv-s13.docx 

 

 

8

 File I/O

 

 

 

 

 

 

 

 

 

Project:

Final Projects

 

 

Grading Policy:

Final grades in the course will be based on the following weighting distribution.

 

 

 

bullet

Midterm  35%

bullet

Assignment 25%

bullet

Projects.10%

bullet

Final Exam.35%

 

Lecture Notes:

Topic

Lecture Note

Introduction

Lec1-Introduction.ppt

Eclipse

Lec2-intro-to-eclipse.ppt

Java Premier

Lec3-Java Premier.pptx

Class and Objects

 Lec4 - ClassAndObjectBasics.pptx

Encapsulation

Lec5 - Encapsulation.pptx 

Constructor, reference variable

Lec6 - Constructors.pptx 

Composition

 Lec7 - Composition.ppt

Midterm (with solution)

Mid-JV-s13.docx  solution (word)  solution (pdf) 

Static Methods

Lec8 - StaticMethods.pptx 

Coupling

Lec9 - DesignBasics.pptx 

Inheritance 1

 Lec10-Inheritance1.ppt

Inheritance 2

Lec11-Inheritance2.ppt 

Polymorphism 1

Lec12-Polymorphism1.ppt 

Polymorphism 2

Lec13-Polymorphism2.ppt 

Interfaces

Lec14-Interfaces 

Files and I/O

Lec15-Files 

Exception 1

Lec16-Exceptions 

Exception 2

Lec17-Exceptions2 

Generics

GUI

Final

Final