Object Oriented Programming-II Course Content

INSTITUTE OF BUSINESS & MANAGEMENT SCIENCES (IBMS)

THE UNIVERSITY OF AGRICULTURE PESHAWAR

 

Programme:   BS (CS) – VII
Course Name: Object Oriented Programming-II
Course Code:   CS- 414
Course Hours:  03
Total Weeks:   16
Total Hours:   48

 

 

Course Objectives

The aim of this course is to teach an intermediate object oriented programming overviews and specially getting expertise in Java application programming. In this course students learn about Java fundamentals in a fast track manner, Java application, Java exception handling, Java object oriented model and packages swings and development of database applications in java. This course also covers will prepare students for applying object oriented concept in an application development environment as basic object oriented programming has been covered in Object Oriented Programming course.

 

 

Week-1

 

  • Introduction to Java
  • Installation Netbeans, JDK
  • Explaining Environment
  • Creating a project
  • Java Program Structure
  • Language Fundamentals
  • Keywords and identifiers
  • Primitive Data Types
  • Integer Data types
  • Floating Point Data Types
  • Variables
  • Declaring a Variable
  • Introduction to Arrays

 

 

Week-2

 

·         Class Fundamentals

  • Declaring objects
  • Introduction to methods
  • Adding Methods to class
  • Returning Value
  • Adding a method that takes parameter

 

Week-3

  • Operators and Assignments
  • Evaluation Order
  • The unary Operators
  • The Increment and Decrement Operators ++ and –
  • The unary + and — Operators
  • The Arithmetic Operators
  • The Multiplication and division Operators:* and /
  • The Modulo Operator: %
  • The Addition and subtraction Operators: + and –
  • Comparison with <,<=,> and >=
  • Logical Operators

 

Week-4

 

  • If Condition & if Else
  • The While () Loop
  • The do Loop
  • The For () Loop
  • The Break and continue Statements in Loops
  • Using break
  • Using continue
  • The switch ()

 

 

Week-5

 

  • Method Overloading
  • Constructors
  • Constructor overloading
  • The this keyword

 

Week-6

 

  • Inheritance
  • Inheritance Basics
  • Types of inheritance
  • Using super
  • Method Overriding

 

Week-7

  • Interfaces
  • Defining an Interface
  • Implementing an interface
  • Interfaces & Multiple Inheritances

 

 

Week-8

 

  • What is Exception?
  • Why we handle them
  • Exception Major types
  • Try catch finally blocks

 

Week-9

 

-Understanding Multithreading

-Thread Basics

-Thread Life Cycle

-Two ways of Thread Creation

 

Week-10

  • AWT Component
  • Swings Introduction
  • Swings Component Hierarchical structure
  • Delegation Event Handling Model

·         ActionListener

  • Button
  • Types of Button
  • Creation of a Button
  • Assigning text to a Button
  • Assigning id to a button
  • Event Handling of Button

 

Week-11

 

  • Creating JFrame
  • Creating Panels
  • JLabel
  • JButton
  • JTextField
  • Event Handling of JLabel
  • Event Handling of JTextField

 

Week-12

  • JPasswordField
  • JCheck Box & JRadio Button with Event handling
  • Jcombo, List and Choice

 

 

Week-13

  • Database
  • Xamp Server
  • Creating Database in MYSQL
  • Creating Tables
  • Editing Database
  • Creating primary Key
  • Inserting data

Week-14

  • Java Data Base Connectivity
  • Connection, Statement, Result Set Object

Week-15

 

  • Insertion
  • Deletion
  • Update

Week-16

            Presentations/ Final Semester Project

 

 

Lab Experiments
Lab 1 Java Program Structure (General Structure of JAVA program)
Lab 2 Programs on Declaring a Variables and use of Data Types.
Lab 3 Programs on Operators
Lab 4 Programs on If, If-else, Nested if, etc. statements
Lab 5 Programs on for, while and do-while loops
Lab 6 Programs on break, continue, and switch () statements.
Lab 7 Constructors, Constructor overloading, this keyword
Lab 8 Method Overloading
Lab 9 Inheritance
Lab 10 Method Overriding
Lab 11 Exception handling
Lab 12 Swings Introduction, JFrame, JLabel, JButton, JTextField
Lab 13 JPasswordField, JCheck Box, JRadio Button with Event handling, Jcombo
Lab 14 ActionListener, MouseListener
Lab 15 WindowListener, ItemListener
Lab 16 Java Data Base Connectivity

 

 

 

Total Marks:    100

 

Recommended Books

  1. Sun Java programming student guide By Sun Microsystems.
  2. Beginning Java 2 By lvor Horton.
  3. Java: The Complete Reference, By Herbert Schildt.
  4. Java How to Program. By Deitel & Deitel.

 

 

Important Links

 

  • For notes and Lectures

www.ilearnpoint.com

 

  • For Online Tutorials

https://www.tutorialspoint.com/java/index.htm

www.javatpoint.com

 

  • For NetBeans Downloading

https://netbeans.org/

 

  • For JDK Downloading

https://www.oracle.com/technetwork/java/javase/downloads/index.html

Please follow and like us:

Author: ilearnpoint

Leave a Reply

Your email address will not be published. Required fields are marked *