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
In standard C++ iostreams, what is the dynamic type (class) of the object std::cout? Choose the correct library type name.
Consider the statements about when function calls are resolved: I) In procedure-oriented programming, all function calls are resolved at compile time. II) In object-oriented programming (OOP), all function calls are resolved at compile time. Which option correctly evaluates I and II?
In C++, which statement about classes and structures is correct? Assume standard C++ (not C) access defaults and capabilities.
In object-oriented design, which concept best matches “exposing only the necessary information to the client and hiding the rest”? Pick the most appropriate OOP term.
Which of the following statements about C++ classes and structures is correct? Consider access control defaults and member capabilities.
Which of the following is NOT a recognized form of inheritance in C++ class hierarchies? Select the option that does not name a standard inheritance pattern.
Which is the correct way to declare a constant (const-qualified) member function in C++? Assume the intention is to prevent modification of the object's state.
How many instances (objects) of an abstract class can be directly created in C++? Choose the correct count.
In C++ programming, which of the following entities cannot be declared as a friend of a class? Identify the item that cannot gain friend-level access.
C++ exceptions and errors: which kind of problem actually causes an exception at runtime? Choose the most accurate scenario among compile-time vs run-time issues.
C++ inheritance syntax: which of the following is an invalid visibility label in a base-class list?
C++ inheritance identification: what inheritance type does the following class use? class A : public X, public Y {}
C++ operator overloading: which keyword is used in a function signature to overload an operator?
C++ classes: what if a class is declared without a name (an anonymous class)? Choose the best statement based on standard practice.
C++ static members: which statements about static data and static member functions are correct?
C++ references vs pointers: why is a reference not the same as a pointer? Select the best comprehensive reason.
C++ pointers and inheritance: which statement is correct regarding pointers to base and derived classes?
1
2
3