EEI3262 Front Pages
EEI3262 Front Pages
Unit 1
OBJECT ORIENTED
PROGRAMMING FUNDAMENTALS
Published by
The Open University of Sri Lanka
i
Introduction to Object Oriented Programming
ii
EEX3262/EEI3262 – Introduction to Object Oriented Programming
Introduction to Object Oriented Programming
Course Team
iv
EEX3262/EEI3262 – Introduction to Object Oriented Programming
Acknowledgements
This course material is adapted from the contents of the following open educational
resources.
J. N.-J. MuhtarAlhassan, Programming using Java, Jabi-Abuja, Nigeria:
Commonwealth of Learning and TheNational Open University of Nigeria, 2017.
ix
Introduction to the course
Course outline
This course will introduce you to the basic concepts of Object Oriented
Programming(OOP). It will focus on improving your skills in writing programs
using Java by applying OOP concepts, appropriate error handling and code
refactoring techniques to solve existing problems. Finally this course will help you
to perform as a professional, by applying OOP concepts in industrial projects in the
software industry.
Prerequisites
Prior knowledge in programming is not required to gain entry into this course.
Students who have registered for Diploma in Information Systems and Technology
and Bachelor of Software Engineering Honours programmes can register for
EEI3262 and those who have registered for Bachelor of Technology Honours in
Engineering programme can register for EEX3262.
viii
Introduction to Object Oriented Programming
decisions and repetitions in Java programs. Finally, you will be introduced to few
terminologies used in object oriented programming such as object, class,
constructor, destructor, this and super keywords.
The second Unit, Object Oriented Concepts discusses the basic object oriented
programming concepts and how these concepts are used in programming
languages. In this unit, it is focused on how to apply basic language syntax in Java
studied in Unit I to write simple programs, declare variables, use control structures
in program and use debugging to rectify errors. Furthermore, this unit discusses the
basic generalization concepts and how modern programming practices facilitate the
reusability.
This course has a supplementary online class to support you and you are advised to
read various supplementary materials in addition to the course material in this
online class.
Day Schools
There will be five Day Schools, each of two hours duration during which you will
be able to meet your course coordinator and sort out problems that you may
encounter while study this course. Day Schools will deal with the following topics:
Day School 1 - Object Oriented Programming(OOP) paradigm, Objects
and Classes, Overview of Object Oriented Concepts
Day School 2 - Data Types and Variables, Selection and Decisions,
Repetition Statements in Java
Day School 3 - Object Oriented Concepts in detail, Abstraction,
Inheritance
Day School 4 - Encapsulation and Polymorphism
Day School 5 - Object Orientation and reusability mechanisms, Exception
and Error Handling, Writing Java programs applying reusability, exception
and error handling methods.
The first two Day Schools are planned to discuss the sessions in Unit 1 . You are
advised to work through the related sessions, and related programming activities
given within this unit before you come for the day schools.
The activity diary issues to you at the time of your registration will indicate the
dates of these Day Schools. Programme coordinators or course coordinators will
inform you via email or through online class if there is a change of date and time
of the day schools.
Laboratory Work
ix
The course will have four laboratory practice sessions and four laboratory tests.
Each laboratory test is scheduled soon after a laboratory practice session. The tasks
to complete during each LAB-PS will be given in a laboratory practical sheet and
you can obtain these from the laboratory and through the online class. You will get
the assistance from a demonstrator during the practice sessions to complete the
laboratory practical sheet. Laboratory tests will be assessed and the attendance for
these tests is compulsory.
Write simple java programs to get familiar with Java control structures,
class and method declaration d and refactoring techniques (Lab 1).
Write simple java programs to get familiar with access specifiers,
constructor, initializing objects, instantiation of objects, message passing
and mutator methods (Lab2).
Write simple java programs to illustrate more examples with message
passing, inheritance, overriding and overloading (Lab 3)
Write a console java program to solve a given problem by applying OOP
concepts to achieve code reuse (Lab 4).
Online Learning
Online class in the learning management system ‘OUSL Elearn’
(http://elearn.ou.ac.lk) will contain supporting materials for you to study the
course. It contains additional reading links, online quizzes, screen casts designed to
illustrate some basic concepts, links for source codes for the programs given in
your course material, laboratory practical sheets, video references and all the
exercises. You should try all the exercises given in this online class though they are
not assessed. Soft Copies of the all printed material(in PDF form) are also given in
the online class.
The coordinator may also use the online class to post announcements and conduct
online discussions with you. Please make it a point to log into the online class
regularly so that you will not miss any updated information.
Audio Visual Material
The links for audio visual resources are given within the sessions and through
online class. Your attention will be drawn to the videos by a screen icon in the
margin in the course material. This course has 3 videos as given below.
1. Setting up Java Development Environment
2. Selection and Decision in Java
3. Repetition in Java
Assessment
Your progress will be assessed continuously by means of these assessment
components.
1. Online Quiz (OQ)
2. Written close book Continuous Assessment Test (CAT), this is a Close
Book Test(CBT)
3. Four laboratory tests (LABT)
viii
Introduction to Object Oriented Programming
OCAM=1B(CAT,OQ)0.4+AVG(LAB)0.6 if AVG(LABT)>=40
Best mark of CAT or OQ : 40%
Average marks for LABT : 60 %
In order to be eligible to sit for the final examination, you should obtain a
minimum of 40% for the OCAM including a minimum of 40% marks as the
average mark for LABTs.
Final Examination
We hope that you will find this course interesting and that you will enjoy your
learning experience at the Open University of Sri Lanka.
ix