OOP 1 Flashcards

1
Q

What is OOP?

A

Object Oriented Programming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

It is a type of programming which uses objects and classes in its functioning.

A

Object Oriented Programming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

It aims at binding together data and function to work on these data sets into a single entity to restrict their usage.

A

Object Oriented Programming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

It allows decomposition of a problem into a number of entities called objects and then builds data and functions around these objects.

A

Object Oriented Programming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is UML?

A

Unified Modeling Language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

It represents a unification of concepts and notations presented by the three amigos in their respective books.

A

Unified Modeling Language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Two Major Components of UML

A

Meta-model and Notation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

The standard data representation that makes UML unique.

A

Meta-model

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does CASE mean in manufacturing?

A

Connectivity, Autonomous, Sharing/Subscription, Electrification

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

The UML ____ is rich and full bodied.

A

Notation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Two Major Subdivisions of UML Notation

A

for Modelling Static Elements
for Modelling Dynamic Elements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Classes, Attributes, and Relationships are types of?

A

Static Elements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Objects, Messages, and Finite State Machines are types of?

A

Dynamic Elements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What diagrams are used to present Static Models?

A

Class Diagrams

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Basic Concepts of Object Oriented

A

Class
Object
Methods
Encapsulation
Polymorphism
Abstraction
Inheritance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are the two main aspects of object oriented programming?

A

Classes and Objects

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

It is a data-type that has its own members.

A

Class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

It is the blueprint for an object in object oriented programming language.

A

Class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

It is the basic building block of object oriented programming.

20
Q

It is a user-defined data-type.

21
Q

Are variables of the class.

A

Data Members

22
Q

Are the methods that are used to manipulate data members.

A

Member Functions

23
Q

It defines the properties of the class.

A

Data Members

24
Q

It defines the behavior of the class.

A

Member Functions

25
It is an instance of a class.
Object
26
It is an entity with characteristics and behavior that are used in the object oriented programming.
Object
27
Is the entity that is created to allocate memory
Object
28
What syntax is used to access class attributes?
Dot Syntax (.)
29
Are functions that belongs to the class.
Methods
30
Two Ways to Define Functions that Belongs to a Class
Inside Class Definition Outside Class Definition
31
It is the concept of wrapping of data and functions together as a single unit.
Encapsulation
32
What do you call prevention of data direct access by the program.
Data Hiding or Information Hiding
33
It refers to the act of representing essential features without including the background details or explanations.
Abstraction
34
A class is called as this since it uses the concept of data abstraction.
Abstract Data Type
35
What is ADT?
Abstract Data Type
36
It is the capability of a class to inherit or derive properties or characteristics from other class.
Inheritance
37
It allows reusability for object oriented programming.
Inheritance
38
The class that derives properties from other class
Child Class
39
The class from which properties are inherited
Parent Class or Base Class
40
Types of Inheritance in C++
Single Multiple Multi Level Hierarchical Hybrid
41
What does "poly" and "morphism" mean in polymorphism.
Many; Form
42
It means the ability to take more than one form.
Polymorphism
43
Different ways to achieving polymorphism in C++
Function Overloading Operator Overloading
44
Functions with the same name that can do multiple types based on some condition.
Function Overloading
45
The operator can have multiple behavior in different instances of usage.
Operator Overloading