Home
10th Grade
11th And 12th
11th Grade
12th Grade
3rd Grade
4th Grade
5th Grade
6th Grade
7th Grade
8th Grade
9th Grade
Advance Accountancy
Auditing
Computer Aptitude
Direct And Indirect Taxation
Exams
General Hindi
Indian Finance System
Information Technology And Application In Business
Macro Economics
Town Planning
Aerospace And Aeronautical
Analytical Instrumentation
Banking Awareness
Banking Exam
Biochemistry
Bioinformatics
Biology
Biotechnology
Business Statistics
C Program
C Programming
C++ Programming
Career Aptitude Test
Cell Biology
Central Superior Service (css)
Chemical Engineering
Chemistry
Civil Engineering
Commerce
Computer
Computer Fundamentals
Computer Science
Cost Accounting
Css
Database
Drug And Pharmaceutical Biotechnology
Ecat And Mcat Entry Test
Economics
Electrical Engineering
Electrical Engineering Questions
Electrical Measurement And Instrumentation
Engineering
English
English Literature
Environment Management
Environmental Biotechnology
Enzyme Technology
Financial Management And Financial Markets
Gate
General Knowledge
Graduate Assessment Test (gat)
Health And Physical
Heat Transfer
Html
Human Anatomy And Physiology
Human And Cultural Diversity
Human Resource Management
Ias
Indian Economy
Indian Economy
Indian General Awareness
Indian Geography
Indian Geography
Indian History
Indian History
Indian Polity
Instrumentation Transducers
International Relations
Java Program
Javascript
Judiciary And Law
Life Sciences
Management
Marketing And Marketing Management
Mass Transfer
Mechanical Engineering
Mechanics Of Materials
Medical Subjects
Microbiology
Networking
Php
Placement Tests
Professional Communication
Quantitative Aptitude
Reasoning Aptitude
Renewable Energy
Science
Sociology
Sql
Surveying
Total Quality Management
Uidai Aadhaar Supervisor Certification
Virology
Notificatin
Exam
Blog
Contact Us
Object Oriented Programming (oop) Concepts(Career Aptitude Test ) Questions and Answers
Home
Topic
Career Aptitude Test
Object Oriented Programming (oop) Concepts
Question 1.
A copy constructor is called
when an object is returned by value
when an object is passed by value as an argument
when compiler generates a temporary object
all the above
Explanation:-
Answer: Option D. ->
all the above
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
Question 2.
Virtual keyword is used
to remove static linkages
to call function based on kind of object it is being called for
to call the methods that don't exist at compile time
all the above
Explanation:-
Answer: Option D. ->
all the above
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
Question 3.
Why is user defined copy constructor required?
there is no implicit copy constructor in C++
when pointers are involved implicit copy constructor does not give correct result
both a and b
none
Explanation:-
Answer: Option B. ->
when pointers are involved implicit copy constructor does not give correct result
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
Question 4.
Dynamic dispatch is a feature that
selects which polymorphic operation to call at run time
selects which polymorphic operation to call at compile time
Both a and b
None
Explanation:-
Answer: Option A. ->
selects which polymorphic operation to call at run time
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
Question 5.
An Abstract class
allows normal method declaration within
can be instantiated
Must have abstract methods with implemetation within
none
Explanation:-
Answer: Option A. ->
allows normal method declaration within
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
Question 6.
The keyword 'this' is used
As reference to current object
Explicit constructor invocation
In open recursion
All the above
Explanation:-
Answer: Option D. ->
All the above
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
Question 7.
Encapsulation helps
information hiding
in providing low coupling
in providing high cohesion
All the above
Explanation:-
Answer: Option D. ->
All the above
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
Question 8.
Function Templates can have
Explicit instantiation definition with template argument for all parameters
explicit instantiation of declaration with template argument for all parameters
Both a and b
None
Explanation:-
Answer: Option C. ->
Both a and b
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
Question 9.
Function templates are considered equivalent when
Declared in same scope
Having same name
Having identical return type and parameter list
All of the above
Explanation:-
Answer: Option D. ->
All of the above
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
Question 10.
Pure virtual function is used
to give meaning to derived class function
to give meaning to base class function
to initialize all functions
None
Explanation:-
Answer: Option B. ->
to give meaning to base class function
NO EXPLANATION IS AVAILABLE FOR THIS QUESTION!
1
2
Next →
One click Login
Login With Google
Old way of Login
Login With Email