AY 2021-2022
COMPUTER
PROGRAMMING 2
Prepared By:
Prof. Jomariss B. Plan, MSIT
CCS Faculty
We will start at 8:00 A.M. today!
Read the PowerPoint presentation I uploaded in
the TBL Hub (Intro to OOP) and try to answer the
practice exercise (Part 1). Students will be called
to share their answers later after discussion.
WEEK 4 SESSION 1-2:
INTRODUCTION TO
OBJECT-ORIENTED
PROGRAMMING
Learning Outcomes:
At the end of the topic session, the students should be
able to:
1. Identify the approaches in writing computer
programs.
2. Explain what is Object-Oriented Programming.
3. Understand each concept of Object-Oriented
Programming.
Paradigm
A set of assumptions, concepts, values, and
practices that constitutes a way of viewing
reality for the community that shares them,
especially in an intellectual discipline is
called paradigm.
Video Clip
Intro to OOP
https://www.youtube.com/watch?v=pTB0
EiLXUC8
Key OOP Concepts
Objects and Classes
Abstraction
Inheritance
Encapsulation
Polymorphism
Practice Exercise
PART 1: Write the attributes and methods that
can be applied in an object.
For example:
Object: Car
Attributes: model, year, color, capacity
Methods: forward, backward, stop, go
Note: Provide at least three (3) attributes and (3)
methods.
Practice Exercise
PART 1:
For example: Object- Car
Attributes: model, year, color, capacity
Methods: forward, backward, stop, go
1. Object: Library
2. Object: Laptop
3. Object: Basketball
PART 2: Differentiate the five key OOP
Concepts.
That ends our Week 4 Session 1-2!
NEXT MEETING--
WEEK 5 SESSION 1:
OBJECTS AND CLASSES
REFERENCES:
Java Programming 6th edition by
Joyce Farrell
An Introduction to OOP with Java by
C. Thomas Wu
thenewboston (link:
https://www.youtube.com/channel/U
CJbPGzawDH1njbqV-D5HqKw)