1/14
Flashcards based on lecture notes for CSC186 Object Oriented Programming, covering key concepts, characteristics, and advantages.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
What is Object-Oriented Programming?
A programming approach that focuses on using data (OBJECTS) to design and build applications.
What are the four basic concepts of Object-Oriented Programming?
Polymorphism, inheritance, encapsulation, and abstraction.
What are some other important concepts in Object-Oriented Programming?
Classes and Objects.
What are the key characteristics of Object-Oriented Programming?
It gives importance to data (object) rather than procedure (process). Programs are divided into objects. Data is hidden. Objects may communicate with each other. New data and function can be easily added. Employs a bottom-up approach.
What are the advantages of Object-Oriented Programming?
Avoid redundancy in code and use existing classes (reusability), saves time, increases productivity, secures program codes, eases work partitioning, simplifies upgrades, manages software complexity.
What does structured programming focus on?
Focuses on the process.
What does object-oriented programming focus on?
Focuses on data.
What approach does structured programming use?
Uses a top-down approach.
What approach does object-oriented programming use?
Uses a bottom-up approach.
Is Object Oriented Programming secure?
More secure since it has data hiding features
Is Structured Programming secure?
Less secure as there is no way of data hiding
What are the reusability characteristic of Object Oriented Programming?
More reusability, less function dependency
What are the reusability characteristic of Structured Programming?
Less reusability, more function dependency
How would you describe the level of abstraction in Object Oriented Programming?
More abstraction, more flexibility.
How would you describe the level of abstraction in Structured Programming?
Less abstraction, less flexibility.