Prelim Flashcards

(27 cards)

1
Q

Which feature of OOPS described the reusability of code?

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

Which of the following is not an OOP?

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

OOP acronym for

A

Object Oriented Programming

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

Which feature of OOPS derives the class from another class?

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

Which of the following is correct about class?

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

Which of the following is not an access specifier?

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

Which of the following OOP concept is not true for the C++ programming language?

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

What is the extra feature in classes which was not in the structures?

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

Which operator is used to define a member function outside the class?

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

Nested member function is?

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

Which of the following is syntax of C++ class member function?

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

Which among the following feature does not come under the concept of OOPS?

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

The combination of abstraction of the data and code is viewed in _______?

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

Which is private member functions access scope?

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

Which syntax among the following shows that a member is private in a class?

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

Which constructor function is designed to copy object of same class type?

17
Q

Allocation of memory to objects at the time of their construction is known as ______ of objects.

18
Q

If new operator is used, then the constructor function is _____-_?

19
Q

Which among the following best describes constructor overloading?

20
Q

Does constructor overloading include different return types for constructors to be overloaded?

21
Q

Which among the following is possible way to overload constructor?

22
Q

Which is executed automatically when the reaches the end of the class scope?

23
Q

The special character related to destructor is _____?

24
Q

A destructor is used to destroy the objects that have been created by a _____?

25
______ provides the flexibility of using different format of data at runtime depending upon the situation.
26
Which of the following gets called when an object is being created?
27
Can we define a class without creating constructors?