0% found this document useful (0 votes)
20 views11 pages

MCQ2

The document contains multiple-choice questions (MCQs) related to C++ and object-oriented programming (OOP) concepts. Topics include definitions of polymorphism, features of OOP, access specifiers in C++, and the size of the wchar_t type. Each question presents options to choose from, testing knowledge on these subjects.

Uploaded by

pratik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views11 pages

MCQ2

The document contains multiple-choice questions (MCQs) related to C++ and object-oriented programming (OOP) concepts. Topics include definitions of polymorphism, features of OOP, access specifiers in C++, and the size of the wchar_t type. Each question presents options to choose from, testing knowledge on these subjects.

Uploaded by

pratik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

CPP MCQ

MCQ
• Which of the following definition is incorrect for polymorphism?
1.Polymorphism helps in redefining the same functionality
2.Polymorphism concept is the feature of object-oriented programming
(OOP)
3.It always increases the overhead of function definition
4.Ease in the readability of the program
MCQ
• Which of the following definition is incorrect for polymorphism?
A. Polymorphism helps in redefining the same functionality
B.Polymorphism concept is the feature of object-oriented programming
(OOP)
C.It always increases the overhead of function definition
D.Ease in the readability of the program
MCQ
• Which among the following doesn’t come under OOP
concept?
a) Data hiding
b) Message passing
c) Platform independent
d) Data binding
MCQ
• Which among the following doesn’t come under OOP
concept?
a) Data hiding
b) Message passing
c) Platform independent
d) Data binding
MCQ
• The feature by which one object can interact with another
object is _____________
a) Message reading
b) Message Passing
c) Data transfer
d) Data Binding
MCQ
• The feature by which one object can interact with another
object is _____________
a) Message reading
b) Message Passing
c) Data transfer
d) Data Binding
MCQ
• How many access specifiers are there in Cpp?
• a. 2
• b. 3
• c. 4
• d. 5
MCQ
• How many access specifiers are there in Cpp?
• a. 2
• b. 3
• c. 4
• d. 5
MCQ
• What is the size of wchar_t type of variable in C++ ?
• A. 1
• B. 2
• C. 8
• D. None of the above.
MCQ
• What is the size of wchar_t type of variable in C++ ?
• A. 1
• B. 2
• C. 8
• D. None of the above.

You might also like