Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
OOPS Concepts Questions
Which of the following statements about C++ type checking and static member functions are correct? Select the most accurate combination based on the C++ language rules.
Which statements correctly describe C++ function overloading? Choose all that make two functions with the same name distinct overloads.
Which OOP concept means deciding at runtime which method implementation to invoke for a call through a base interface? Identify the correct term used in C++ for this behavior.
Which programming approach is primarily associated with C++ and object-oriented design? Choose the best match for how systems are modeled and built.
How many major kinds of polymorphism does C++ support? Distinguish by when binding happens relative to compile time.
In C++ access control, which members are intended to be accessible only within the class and its derived classes (i.e., within the class hierarchy chain)? Choose the best match for “available only in the hierarchy”.
In C++, which of the following cannot be declared with the keyword virtual? Select the entity for which virtual is not permitted.
Which C++ operator cannot be overloaded by user code? Identify the operator that is excluded from overloading rules.
In object-oriented C++, which feature primarily provides a code-reuse mechanism? Select the concept most directly associated with reusing existing implementations.
In modern C++, which of the following are mechanisms of static (compile-time) polymorphism? Choose the option that best captures all techniques resolved before runtime.
In C++, how do you make a class abstract (i.e., uninstantiable and intended as an interface/base)? Select the standard language feature used to enforce abstractness.
Which concept refers to adding new program components while the application is running (rather than at compile/link time)? Pick the term commonly used in C/C++ systems.
In C++, what is the term for a function that is defined inside a class definition? Choose the standard name used in OOP and C++.
In C++, how is late binding (deciding the override at runtime) implemented under the hood? Identify the common mechanism used by compilers.
Which C++ concept lets one class contain and manage objects of another class as part of its own state? Select the composition-style reuse mechanism.
In C++, what are the primary roles of a constructor? Choose the option that best reflects what constructors actually do.
What can a friend function access in a C++ class? Identify the correct scope of access granted by friendship.
Why is reusability considered a desirable feature in a programming language and ecosystem? Select the most defensible advantages commonly achieved by reuse.
In which contexts are virtual calls effectively resolved at compile time (i.e., dynamic dispatch is suppressed) in C++? Choose the standard situations where a virtual call does not dispatch to a more derived override at runtime.
In C++ object-oriented programming, which concept refers to waiting until runtime to decide which actual function implementation will be called through a base interface? Choose the best term that names this runtime decision process.
1
2
3