ibm jagan[www.placementpapers.net]

Upload: skasc11bca122

Post on 04-Jun-2018

223 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/13/2019 Ibm Jagan[Www.placementPapers.net]

    1/22

    IBM came here in BIT on 9th july..the questons where very easy ..there were only 40 questons to be done in 60 minutes .. so enoughtime ..right!!20 Aptitude and 20 technical( C , unix , sofwtare engg,computer n/w)

    the questions which i rememeber are ..6 equal cubes set line by line there . and the perimeter of therectangle formedwas given.. and u have to find the area of eachsquare.

    2.A man sells some item at some amount to which he losses 3 or 5 %(didn't remmeber much) u have to find to how much amount he shouldsell the item to gain the profit of 10%.4 or 5 logical questions.like in certain place there are two kind of official lives type Aand type B ,. type A says only yes while type B only says NO.... answer them carefully .rest of the questions where easy.

    ..technical ..

    1. in C the diff in 123 and 0123 is what (ans -40)2.in how can u append the ls and who to certain existing file (likethat)3. what si s/w configuraton mgt.4. which protocol is neede for error in n/w (ans-SNNMP)

    IBM 2003 paper

    The question paper contains 2 sections, totally 40 questions. The time alloted is one Hr.

    Section 1 : General Aptitude - 20 questions

    Section 2 : Technical - 20 questions

    There is no negative marking.

    Aptitude section:==================

    1. Time problem - Three persons A,B,C are waiting for Train.A has to wait for sometime twice the time b has to wait.B has to wait till 4:48 and c has to wait 4:57. What is the time now?(I'm not sure abt the question, but the answer is correct).

    Ans : is 4.39

    2.Problem on probability - What is the probablity of two persons among the four having birthday in he same month?

  • 8/13/2019 Ibm Jagan[Www.placementPapers.net]

    2/22

  • 8/13/2019 Ibm Jagan[Www.placementPapers.net]

    3/22

    Ans : 8

    11. A squirrel problem : I dont know the problem exactly.

    Ans :

    12. Some people are standing square. From them 32 are removed and then form a small square and then 8 more removed. now we cannot form the square. so how many people are there at the beginning?

    Ans : 81

    13. A grandpa's age is sum of his four grandsons provided that the grandsons' ages are consecutive in number. Then what is the age of the grandpa?

    Ans : 78

    14.If 20 men can build a wall 56m long in 6 days, then what length of a similarwall can be built by 35 men in 3 days?

    Ans : 49

    15. If m power n = 121, then what is the value of (m-1) power (n+1)?

    Ans : 1000

    16. What is the condition for a singular matrix?

    Ans : All values of a row are 0 and all values of a column are 0.Note: For a matrix A, to be singular, The determinant value of that matrix should be 0,ie, |A|=0

    17. At 12 noon, Both hands of a clock meet together.After how many minutes can they meet again?

    Ans : 65:45min

    18. The average of first 50 natural numbers?

    Ans : 25.5

    19. There is 20 litre solution containing 10% water and 90% spirit. How much water should be added to make the solution containing 25% water?

    Ans : 4 litres.

    20. There are 20,6 and 9 rupees notes. you have to form 99 rupees with minimum number of notes.At what minimum number of notes you can achieve this?

    Ans : 8

    Technical:==========

    1. An attribute in a table that is related with primary key of the another table is called...

    Ans : Foreign key

  • 8/13/2019 Ibm Jagan[Www.placementPapers.net]

    4/22

    2. The scope of the static varaible is...

    Ans : function

    3. Which of the following has the function scope?

    A.Automatic B.Static C.Global D.Goto label E.All the above

    Ans : E.All the above

    4. Which one of the following is not related with files?

    A. fopen B. fclose C. freopn D. fftell E. none Ans: D

    5. Which one of the following is not a keyword?

    A. volatile B. inc C. sizeof D. default E. none Ans : B

    6. Rom is

    Ans : non Volatile, cannot be changed and it contains boot up program.7. How many different binary trees can be formed by 4 nodes?

    Ans : 12 Note:(2 power n) nJagan- ans: 14 (quetion 25 in 191 page)

    For 3 nodes ans is 5.

    8. char *p = (char *)10 means A.It points to the value at address 10. B.It returns the character whose ASCII value is 10.

    Ans : A

    9. Running time of a function f(n)=8T(n/2)+qn for n>1, where q is a constant...

    Ans : n power 3. (Check the answer)-correct

    10. Order of Bubble sort

    Ans : O(n power 2)

  • 8/13/2019 Ibm Jagan[Www.placementPapers.net]

    5/22

    11. Writing comments

    A.Increases .exe file size. B.Is a good programming practice. c.Takes more compilation time. Ans : B.Is a good programming practice.

    12. Convert the following decimal number into Hex number... 10767

    Ans : 2A0Fh

    13. Vector processing means

    Ans : Processing the column vector elements parallelly.

    14. Constant member function can be loaded with

    A. Constant member function. B. Static member function. C. Cannot be overloaded.

    Ans : C. Cannot be overloaded.

    15. By using which of the following functions, we can access the members of thetwo instances of a same class

    A. Member function. B. Friend function C. Both A and B. D. Neither A nor B. E. none.

    Ans : C. Check the answer

    16. Exception specification is in c++ to provide A. Documentation

    B. Object orientedness C. Error handling

    Ans : c( jagan) check it

    17. Which one of the following is a parse generator?

    A. YaCC B. Lex C. Vi D. Emac E. none

    Ans : YaCC

    18. In a communication model, we can communicate in both directions, but only one at a time. So the system is called

    A. Simplex B. Half duplex C. Full duplex D. none.

  • 8/13/2019 Ibm Jagan[Www.placementPapers.net]

    6/22

    Ans : Half duplex.

    Notes : Since the question paper is very simple one and there is no ve marking, 30+ wud be the good mark.

    All the very Best.

    fromjagan

    haiI wrote IBM paper today ( 29th sep 2003)at PESIT, Bangalore

    2 Sections

    1. Aptitude 2. Technical

    Time : 60 mins

    both papers will be in our hand intially, so we can divide time in what ever waywe want.

    Aptitude :

    1. like 3 consecutive prime adds to some no what is that ans: both 49 and 59.

    2. one persont travlled 4 laps with the speed of 10,20,40 ( or 30) and 60 kmph and what is the average speed. ans: 20 (sure)3.like one student takes 20 mins if he go with speed 15kmph and at what speed he

    should go to reach in 15 mins ( nos are not same) ans: 16kmph( but not sure)4. there are 2 type of people group 'yes' who always says yes ( they never say

    'no') if they are not sure about they will remain sailent. and other grou name 'no' where the group of people always say 'no' if they are not sure they will remain silent. thats it now quetions are

    1) what will be the answer if i ask are u belong to group 'yes' options are: they remain silent ,say yes, say no, either yes or no, can'tbe determined

    2) same quetion but if i ask are u belong to group 'no'

    answers for both above quetions are not ( not determined) 3) what will the other person say if ask are u belong to grou 'yes' and etc there were 5 quetions first 4 u can do it last one little bit tough. spend some time on this u can do it.

  • 8/13/2019 Ibm Jagan[Www.placementPapers.net]

    7/22

    9.like from height of 8 mts on ball fell down and each time it bounces half the distnace back. so what will be the distance travelled ans: 24 (sure) like 8+4+4+2+2+1+1+0.5+0.5+ and etc .. answer is not 2010.like 6 cubes are arranged adjacentlay and given the perimeter and aksed to find the perimeter of one cube. ans: if x is the total perimeter then (x/14)*4 leads to the answer. but check it once u will be having plenty of time. answer is 52 (13*4)

    11. some data is given like this 10kmph in still water ship took some x mins and downstream some y mins in same time what is the stream value .... (q is not exat) ans: 3 (not sure)

    12.some average problem like 16 students average weight and teacher joins them .... ans: 23 (sure) do this (16x+40)/(x+1) will give the value.

    13. some probelm on square like to increase area by 69% by what percent side should be

    incresed ans: square root of 169 i.e 13 ( not sure)

    14. no of rational nos b/w 0 and 5 ans: infinite15. First day of 1999 is sunday what day is the last day ans: monday

    16.bullets probel some x no of bullets are shared by 3 people equally . and each fired

    4 bullets then the sum of remaining bullets is equal to intially divsion value ans: 18 (sure)

    17. bread problem, one come and eat half no of breads and somthing... ans: 63( check it)

    18. like A can do in 6 day and B can do in 8 and C can do in 12 days but b leftafter working for 6 days for how many no of day A and C shluld work ans: 11( i dont think so this is correct)

    Technical

    1. what is vector processingans: i dont no

    2. what is data integrity

  • 8/13/2019 Ibm Jagan[Www.placementPapers.net]

    8/22

    ans: option a ( like the range of values is defined by data integrity)

    3.which topology takes minimum wiring options: star,bus,ring and complete etc ans: find it from network text book ( may be bus or ring)

    4.best sorting if elements are already sorted ans: insertion sort(sure)

    5.software configuration management ----- ans: option a ( but check it from SE text book there are only 2 confusing answers)

    6.In network the packers are flowing unnecessarly what is the way to control it and .... options: SNMP, and some i dont remember.

    7.some octal no to decimal conversion for given octal no the last digit was 7 ans: the option a ( the decimal last digit was 1)

    8.x-=y+1 is equivalant to ans: x=x-y-1 (sure) because it is interpreted as x=x-(y+1)9. in a student form what is the relationship b/w student and course

    ans: actually it is many to one but they specified in a student form so think and write.

    10.which is correct to append the ouput of ls and who to some file x. ans:(who;ls)>>x (check it)

    11.what is trigger in DBMS (know what it will do) like whether file will be created if it s not there can we write to file ...

    12.what happens when we open a file in r+ mode

    13. what is ROM ans: it contains boot up program and it is not accesible

    that was one answer and anothe option was it is non volatile ( choose one among these 2)14. what is int (*a)[4] ans: pointer to an array of 4 integer (check it)

    15. primary key of anothe table is present and so on.......... ans: foreign key

    16. what is the diffirenece b/w 0123 and 123 in c? ans:40(sure)

    17. which among the devices is spooled device ans: printer(correct)

    18. if u get error in adapter which device will u use? ans: contact electronics student. one of the option was voltometer.

  • 8/13/2019 Ibm Jagan[Www.placementPapers.net]

    9/22

    thats it i remember

    dont email me for further clarifications because i typed what all i know.

    but one thingthey are changing papers but the quetions will be from previous quetionpapers combined.

    i am in Computer Science Branchtake the advantage of branch for CS brach people.--------for girls just get 25 in written for 40. and talk something in tech and HR u will be in best opportunity for girls its like 50% reservation for girls.---------and the pay package is 2.75 lakh per annum.

    the cut off is 30

    final word: dont go blindly with this answers to exam conform all the answers and then share this paper with all of u'r friends. they(IBM) need people badly

    so if all of u'r friends do well all of u will be in.

    Interview:it depends upon the Panelbe perfect with u'r mini project.

    HR quetions:1. why 2+2 is 4 why not 5.

    ans: assume u took 2 apples from A and 2 more apples from B and assume u are having 5 and give 2 to X and give 2 more to Y then nothing will be with u i.e u

    lossed. (give some answers but dont say that it is like that)2. why IBM

    and etc .........

    Best Of LUCKfromJagannatha.M ([email protected])CS&EPESIT, Bangalore.

    1. If A can do a particular work in 8 days. B can dothe work in 6days. By C joining with them, they can finish the work

  • 8/13/2019 Ibm Jagan[Www.placementPapers.net]

    10/22

    in 3 days.If Rs.640 was paid to them, what is the share of C?

    ans: 1/8 :1/6 : 1/24 nothing but 3:4:1 so the answer is 80 Rs (sure)(raju)

    2. By selling a product a seller is gaining 10% onselling price.If he sell that product Rs.80 less, he would have beenlosing 10%.What is the cost price?

    answer for this is 400(sure)(raju)

    3. If A driver drives a car four times a lap 10,2030,60 kmph whatis his average speed.

    20 kmph(90% sure but check it)

    4. If M persons are going for a party, then theirshare is $D. Ifthree persons were absent, then how much share will be

    increasedfor each individual.shortcut answer: take 2 values for M and D ,substitiute and see the reslut .(Solution : Average = D/M. Three absent New average =D/M-3Increase = Newaverage - Average = D/M-3 - D/M )(The answer for this is option 3100% sure)

    5. The radius of the seed is half the radius of thefruit , by what factor is the volume of the pulpgreater than that of the seed?( i think 7 times )(sure)(raju)

    6. One person is wearing Black and White shoes as hispair. If heis having 20 white and 20 Black shoes. What will bethe lessnumber of time he have try to take his correct pair ofshoes.

    answer is 20 but not 21(be careful)

    7. The age of the grand father is the sum of his threegrandsuns.The second is 2 year younger than first one and thethird one is 2year younger than the second one. Then what can bethe age of thegrandfather.choices:77 , 83 , 81 ,89 ... ( ans 81 , which isdivisible by 3 )(sure)(raju)

  • 8/13/2019 Ibm Jagan[Www.placementPapers.net]

    11/22

    8. in a grass field, If there are 40 cows, they couldeat for 40days. If there are 30 cows, they could eat for 60days. Than if 20cows, How much day they could eat?(ans: for the decrease of each 10 cows , the daysincreases by 1.5%)

    answer is 90 days(sure)

    9. If the size of the fruit is two times the size ofthe seed.Then what is the volume of the seed. (derive generalequation)(sorry i did not attempt this question)(raju)

    10. Speed of boat in still water 10 kmph.If the boattakes 24hr in up stream and 14hr in down stream to cross the samedistance, then what will be the distance covered.(ans : speed of stream = 3 km/hr )(correct) (raju)

    11. How many times do the hands of the clock coincidein a day?

    (22)12. If a person is standing in room, that is havingmirrors in allthe four walls. How many images of the person willappear.

    answer is infinite(90 % sure ) but confirm it

    13. 5 questions on data interpretation ...very simple a pie chart is given where the angle included bythe sector indicates the marks got in each subject .

    the total marks is 540 , and u have to find the markssecured in each subject.( ans: to get the marks for each subject , multiplythe angle by 540/360 or 3/2 )

    ans: refer page no: 510 in r.s.agarwal.(yes all the five questions)

    18. 65% of something lost something , 75% of somethinglost something , 85% of something lost something , howmany of them lost all? (sorry jagan i dont know the answer for this and i didnt attempt)

    19) If the radius of the sphere is increased by 50% then the increase in volumeis

    answer is choice A(227%) (sure) anser is (237.5)

    20) which of the following are sum of consequetive sequece of prime mo's

    ans:9 (13+17+19)

    Technical.

  • 8/13/2019 Ibm Jagan[Www.placementPapers.net]

    12/22

    1. main(){printf("%u",main);}what will be the output?

    ans: address of function main

    2. main(){int l,b;int con;1=b=2;con =(b==2) ? 1 : 0;printf("%d",con);}what will be the value of con? ans: 13. Software Configuration Management process is

    --------------( choice a -- very very sure!)(raju)(1 is correct)

    4. Data Integrity constraint is ---------------------- option 3 which is very big and i think it is correct;

    5. Paging is ------------------------ option A; sure

    6. What type of memory could be accessed in leasttime?( ans:: not magnetic buble but cache )

    7.the operator which is not left associative ( = )(sure)(raju)

    8.question on consisting of char * const p1 ="something"char const * p2 = "something " and quesiton on thisquestioning the validity like p1[0]='a';p2="aaa" ; ansso on ( ans : answer is 2&3(b) )

    9.which of the following cannot interrupt a process?

    a>ctrl+cb>devicec>timerd>IOe> scheduler process (answer may be b or e i dont know exactly confirm it)

    10> the processor concurrently switches b/w variousprocesses thru ->a)timesharing

  • 8/13/2019 Ibm Jagan[Www.placementPapers.net]

    13/22

    b)multitaskingtimesharing (ok)(sure) correct(raju)

    11> which is best suited for rapid product design ?a>waterfall modelb>spiralc>prototype modeld>incremental model

    ans is incremental model (sure)(raju)

    11> what is the output of the following program?

    void main() {

    printf("%x", -1>>4);

    }

    12> What is the time complexity of gaussain elemination method? please check the time complexity i dont know the answer(ok).

    13>There are five files each consisting of 10,20,15,5,25(These numbers are not c

    orrect but a sample). what are the minimun no of comparisons required to arrange them in order? for merge sort

    ans: 75 (I dont know the answer.)

    14> For sorting a structure which of the following is the best?

    a> storing it in an array and sort. b> using pointers for soting. c> using linked list d> using reference to pointers

    e> all the above. ans: I wrote the answer as (c) but please confirm it.

    15. inorder can be implemented asa.dfs

    b.bfs c.none

    16. which of the following is real time system example? ans: robotics control of machine

    18. if a system is built with indipendent sub system then

    a. testing becomes complex b. testing complexity remains same. ans: c. testing becomes easier

    19. The binary equivalant of .4375 is 0.111 , 0.0100,0.0111, 0.0101 , noneans: .0111

    20. there are n processes with known processing times to be run on a single processor machine which results in maximum throughput ?

  • 8/13/2019 Ibm Jagan[Www.placementPapers.net]

    14/22

    a.fcfs b.sjf c.rr d. none ans:sjf(raju)

    21.a complete binary tree such that value at each node is atleast as large as value of its children is

    a. binary tree b. avl tree c. balanced tree d. complete tree e. heapans: heap.

    [email protected]

    thats it i remember

    dont email me for further clarifications because i typed what all i know.

    but one thingthey are changing papers but the quetions will be from previous quetionpapers combined.

    i am in Computer Science Branchtake the advantage of branch for CS brach people.--------for girls just get 25 in written for 40. and talk something in tech and HR u will be in best opportunity for girls its like 50% reservation for girls.---------and the pay package is 2.75 lakh per annum.

    the cut off is 30final word: dont go blindly with this answers to exam conform all the answers and then share this paper with all of u'r friends. they(IBM) need people badly

    so if all of u'r friends do well all of u will be in.

    Interview:it depends upon the Panelbe perfect with u'r mini project.

    HR quetions:1. why 2+2 is 4 why not 5.

    ans: assume u took 2 apples from A and 2 more apples from B and assume u are having 5 and give 2 to X and give 2 more to Y then nothing will be with u i.e u lossed. (give some answers but dont say that it is like that)2. why IBM

  • 8/13/2019 Ibm Jagan[Www.placementPapers.net]

    15/22

    and etc .........

    Best Of LUCKfromJagannatha.M ([email protected])CS&EPESIT, Bangalore.

    Help | LOGOUT

    Mail On Mobile: See a Demo | Know More | Price | Get Rediffmail on 7333 Feedback

    SMS Services

    Send SMS To any mobile in India and US

    Get Alerts On your mobile when you receive important mails

    Mail Anytime, Anywhere

    On Your Mobile Free! Receive and send mail from your mobile phone

    On Your Desktop Get, read & write Rediffmail in

  • 8/13/2019 Ibm Jagan[Www.placementPapers.net]

    16/22

    Outlook Express, Netscape etc

    Read Your Other Mails Get mails from your other accounts into Rediffmail

    Forward Your Mails Auto Forward Rediffmail to other mail accounts

    Sponsored LinkLooking for Jobs ?Top employers here >

    Move to Folder Trash Sent Messages Drafts Back to Inbox

    From: Ashutosh Add to Address Book | This is spam

    To: Subject: FW: IBM Questions(fwd)

    Date: Wed, 17 Sep 2003 17:05:10 IST

    Note: Some of the images in this email may have been blocked to protect your

    privacy.Click here to show all the images.

  • 8/13/2019 Ibm Jagan[Www.placementPapers.net]

    17/22

  • 8/13/2019 Ibm Jagan[Www.placementPapers.net]

    18/22

    int main(){

    printf("%d",main); } what this code prints

    2) on ternary operator ie ? : operator

    3)printf(" %x" -1>>4); Ans ffffffff

    5) on const char *p and char const *p

    They given some declaration and done 4 operations on declared variables and asked which are valid ones.

    6) guasiaan complexity

    asked Complexity of guassian elimination method

    7) mergesort minimum no of movements for given files withrecored

    given10, 5,6,17,30 records and asked minimum nomovements

    needed (Offcourse numbers are different...)

    8) software configuration management

    given choices to pick correct one

    9) which one is quick delivery model

    (Prototypr model )

    10)on Paging two questions 11)on complete binary tree

    12)on data Integrity

    13) Depth first can be achieved through which traversal 1)inorder 2)preorder 3)postorder 4)none

    14) one more question on Complexity of solving linear

    equationsusing Guassian theorm 1) n square 2) n cube 3) n 4) log n

    13)

  • 8/13/2019 Ibm Jagan[Www.placementPapers.net]

    19/22

    14) 15) 16) 17) 18) 19) 20)

    Pass on the Information to all (Especially the ones who are not

    yetselected )

    Thanks and Regards, Chandra Sekhar Reddy.

    --

    1. If A can do a particular work in 8 days. B can dothe work in 6days. By C joining with them, they can finish the workin 3 days.

    If Rs.540 was paid to them, what is the share of C?ans: 1/8 :1/6 : 1/24 nothing but 3:4:1 so the answer is 67.50 (check)

    2. By selling a product a seller is gaining 10% onselling price.If he sell that product Rs.80 less, he would have beenlosing 10%.What is the cost price?

    3. If A dricer drives a car four times a lap 10,20

    30,60 kmph whatis his average speed.

    4. If M persons are going for a party, then theirshare is $D. Ifthree persons were absent, then how much share will beincreasedfor each individual.shortcut answer: take 2 values for M and D ,substitiute and see the reslut .

  • 8/13/2019 Ibm Jagan[Www.placementPapers.net]

    20/22

  • 8/13/2019 Ibm Jagan[Www.placementPapers.net]

    21/22

    secured in each subject.( ans: to get the marks for each subject , multiplythe angle by 540/360 or 3/2 )

    ans: refer page no: 510 in r.s.agarwal.

    14.65% of something lost something , 75% of somethinglost something , 85% of something lost something , howmany of them lost all??

    Technical.

    1. main(){printf("%u",main);}what will be the output?

    657 (in jagan comp)ans: address of function main

    2. main(){int 1,b;int con;1=b=2;con =(b==1) ? 1 : 0;printf("%d",con);}what will be the value of con? ans: 0 (if 1 in declaration compiler error)

    3. Software Configuration Management process is

    --------------( choice a -- very very sure!)

    4. Data Integrity constraint is ----------------------

    5. Paging is ------------------------

    6. What type of memory could be accessed in leasttime?( ans::magnetic buble )

    7.the operator which is not left associative ( = )

    8.question on consisting of char * const p1 ="something"char const * p2 = "something " and quesiton on thisquestioning the validity like p1[0]='a';p2="aaa" ; ansso on ( ans : none of the operations are valid ,because char * s are allocated constant memory area...refer to c-faq by steve sumeet )

  • 8/13/2019 Ibm Jagan[Www.placementPapers.net]

    22/22

    //jaganconst char *q="Hello"*q='m'; //errorq="bye"; //works

    same thing forchar const *s="Hello"//jagan

    9.which of the following cannot interrupt a process?a>ctrl+cb>devicec>timerd>IO( i think it's device , like a monitor obviouslycannot interrupt the process )

    10> the processor concurrently switches b/w variousprocesses thru ->a)timesharing

    b)multitasking.... the choices are very confusing , i feel it'stimesharing (ok)

    11> which is best suited for rapid product design ?a>waterfall modelb>spiralc>prototype modeld>incremental model( not sure confirm it !)I know this much only.ALL THE BEST.