You are on page 1of 7

10/25/2015

OOPSQUESTIONSFORAMCATPART2|AMCATBLOG

AMCATBLOG
MEMORYBASEDAMCATQUESTIONS

OOPSQUESTIONSFORAMCATPART2
August19,2014August25,2014
nehal001
BASEDQUESTIONS,OOPS
OOPS

COMPUTERSCIENCE,MEMORY

(http://amcatblog.files.wordpress.com/2014/08/images.jpg)
Now,alongwithDataStructures,OOPStooisanimportantpartofthequestionwhichis
frequentlyaskedinamcat.KeepreadingtogetasenseofquestionsaskedinAMCAT!These
questionshavebeencompiledbyaskingpeopleindividuallywhohavetakenamcat;Imaynot
haveallthecorrectoptionsasdepictedintheexamsbutatleastthequestionsarecorrect!
Q.Whichofthefollowingaccessspecifiesisusedinaclassdefinitionbydefault?
A.Protected
B.Public
C.Private
D.Friend
AnsPrivate
Q.Whichofthefollowingtypeofdatamembercanbesharedbyallinstancesofitsclass?
A.Public
B.Inherited
C.Static
D.Friend
Ansstatic
Q.Whatmakesaclassabstract?

A.Bymakingallmemberfunctionsconstant.

https://amcatblog.wordpress.com/2014/08/19/oopsquestionsforamcat/

1/7

10/25/2015

OOPSQUESTIONSFORAMCATPART2|AMCATBLOG

A.Bymakingallmemberfunctionsconstant.
B.Bymakingatleastonememberfunctionaspurevirtualfunction.
C.Bydeclaringitabstractusingthestatickeyword.
D.Bydeclaringitabstractusingthevirtualkeyword.
AnsB
Q.Whichofthefollowingcanbeoverloaded?
A.Object
B.Functions
C.Operators
D.BothBandC
AnsD
Q.Whichtypeofclassallowsonlyoneobjectofittobecreated?
A.Virtualclass
B.Abstractclass
C.Singletonclass
D.Friendclass
AnsSingletonclass
Q.Whichofthefollowingisnotatypeofconstructor?
A.FriendConstructor
B.CopyConstructor
C.DefaultConstructor
D.ParameterizedConstructor
AnsA

Q.correctwaystoaccessaclassdatamemberusingthispointer?
Q.Howmanyconstructorisitpossibletohaveforaclass?
AnsMultiple
Q.Howmanyinstancesofabstractclassisitpossibletocreate?
AnsZero

Q.Whichofthefollowingcannotbefriend?
A.Function
B.Class
C.Object
D.Operatorfunction
AnsObject

Q.WhichofthefollowingconceptsofOOPSmeansexposingonlynecessaryinformationto
https://amcatblog.wordpress.com/2014/08/19/oopsquestionsforamcat/

2/7

10/25/2015

OOPSQUESTIONSFORAMCATPART2|AMCATBLOG

client?
A.Encapsulation
B.Abstraction
C.Datahiding
D.Databinding
AnsD

Q.Bydefault,accessibilityofthememberofclassis?
A.Public
B.Private
C.Protected
D.Noneofthese
AnsB

Q.HowmanytypesofpolymorphismexistsinC++?
Ans4

Q.Aconstructoriscalledwhenevera;
A.Objectisdeclared
B.Objectiscreated
C.Aclassisdeclared
D.Aclassisused
E.Anobjectiscreatedfromanotherobject
AnsA

Q.SelectvalidstatementsregardingCstructuresandC++classes
A.Structuresdonotsupportdatahidingbutclassesdo
B.Structurescannothavememberfunctionswhileclassescan
C.Datamembersbydefault,areprivateinstructuresandprotectedincaseofclasses
D.Therearenoaccessspecifiersincaseofstructuresbutclassesdo
AnsA,B,D

Q.Whichtypeofinheritanceneedsavirtualfunction;
A.Multilevelinheritance
B.Multipleinheritance
C.Hybridinheritance
D.Alloftheabove
AnsD

Q.Whichofthefollowingcannotbeinherited?
A.Friendfunction
B.Staticfunction
C.Destructor
AnsB
https://amcatblog.wordpress.com/2014/08/19/oopsquestionsforamcat/

3/7

10/25/2015

OOPSQUESTIONSFORAMCATPART2|AMCATBLOG

Q.Whichofthefollowingcorrectlydescribesoverloadingoffunctions?
A.Virtualpolymorphism
B.Transientpolymorphism
C.Adhocpolymorphism
D.Pseudopolymorphism
AnsC

Q.Whichofthefollowingoperatorisoverloadedforobjectcout?
A.>>
B.<<
C.+
D.=
Q.Whichofthefollowingoperatorscannotbeoverloaded?
A.[]
B.>
C.?:
D.*
AnsD
NOTEtothereaders:Plstrynsolvethemoratleasttrynsearchforthemtoresearchthe
underlyingconcepts.Justcrammingtheanswerswonthelp!!!
ThankYouforvisitingmyblog.Hopeithelpsinyourpreparation!
About these ads (https://wordpress.com/about-these-ads/)

https://amcatblog.wordpress.com/2014/08/19/oopsquestionsforamcat/

4/7

10/25/2015

OOPSQUESTIONSFORAMCATPART2|AMCATBLOG

13thoughtsonOOPS QUESTIONS FOR AMCAT


PART2
1. rimjhimbothra14says:
August19,2014at11:26pm
iwantanswersplsmailmeatrimjhimbothra@gmail.com(mailto:rimjhimbothra@gmail.com)
Reply(https://amcatblog.wordpress.com/2014/08/19/oopsquestionsforamcat/?
replytocom=89#respond)
2. govardhansays:
August27,2014at8:07am
alltheanswerstoabovequestionsarecorrectornot??
Reply(https://amcatblog.wordpress.com/2014/08/19/oopsquestionsforamcat/?
replytocom=137#respond)
nehal001says:
August27,2014at9:28am
yup.althoughucanverify!
Reply(https://amcatblog.wordpress.com/2014/08/19/oopsquestionsforamcat/?
replytocom=140#respond)
GargAnkitsays:
March25,2015at4:42pm
Allanswersarenotcorrect!
3. sudsays:
September13,2014at6:37pm
constructorsarecalledwheneverobjectiscreated
uansweredobjectisdeclared
whatisdcorrectanswer????????????????
Reply(https://amcatblog.wordpress.com/2014/08/19/oopsquestionsforamcat/?
replytocom=387#respond)
pavisays:
April21,2015at2:01pm
objectcreatediscorrect
Reply(https://amcatblog.wordpress.com/2014/08/19/oopsquestionsforamcat/?
replytocom=845#respond)
4. deepaksays:
September25,2014at7:53am
Datahidingmeansexposingonlynecessaryinformationtoclientnotdatabinding.
https://amcatblog.wordpress.com/2014/08/19/oopsquestionsforamcat/

5/7

10/25/2015

OOPSQUESTIONSFORAMCATPART2|AMCATBLOG

Reply(https://amcatblog.wordpress.com/2014/08/19/oopsquestionsforamcat/?
replytocom=480#respond)
5. tarunsays:
September28,2014at2:34pm
iamagreewithDeepak
Reply(https://amcatblog.wordpress.com/2014/08/19/oopsquestionsforamcat/?
replytocom=503#respond)
6. Shivamsays:
October1,2014at1:42am
Plzuploaddsqurstions..ineedtochckmyskills
.plz
Reply(https://amcatblog.wordpress.com/2014/08/19/oopsquestionsforamcat/?
replytocom=512#respond)
7. nidhisays:
November7,2014at8:26pm
WhichofthefollowingconceptsofOOPSmeansexposingonlynecessaryinformationto
client?
A.Encapsulation
B.Abstraction
C.Datahiding
D.Databinding
AnsDthisansweriswrong
Reply(https://amcatblog.wordpress.com/2014/08/19/oopsquestionsforamcat/?
replytocom=585#respond)
8. Karthiksays:
November17,2014at11:35am
Q.Whichofthefollowingoperatorscannotbeoverloaded?
A.[]
B.>
C.?:
D.*
Ansis:c
Reply(https://amcatblog.wordpress.com/2014/08/19/oopsquestionsforamcat/?
replytocom=621#respond)
9. Karthiksays:
November17,2014at11:38am
Q.Whichofthefollowingoperatorisoverloadedforobjectcout?

A.>>

https://amcatblog.wordpress.com/2014/08/19/oopsquestionsforamcat/

6/7

10/25/2015

OOPSQUESTIONSFORAMCATPART2|AMCATBLOG

A.>>
B.<<
C.+
D.=
Ansis:b
Reply(https://amcatblog.wordpress.com/2014/08/19/oopsquestionsforamcat/?
replytocom=622#respond)
10. parulbhusrisays:
April24,2015at5:51am
lastanswerisCnotD
TypesofpolymorphismexistinC++is2
Reply(https://amcatblog.wordpress.com/2014/08/19/oopsquestionsforamcat/?
replytocom=847#respond)

BlogatWordPress.com(https://wordpress.com/?ref=footer_blog). TheBigBrotherTheme
(https://wordpress.com/themes/bigbrother/).

https://amcatblog.wordpress.com/2014/08/19/oopsquestionsforamcat/

7/7