Skip to content
AnsweringExams.Com
  • Home
  • Contact Us / Report Error
  • Disclaimer

OOPs Concepts

Cpp Programming Quiz 53 – Which of the following statements is correct?

August 16, 2022July 25, 2022 by admin
Question: Which of the following statements is correct?
[A]. Base class pointer cannot point to derived class.
[B]. Derived class pointer cannot point to base class.[C]. Pointer to derived class cannot be created.
[D]. Pointer to base class cannot be created.

Answer: Option B

Categories Cpp Programming, OOPs Concepts Tags C++ Programming

Cpp Programming Quiz 54 – Which of the following approach is adapted by C++?

August 16, 2022July 25, 2022 by admin
Question: Which of the following approach is adapted by C++?
[A]. Top-down
[B]. Bottom-up[C]. Right-left
[D]. Left-right

Answer: Option B

Categories Cpp Programming, OOPs Concepts Tags C++ Programming

Cpp Programming Quiz 55 – Which of the following concept of oops allows compiler to insert arguments in a function call if it is not specified?

August 16, 2022July 25, 2022 by admin
Question: Which of the following concept of oops allows compiler to insert arguments in a function call if it is not specified?
[A]. Call by value
[B]. Call by reference[C]. Default arguments
[D]. Call by pointer

Answer: Option C

 

Categories Cpp Programming, OOPs Concepts Tags C++ Programming

Cpp Programming Quiz 56 – Which of the following concepts means adding new components to a program as it runs?

August 16, 2022July 25, 2022 by admin
Question: Which of the following concepts means adding new components to a program as it runs?
[A]. Data hiding
[B]. Dynamic typing[C]. Dynamic binding
[D]. Dynamic loading

Answer: Option D

Categories Cpp Programming, OOPs Concepts Tags C++ Programming

Cpp Programming Quiz 57 – Which of the following concepts means waiting until runtime to determine which function to call?

August 16, 2022July 25, 2022 by admin
Question: Which of the following concepts means waiting until runtime to determine which function to call?
[A]. Data hiding
[B]. Dynamic casting[C]. Dynamic binding
[D]. Dynamic loading

Answer: Option C

Categories Cpp Programming, OOPs Concepts Tags C++ Programming

Cpp Programming Quiz 58 – Which of the following statement is correct?

August 16, 2022July 25, 2022 by admin
Question: Which of the following statement is correct?
[A]. C++ allows static type checking.
[B]. C++ allows dynamic type checking.[C]. C++ allows static member function be of type const.
[D]. Both A and B.

Answer: Option D

Categories Cpp Programming, OOPs Concepts Tags C++ Programming

Cpp Programming Quiz 59 – Which of the following concepts provides facility of using object of one class inside another class?

August 16, 2022July 25, 2022 by admin
Question: Which of the following concepts provides facility of using object of one class inside another class?
[A]. Encapsulation
[B]. Abstraction[C]. Composition
[D]. Inheritance

Answer: Option C

Categories Cpp Programming, OOPs Concepts Tags C++ Programming

Cpp Programming Quiz 60 – Which of the following is used to make an abstract class?

August 16, 2022July 25, 2022 by admin
Question: Which of the following is used to make an abstract class?
[A]. Declaring it abstract using static keyword.
[B]. Declaring it abstract using virtual keyword.[C]. Making at least one member function as virtual function.
[D]. Making at least one member function as pure virtual function.

Answer: Option D

Categories Cpp Programming, OOPs Concepts Tags C++ Programming

Cpp Programming Quiz 61 – Which of the following concepts means determining at runtime what method to invoke?

August 16, 2022July 25, 2022 by admin
Question: Which of the following concepts means determining at runtime what method to invoke?
[A]. Data hiding
[B]. Dynamic Typing[C]. Dynamic binding
[D]. Dynamic loading

Answer: Option C

Categories Cpp Programming, OOPs Concepts Tags C++ Programming

Cpp Programming Quiz 62 – Why reference is not same as a pointer?

August 16, 2022July 25, 2022 by admin
Question: Why reference is not same as a pointer?
[A]. A reference can never be null.
[B]. A reference once established cannot be changed.[C]. Reference doesn’t need an explicit dereferencing mechanism.
[D]. All of the above.

Answer: Option D

Categories Cpp Programming, OOPs Concepts Tags C++ Programming
Older posts
Newer posts
← Previous Page1 Page2 Page3 … Page6 Next →
© 2025 AnsweringExams.Com • Built with GeneratePress