0% found this document useful (0 votes)
16 views

Computer Programming 2: Prepared By: Prof. Jomariss B. Plan, MSIT

The document is a presentation for an Introduction to Object-Oriented Programming course. It outlines the learning objectives which are to identify programming approaches, explain OOP, and understand OOP concepts. It defines a paradigm and lists the key OOP concepts of objects and classes, abstraction, inheritance, encapsulation, and polymorphism. It provides practice exercises for students to identify attributes and methods for example objects, and differentiate the five key OOP concepts. The presentation ends and references additional resources for learning OOP concepts.

Uploaded by

Sherwin Limbo
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

Computer Programming 2: Prepared By: Prof. Jomariss B. Plan, MSIT

The document is a presentation for an Introduction to Object-Oriented Programming course. It outlines the learning objectives which are to identify programming approaches, explain OOP, and understand OOP concepts. It defines a paradigm and lists the key OOP concepts of objects and classes, abstraction, inheritance, encapsulation, and polymorphism. It provides practice exercises for students to identify attributes and methods for example objects, and differentiate the five key OOP concepts. The presentation ends and references additional resources for learning OOP concepts.

Uploaded by

Sherwin Limbo
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 31

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)

You might also like