You are on page 1of 13

12/29/2016

IBM Placement Paper Contributed by Asta Singh

IBMPlacementPaper | 41019

IBMPlacementPaper

Itconsistofmainlythreesections.

a)Section1:MatrixTest

Noofquestion:15(13minutes)

Note:Nonegativemarksforthissection

b)Section2:NumberSeriesTest

Noofquestion:20(15minutes)

Note:Negativemarking(1/4)isthereforthissection

c)Section3:Analyticaltype(Aptitude)

feedback

Noofquestion:12(15minutes)

Note:Negativemarking(1/4)isthereforthissection.

AboutMatrixTest:

ThisisthenewpatternofIBM.Thisnewpatternhasbeenimplemented.Itcontains3sections.

i)SectionA

Someinformationisgivenintheformofmatrices,withheadingsforrowsasrow1,row2.Etc.Forcolumnswithheadingsasc
asfollows.
http://placement.freshersworld.com/ibm-placement-papers/placement-paper/3313630

1/13

12/29/2016

IBM Placement Paper Contributed by Asta Singh

Row1@*2ZRow2SK?$Row3IPZ+Row4#8FQ

Questionsareasfollows(notsamequestionsbutsametype):

1.Aftergivingsimilartypeofconditions,whatistheelementlefttoH?Inthissectiontheygavearound4matricesofthistype

2.5sthenwhichcolumnelementssumequalsto9?

3.Ifcolumn1,Column4areinterchangedandrow3,row4areinterchangedanddiagonalelementsfromtoplefttobottomrig
theelementinrow1andcolumn1?

4.Ifacompanyproduces15differentmodeloftvsetsof2inchsscreenand4differentmodelof4inchesscreensize.Thenho
themodelsothatallmodelswilldisplayedintheshowroom?

5.Ifateamconsists20membersinwhich20%aremathematicianthenhowmanymembershouldtheyhiresothattheratiow

6.IfZsinoddnumberedrowsarereplcedwith7sandSsinoddnumberedcolumnsarereplacedwith.

SectionB

Allquestionsinthissectionarefromnumberseries.Totalnumberofquestionsare20.Timelimitis4minutes.Thesearealsom
Negativemarking(1/4)isthereforthissection.

1.40,42,4241,41,,42,44,44,?

Answer:44

2.17,18,19,34,35,19,20,?

Answer:21

3.22,21,34,33,45,?

http://placement.freshersworld.com/ibm-placement-papers/placement-paper/3313630

2/13

12/29/2016

IBM Placement Paper Contributed by Asta Singh

Answer:44

SectionC

1.Therateofcolourtonerincreases$33to$35andrateofblack&whitetonerincreases$28to$29.Ifcompanyspends$154
muchistotalExpenditureincreasesafterthecosthike.

2.Acomputershopconsistsof3brandslaptop.LaptopofbrandAissold3/16,Bissold1/16andcissoldthenwhatfractio

3.PrinterAprints8192characterperminandprinterBprints13862characterperminutesfourcharacterareequaltoonewo
Bstartsat7:29amthenatwhattimebothwillhavesamenoofwordsprinted.

4.Inalibrarythereare5clusterandeachishaving44books(module).Infirstweak75booksareused,insecond95,inthird
tellhowmuchfractionofbooksareused.

5.Wehave171kgricecusting7rs/kg.wehavericeat11rs/kgand2rs/kg.thenaftermixing11rs/kgand2rs/kgrice.Whati

6.Rectangularroomhaswidthhalfofitslength.When6isdecreasedfrombothlengthandwidththenitsareaisdifferedby10

7.CompanyAtakenatruckonrentof$1280permonthanothercompanyBboughtthetruckin$40000andsend$120perm
differenceintheAmountspentbythebothcompaniesontheTRUCK.

8.Inacompanyprintingworkisdonebytwomachine5%oftheworkdonebymachineAarewasted,and40%ofworkdone
totalworkisdonebymachineA.Thenwhatisthetotalpercentageofwastage.

AptitudeQuestions

1.Direction:InA,B,Carehavingsomemarbleswitheachofthem.AhasgivenBandCthesamenumberofmarbleseacho
thesamenumberofmarblestheyalreadyhave.ThenCgaveAandBthesamenumberofmarblestheyalreadyhave.Atthee
marbles.

(i)Ifx,y,zarethemarblesinitiallywithA,B,Crespectively.ThenthenumberofmarblesBhaveattheend.

http://placement.freshersworld.com/ibm-placement-papers/placement-paper/3313630

3/13

12/29/2016

IBM Placement Paper Contributed by Asta Singh

(a)2(xyz)
(b)4(xyz)
(c)2(3yxz)
(d)x+yz

Answer:(c)

(ii)Ifthetotalnumberofmarblesare72,thenthenumberofmarbleswithAatthestarting

(a)20
(b)30
(c)32
(d)39

Answer:(d)

2.IfacarstartsfromAtowardsBwithsomevelocity.Duetosomeproblemintheengineaftertravelling30km,thecargoesw
reachesB45minlatertotheactualtime.Ifthecarenginefailsoftertravelling45km,thecarreachesthedestinationB36minl
velocityofcarandwhatisthedistancebetweenAandBinkm

Answer:20and130

3.In1978,akgofpaperwassoldatRs25/Ifthepaperrateincreasesat1.5%morethantheinflationratewhichis6.5%aye
paperafter2years?

(a)29.12
(b)29.72
(c)30.12
(d)32.65

4.Tenquestionsonanalogies.

Example:

chief:tribe::governor:state
epaulette:shoulder::tiara:head
guttural:throat::gastric:stomach

http://placement.freshersworld.com/ibm-placement-papers/placement-paper/3313630

4/13

12/29/2016

IBM Placement Paper Contributed by Asta Singh

inept:clever::languid:active
knife:butcher::
hammer:carpenter::

5.ApersonhasRs100/inhispocket,hecanas25pencilsor15books.Hekept15%ofthemoneyfortravellingexpensesa
bookshecanpurchasewiththeremainingmoney.

6.Asquareplateofsomesizeiscutatfourcorners.Equalsquaresofthesamesizearecutandisformedasopenbox.Ifthis
sizeofthesideoftheplate?

(a)17
(b)14
(c)13
(d)Noneofthese

7.Inasquare,allthemidpointsarejoined.Theinnersquareisshaded.IftheareaofthesquareisA,whatistheareaofthe

8.Twoquestionsonbasicanglesi.egivenacircle,afewchordsordiameterisdrawnetc.

9.Ifyoutypeinthecommannohupsortemployees>list2>errorout&andlogoff,thenexttimeyoulogin,theoutputwillbe

a)inafilecalledlistandtheerrorwilldetypedinafileerrorout
b)therewillbenofilecalledlistorerrorout
c)errorwillbeloggedinafilecalledlistando/pwillbeinerrorout
d)youwillnotbeallowedtologin

10.enumnumber{a=1,b=4,c,d,e}Whatisthevalueofe?

(a)7
(b)4
(c)5
(d)15
(e)3

11.Theveryfirstprocesscreatedbythekernalthatrunstillthekernalprocessishaltsis

http://placement.freshersworld.com/ibm-placement-papers/placement-paper/3313630

5/13

12/29/2016

IBM Placement Paper Contributed by Asta Singh

a)init
b)getty
c)both(a)and(b)
d)noneofthese

Answer:(a)

12.Thevaluesofshares(inRs).ofA,BandCfromJanuarytoJuneareasfollows.
MonthABC
January306080
February356585
March457565
April407582
May557585
June507580

i)Duringthisperiodwhichsharehasundergonemaximiumfluctuation?
ii)InwhichmonthitispossibletobuyBandCsellingA?
iii)Inwhichmonththesharevaluesareverylow?
iv)BypurchasingoneshareofAand4eachofBandCinthebeginningoftheperiod,whenshoudlthesebesoldtogetmaxim

13.InUNIXafilesinode......?

Answer:Isadatastructurethatdefinesallspecificationsofafilelikethefilesize,numberoflinestoafile,permissionsetc.

14.TheUNIXshell....

a)doesnotcomewiththerestofthesystem
b)formstheinterfacebetweentheuserandthekernal
c)doesnotgiveanyscopeforprogramming
d)deosnotallowcallingoneprogramfromwithinanother

Answer:(b)

15.Inaclass,except18allareabove50years.15arebelow50yearsofage.Howmanypeoplearethere

http://placement.freshersworld.com/ibm-placement-papers/placement-paper/3313630

6/13

12/29/2016

IBM Placement Paper Contributed by Asta Singh

(a)30
(b)33
(c)36
(d)noneofthese.

Answer:(d)

16.WhichofthefollowingAPIisusedtohideawindow

a)ShowWindow
b)EnableWindow
c)MoveWindow
d)SetWindowPlacement

Answer:(a)

17.Outputofthefollowingprogramismain()

{inti=0
for(i=0i<20i++)
{switch(i)
case0:i+=5
case1:i+=2
case5:i+=5
defaulti+=4
break}
printf("%d,",i)
}
}

a)0,5,9,13,17
b)5,9,13,17
c)12,17,22
d)16,21
e)Syntaxerror

Answer:(d)

18.Whatistheouptutinthefollowingprogram

http://placement.freshersworld.com/ibm-placement-papers/placement-paper/3313630

7/13

12/29/2016

IBM Placement Paper Contributed by Asta Singh

main()
{charc=64
inti=32
unsignedintu=16
if(c>i)
{printf("pass1,")
if(c<u)
printf("pass2")
else
printf("Fail2")
}
else
printf("Fail1)
if(i<u)
printf("pass2")
else
printf("Fail2")
}

a)Pass1,Pass2
b)Pass1,Fail2
c)Fail1,Pass2
d)Fail1,Fail2
e)Noneofthese

Answer:(c)

19.Thecommandgrepfirstsecondthird/usr/you/myfile

a)printslinescontainingthewordsfirst,secondorthirdfromthefile/usr/you/myfile
b)searchesforlinescontainingthepatternfirstinthefilessecond,third,and/usr/you/myfileandprintsthem
c)searchesthefiles/usr/you/myfielandthirdforlinescontainingthewordsfirstorsecondandprintsthem
d)replacesthewordfirstwiththewordsecondinthefilesthirdand/usr/you/myfile
e)Noneoftheabove

Answer:(b)

20.Intheprocesstableentryforthekernelprocess,theprocessidvalueis

(a)0
(b)1
(c)2
http://placement.freshersworld.com/ibm-placement-papers/placement-paper/3313630

8/13

12/29/2016

IBM Placement Paper Contributed by Asta Singh

(d)255
(e)itdoesnothaveaprocesstableentry

Answer:(a)

21.Whatwillthefollowingprogramdo?

voidmain()
{
inti
chara[]="String"
char*p="NewSring"
char*Temp
Temp=a
a=malloc(strlen(p)+1)
strcpy(a,p)//Linenumber:9//
p=malloc(strlen(Temp)+1)
strcpy(p,Temp)
printf("(%s,%s)",a,p)
free(p)
free(a)
}//Linenumber15//

a)Swapcontentsofp&aandprint:(Newstring,string)
b)Generatecompilationerrorinlinenumber8
c)Generatecompilationerrorinlinenumber5
d)Generatecompilationerrorinlinenumber7
e)Generatecompilationerrorinlinenumber1

Answer:(b)

22.Whatwillberesultofthefollowingprogram?

voidmyalloc(char*x,intn)
{x=(char*)malloc(n*sizeof(char))
memset(x,\0,n*sizeof(char))
}
main()
{char*g="String"
myalloc(g,20)
strcpy(g,"Oldstring")
printf("Thestringis%s",g)
}

http://placement.freshersworld.com/ibm-placement-papers/placement-paper/3313630

9/13

12/29/2016

IBM Placement Paper Contributed by Asta Singh

a)Thestringis:String
b)Runtimeerror/Coredump
c)Thestringis:Oldstring
d)Syntaxerrorduringcompilation
e)Noneofthese

23.Whichofthefollowingfunctionisusedtorepaintawindowimmediately

a)Sendmessage(hWnd,WM_PAINt,......)
b)InvalidateRect(.......)
c)MoveWindow
d)WM_COPY
e)None

24.WhichfunctionistheentrypointforaDLLinMSWindows3.1

a)Main
b)Winmain
c)Dllmain
d)Libmain
e)None

Answer:(b)

25.Thestandardsourceforstandardinput,standardoutputandstandarderroris

a)theterminal
b)/dev/null
c)/usr/you/input,/usr/you/output/,/usr/you/errorrespectively
d)None

Answer:(a)

26.Whatwillbetheresultofthefollowingprogram?
main()
{charp[]="String"
intx=0
if(p=="String")
{printf("Pass1")if(p[sizeof(p)2]=='g')
printf("Pass2")
http://placement.freshersworld.com/ibm-placement-papers/placement-paper/3313630

10/13

12/29/2016

IBM Placement Paper Contributed by Asta Singh

else
printf("Fail2")
}
else
{
printf("Fail1")
if(p[sizeof(p)2]=='g')
printf("Pass2")
else
printf("Fail2")
}
}

a)Pass1,Pass2
b)Fail1,Fail2
c)Pass1,Fail2
d)Fail1,Pass2
e)syntaxerrorduringcompilation

27.Whichofthechoicesistrueforthementioneddeclaration?

constchar*pand
char*constp

a)Youcan'tchangethecharacterinboth
b)First:Youcan'tchangethecharacterr&Second:Youcantchangethepointer
c)Youcan'tchangethepointerinboth
d)First:Youcan'tchangethepointer&Second:Youcan'tchanagethecharacter

28.Theredirectionoperators>and>>

a)dothesamefunction
b)differ:>overwrites,while>>appends
c)differ:>isusedforinputwhile>>isusedforoutput
d)differ:>writetoanyfilewhile>>writeonlytostandardoutput
e)Noneofthese

Answer:(b)

29.Inthefollowingcodesegmentwhatwillbetheresultofthefunction,valueofx,valueofy
{unsignedintx=1
inty
y=~0
http://placement.freshersworld.com/ibm-placement-papers/placement-paper/3313630

11/13

12/29/2016

IBM Placement Paper Contributed by Asta Singh

if(x==y)
printf("same")else
printf("notsame")
}

a)same,MAXINT,1
b)notsame,MAXINT,MAXINT
c)same,MAXUNIT,1
d)same,MAXUNIT,MAXUNIT
e)notsame,MAXINT,MAXUNIT

Answer:(a)

30.PATH=/bin:/usr:/yourhomeThefile/bin/calenderhasthefollowinglineinitcal101997Thefile/yourhome/calenderhas
currentdirectoryis/yourhomeandcalenderisexecuted.

a)ThecalendarforMay1997willbeprintedonscreen
b)ThecalendarforOct1997willbeprintedonscreen
c)Thecalendarforthecurrentmonth(whateveritis)willbeprinted
d)Nothingwillgetprintedonscreen
e)Anerrormassagewillbeprinted

31.Whatwillbetheresultofthefollowingprogram?

char*gxxx()
{staticcharxxx[1024]
returnxxx
}
main()
{char*g="string"
strcpy(gxxx(),g)
g=gxxx()
strcpy(g,"oldstring")
printf("Thestringis:%s",gxxx())
}

a)Thestringis:string
b)Thestringis:Oldstring
c)Runtimeerror/Coredump
d)Syntaxerrorduringcompilation
e)Noneofthese

Answer:(b)
http://placement.freshersworld.com/ibm-placement-papers/placement-paper/3313630

12/13

12/29/2016

IBM Placement Paper Contributed by Asta Singh

GetinTouchwithus

(https://www.facebook.com/freshersworld)
(http://twitter.com/freshersworld)
(http://www.linkedin.com/company/freshersworl
(https://plus.google.com/+freshersworld)
(https://www.youtube.com/user/fresh
com)

AboutUs(http://www.freshersworld.com/aboutus) Blog(http://blog.freshersworld.com) FAQs(http://www.f

AdvertiseWithUs(http://www.freshersworld.com/advertise) RecruitmentSolutions(http://corp.fresherswo
ContactUs(http://www.freshersworld.com/contactus)
20062016Freshersworld.com

http://placement.freshersworld.com/ibm-placement-papers/placement-paper/3313630

13/13

You might also like