Lesson 1 Flashcards
This is the type of programming which uses objects and classes its functioning.
Object-Oriented Programming
This is based on real world entities like inheritance, polymorphism, data hiding, etc.
Object-Oriented Programming
It aims at binding together data and function work on these data sets into a single entity to restrict their usage
Object-Oriented Programming
In object-oriented parlance, a problem is viewed in terms of what concepts?
- Objects
- Classes
- Data Abstraction
- Data Encapsulation
- Inheritance
- Polymorphism
- Dynamic Binding
- Message Passing
These are the basic run-time entities in an object-oriented system.
Objects
They may represent a person, a bank account, a a table of data; they may also represent user-defined data such as vectors, time, and list.
Objects
They occupy space in memory that keeps its state and is operated on by the defined operations on the object. Each object contains data and code to manipulate the data.
Objects
This represents a set of related objects.
Classes
This talks about the object has some attributes, whose value consist much of the state of an object.
Classes
These are user defined data types that behave like the built-in types of a programming language.
Classes
These have an interface that defines which part of an object of a class can be accessed from outside and how.
Classes
True or False:
A class body that implements the operations in the interface, and the instance variables that contain the state of an object of that class.
True
These can interact without having to know details of each other data or code
Objects
This is a data-type that has its own members
Class
It is the blueprint for an objects oriented programming language.
Class
It is the basic building block of object oriented programming in c++
Class
These are declarations that are accessible from outside the class to anyone who can access an object of this class.
Public
These are declaration that are accessible from outside the class to anyone who can access an object of this class.
Protected
These are declarations that are accessible only from within the class itself.
Private
This is the concept of hiding data and showing only relevant data top the final user. It is also an important part of object-oriented programming.
Data Abstraction
Other term of Data Abstraction
Data Hiding
This is the concept of wrapping together of data and information in a single unit.
Data Encapsulation
This is the binding together the data and related function that can manipulate the data.
Data Encapsulation
This is a class’s capacity to inherit or derive attributes or characteristics from other classes
Inheritance
This is particularly significant in an object-oriented software since it allows for reusability
Inheritance
This is a class that inherits properties from another class
Child Class or Subclass
This is the class from which the properties are inherited
Base Class or Parent Class
This allows us to create a new class from existing class
Inheritance
What are the types of inheritance
- Single Inheritance
- Multiple Inheritance
- Multi Level Inheritance
- Hierarchical Inheritance
- Hybrid Inheritance
This means the ability to take more than one form.
Polymorphism
This is an operation may exhibit different behavior in different instances
Polymorphism