Now, along with Data Structures, OOPS too is an important part of the question which is frequently asked in amcat. Keep reading to get a sense of questions asked in AMCAT! These questions have been compiled by asking people individually who have taken amcat; I may not have all the correct options as depicted in the exams but atleast the questions are correct!
Q. Which of the following access specifies is used in a class definition by default?
A. Protected
B. Public
C. Private
D. Friend
Ans-Private
Q. Which of the following type of data member can be shared by all instances of its class?
A. Public
B. Inherited
C. Static
D. Friend
Ans-static
Q. What makes a class abstract?
A. By making all member functions constant.
B. By making at least one member function as pure virtual function.
C. By declaring it abstract using the static keyword.
D. By declaring it abstract using the virtual keyword.
Ans-B
Q. Which of the following can be overloaded?
A. Object
B. Functions
C. Operators
D. Both B and C
Ans- D
Q. Which type of class allows only one object of it to be created?
A. Virtual class
B. Abstract class
C. Singleton class
D. Friend class
Ans-Singleton class
Q. Which of the following is not a type of constructor?
B. Copy Constructor
C. Default Constructor
D. Parameterized Constructor
A. Function
B. Class
C. Object
D. Operator function
A. Encapsulation
B. Abstraction
C. Data hiding
D. Data binding
Ans-D
Q. Which of the following correctly describes overloading of functions?
A. Virtual polymorphism
B. Transient polymorphism
C. Ad-hoc polymorphism
D. Pseudo polymorphism
Ans-C
A. >>
B. <<
C. +
D. =
Q. Which of the following operators cannot be overloaded?
A. []
B. ->
C. ?:
D. *
Ans-D
NOTE to the readers: Pls try n solve them or atleast try n search for them to research the underlying concepts. Just cramming the answers wont help!!!
Thank You for visiting my blog. Hope it helps in your preparation!
i want answers pls mail me at rimjhimbothra@gmail.com
all the answers to above questions are correct or not??
yup. although u can verify!
All answers are not correct!
constructors are called whenever object is created
u answered object is declared
what is d correct answer????????????????
object created is correct
Data hiding means exposing only necessary information to client not data binding.
i am agree with Deepak
Plz upload ds qurstions..i need to chck my skills
.plz
Which of the following concepts of OOPS means exposing only necessary information to client?
A. Encapsulation
B. Abstraction
C. Data hiding
D. Data binding
Ans-D this answer is wrong
ans-c
Q. Which of the following operators cannot be overloaded?
A. []
B. ->
C. ?:
D. *
Ans is:c
Q. Which of the following operator is overloaded for object cout?
A. >>
B. <<
C. +
D. =
Ans is:b
last answer is C not D
Types of polymorphism exist in C++ is 2