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
Q

It is an instance of a class.

26
Q

It is an entity with characteristics and behavior that are used in the object oriented programming.

27
Q

Is the entity that is created to allocate memory

28
Q

What syntax is used to access class attributes?

A

Dot Syntax (.)

29
Q

Are functions that belongs to the class.

30
Q

Two Ways to Define Functions that Belongs to a Class

A

Inside Class Definition
Outside Class Definition

31
Q

It is the concept of wrapping of data and functions together as a single unit.

A

Encapsulation

32
Q

What do you call prevention of data direct access by the program.

A

Data Hiding or Information Hiding

33
Q

It refers to the act of representing essential features without including the background details or explanations.

A

Abstraction

34
Q

A class is called as this since it uses the concept of data abstraction.

A

Abstract Data Type

35
Q

What is ADT?

A

Abstract Data Type

36
Q

It is the capability of a class to inherit or derive properties or characteristics from other class.

A

Inheritance

37
Q

It allows reusability for object oriented programming.

A

Inheritance

38
Q

The class that derives properties from other class

A

Child Class

39
Q

The class from which properties are inherited

A

Parent Class or Base Class

40
Q

Types of Inheritance in C++

A

Single
Multiple
Multi Level
Hierarchical
Hybrid

41
Q

What does “poly” and “morphism” mean in polymorphism.

A

Many; Form

42
Q

It means the ability to take more than one form.

A

Polymorphism

43
Q

Different ways to achieving polymorphism in C++

A

Function Overloading
Operator Overloading

44
Q

Functions with the same name that can do multiple types based on some condition.

A

Function Overloading

45
Q

The operator can have multiple behavior in different instances of usage.

A

Operator Overloading