A portal called Indiahires.in helps job candidates get ready for their interviews with IBM, one of the top businesses in the technology sector. Candidates can better understand the kinds of questions they can anticipate during their interview process by accessing the website’s extensive collection of the most recent IBM interview questions. Candidates are strongly encouraged to often check the website to keep current on the most recent IBM placement questions and to completely prepare for their future interviews. Candidates can improve their chances of landing a job with IBM by doing this.

- IBM Arithmetic paper
Visit the website indiahires.in if you want to find the most recent IBM placement papers. You get access to the most recent IBM placement papers on this website. You may simply get the most current IBM placement questions by going to indiahires.in. Thus, you should certainly visit indiahires.in if you want to keep current with the most recent IBM placement questions.

**Q1. Express a speed of 54 km/hr in meters/second.****ANS:**25 m/sec**Q2. A car can cover 350 km in 4 hours. If the speed is decreased by 12 1/2 kmph,how much time does the car take to cover a distance of 450 km?****ANS:**4 hrs SP**Q3. A person covers a certain distance at a he es 1 increases his speed by 25% then he take minutes less to cover the same distance. Find the time He by him initially to cover the distance at the original speed****ANS:**7 hrs O**Q4. A car covers a certain dice going at a speed of 60 kmph and returns to the st g point at a speed of 40 kmph. Find the average speed whole journey.****ANS:**48 kmph.**Q5. What is the time taken by a train running at 54 km/hr to cross a standing on a platform, the length of the train being 180 m?****ANS:**12 seconds**Q6. How long will a train 100 m long and travelling at a speed of 45 kmph, take to cross a platform of length 150 m?****ANS:**27 sec**Q7. Find the length of the bridge, which a train 120 m long travelling at 54 kmph can cross in 30 seconds.****ANS:**350 m**Q8. A worker reaches his work place 15 minutes late by walking at 4 kmph from his house.The next day he increases his speed by 2 kmph and reaches in time. Find the distance from his house to his workplace****ANS:**8 km**Q9. A person leaves his house and travelling at 4 kmph reaches his office 10 minutes late.Had travelled at 7 kmph he would have been 20 mins early. Find the distance from the house to the office? —****ANS:**14/3**Q10. Find the en by a train 150 m long running at a speed of 63 kmph to cross another train of length 100 m long running at ph in the same direction****ANS:**75 Seconds**Q11. A train crosses two persons, cycling in the same direction as the train in 12 and 18 seconds respectively.If the speeds of the two cyclists are 9 and 18 kmph respectively. Find the length and speed of the train.****ANS:**98 m**Q12. Two trains running at 45 and 54 kmph cross each other in 12 seconds when they run in opposite directions. When they run in the same direction, a person in the faster train observes that he crossed the other train in 32 seconds. Find the lengths of the two trains****ANS:**450**Q13. Two trains of length 150 m and 250 m run on parallel lines.When they run in the same direction it will take 20 seconds to cross each other and when they run in opposite direction it will take 5 seconds. Find the speeds of the two trains.****ANS:**272 and 211**Q14. I had to catch about us which was 225 m ahead of me.The bus also started at the same time. If the speed of the bus was 2.5 m/sec and myspeed was 36 kmph,in how much time can i catch the bus?****ANS:**20 seconds**Q15.The distance from my house to my friends house is 12 km. walked at a speed of 4 kmph and after every kilometre took rest for 10 mins.How much time did it take for me to reach my friends house?****ANS:**4 hrs and 50 mins**Q16. A train covered a distance of 250 km, partly at an average speed of 40 kmph and partly at 60 kmph.Find the distance convered at 40 kmph if it took 5 hrs for the train to covert distance.****ANS:**120 km Q**Q18. A bus covered a distance of 160 km in 4 hrs covering a part of it at 30 kmph and the remaining at 70 much time did the us travel at 70 kmph?****ANS:**11/2 hs**Q19. A car takes 2 hours more a distance of 480 km when its speed is reduced . Find its usual speed****ANS:**55 kmph**Q20. A person covered the first 40 km of his journey at 50 kmph,the next 70km at 35 kmph and the remaining distance in 12 mins.If the average speed of the entire journey is 52 kmph.Find the distance covered in the last stretch of the journey.****ANS:**34 km**Q21. A train takes 10 seconds to cross a man standing on a platform and 44 seconds to cross the platform.What is the length of the platform.What is the length of the platform if the speed of the train is 72 kmph?****ANS:**440 m**Q22. A train travelling at 36 kmph takes 48seconds to cross a bridge. It then crosses a man cycling at the rate of 9 kmph in the same direction in 20 seconds. Find the length of the bridge****ANS:**64 kmph**Q23. A train crosses two bridges 370 m and 480 m long in 51 and 62 seconds respectively. Find the speed of the train.****ANS:**64 kmph**Q24. A man started 15 minutes late and by travelling at a speed which is 5/4th of his usual speed reached hi office 20 mins early.What is the usual time of the journey****ANS:**100 mins**Q25. A parachutist, before he open his parachute, falls for a time t1, and covers a distance 2 and after he opens his parachute he falls : 2 and covers a distance Vtz.V. is the velocity attained just before the parachute is opened and is given by 5t1.After what time did he open the parachute,if the total distance covered by the parachutist is 1500m and the total time is 30 seconds?****ANS:**20 seconds**Q26. Akash, Anurag and Rishab are running around a circular track of length 900 m with respective speeds of 15 m, 20 m and 30 m/sec.Akash and Anurag are running in the same direction while Rishab is running in the opposite direction.After how much time will all the three of them meet for the first time?****ANS:**120 seconds**Q27. A police patrol party travelling at 60 kmph crosses an escaping thief travelling in the opposite direction at 48 kmph.The police party has to travel for a further 5 minutes before it Can find a gap in the median where it can take a Uturn and start chasing the thief. After how much time after the police party crosses the thief does it catch him?****ANS:**32 mins**Q28. In a 1000 m race A reaches the goal 5 seconds earlier and beats B by 50 m.What is As speed?****ANS:**1010/19 m/s**Q29. Two points A and B are rically opposite points on a circular road of circumference 12 km. A cyclist started from A and made three rounds. He made the first round with a speed of 12 kmph and decreased his speed by 3 kmph for every round. What is the interval between the first time he passes through B and the third time he passes through B?****ANS:**100 mins**Q30. Two men left simultaneously two places A and B.One of them left A for B while the other left B for A.Both travel each at his own uniform velocity.The first person on reaching B returns to A and then again travels bach to B and so on.What will be the distance covered by the first person when they meet for the third time given the ratio of the speed of the first person to that of the second person is 3:2 the distance between A and B is 500 m?****ANS:**1500 m**Q31. A person takes 6 hours to go by car to a certain place and return by bus. He gains 2 hrs if he goes both ways by car. How long would he have taken if he had gone by bus both ways?****ANS:**6 hrs**Q32. Car A and car B are travelling on two perpendicularly ads towards city C with equal speeds. car A starts from a distance of 100 km at 11 am while car B starts from a distance of 70 km at 12 noon. At 2 pm the two cars are 50 km apart what is the speed with which they are travelling?****ANS:**20 kmph**Q33. Two trains of length 200 m and 100 m simultaneously writer – a tunnel of length 300 m from opposite ends at the same time on parallel tracks. The respective speeds of the two trains are 36 kmph and 18 kmph. After how much time from the instant the two trains entered the tunnel will the tunnel be free of traffic again?****ANS:**30 seconds**Q34. Rajat had covered one third of the total distance of his trip when his scooter failed. He then parked it and covered the remaining distance on foot, spending 20 times as long walking as riding. How many times was his riding speed more than his walking Speed?****ANS:**9**Q35. Ashish and Bali run towards each other from P and O. respectively with respective speeds of 36 kmph and 45 kmph. After meeting each other if Ashish reaches Q in 5 hours, in how many hours will Bali reach P2****ANS:**3 1/5**Q36. A train of length 180 m travelling at 72 kmph over too motor cyclist travelling at 36 kmph at 4 pm. At 5 p.m. it . another cyclist travelling in the opposite direction at a speed of 18 kmph. When will the cyclist meet the motor cyclist?****ANS:**1 hr 30 min**Q37. Two men left simultaneously two places A and B. One of them left A for B and the other B for A. Both travelled each with his own uniform velocity. Having arrived at their destination, they turned back without stopping and tor.ned back to their starting points. First time they met on their own journey 18 km from B, the Second time on their 9 km from A. Find the distance AB.****ANS:**60 km**Q38.A car travel a total distance of 150 km. After travelling a part of the distance hour any trouble, the car develops an engine problem and proceeds at 2/3rd of its former speed and arrives at the destination 48 mins late. Had the problem developed 24 km further on, the car would have arrived 12 min Sooner. Find the original distance it travelled without any problem and the speed over that part of the journey.****ANS:**48km, 36kmph**Q39. Two cyclists simultaneously start from A to B and B to A respectively.They cross each other after a time t hours.The first person reaches B in another t1 hours while the second person reaches A in another t2 hours. Then****ANS:**t-2t1t2/t1+t2**Q40. Ramu starts from P towards Q at a speed of 30 kmph and after every 12 min increase his speed by 5 kmph.If the distance between P and O is 52 km, then how much time does to cover the distance?****ANS:**120 min - IBM Technical Test paper
Visit the website indiahires.in if you want to find the most recent IBM placement papers. You get access to the most recent IBM placement papers on this website. You may simply get the most current IBM placement questions by going to indiahires.in. Thus, you should certainly visit indiahires.in if you want to keep current with the most recent IBM placement questions.

**IBM Aptitude Test****Q1. In 1978, a kg of paper was sold at Rs.25/-. I f the paper rate increases at 1.5% more than inflation rate which is of 6.5% a year, then what will be the cost of a kg of paper after 2 years?**(a) 29.12

(b) 29.72

(c) 30.12

(d) 32.65

(e) None of these

**Q2. In A, B, C are having some marbles with each of them. A has given B and C the same number of marbles they already have to each of them. then, B gave C and A the same no. of marbles they have, then C gave A and B the same no. of marbles they have. At the end A, B, and C have equal no. of marbles.****(i) If x,y,z are the marbles initially with A,B,C respectively. then the no of marbles B have at the****End**(a) 2(x-y-z)

(b) 4(x-y-z) etc

**(ii)If the total no. of marbles are 72, then the no. of marbles with A at the starting**a. 20

b. 30

c. 32

**Q3. If a car starts from A towards B with some velocity due to some problem in the engine after travelling 30 km.If the car goes with 4/5 th of its actual velocity the car reaches B 45 min later to the actual time. If the car engine fails ofter travelling 45 km, the car reaches the destination B 36 min late to the actual time , what is the initial velocity of car and what is the distance between A and B in km****ANS:**20 & 130.**Q4. A person has Rs 100/- in his pocket, he can as 25 pencils or 15 books. He kept 15% of the money for travelling expenses and purchased 5 pencils.So how many books he can purchase with the remaining money.****Q5. Ten questions on analogies.****ex**: hammer : carpenter ::B knife : butcher.

**Q6. The values of shares A,B and C from january to june are as follows.B month A B C****JAN 30 60 80****FEB 35 65 85****MAR 45 75 65****APR 40 75 82****MAY 55 75 85****JUNE 50 75 80**i) During this period which share has undergone max fluctuation?

ii) In which month it is possible to buy B and C selling A?

iii) In which month the share values are very low?

iv) By purchasing one share of A and 4 each of B and C in the beginningof the period , to get

max profit when this shares should be sold?

v) ?

**Q7. In a computer institute 9 languages can taught. The module is of 6 months duration and only six languages each of one month can be taught. In addition to that BASIC is always there and should be in first month itself word perfect is to be taught in the preceding week of word star.****FORTRAN cannot be taught until COBAL is coarsed prior to that BINO, FIFO never be taught in single module languages are BASIC, WORD STAR, WORD PERFECT, FORTRAN, COBAL, BINO, FIFO, LOTUS, C**i) Of the following which module is possible based on above conditions.

ii) If word star is in 3rd month , what could be in 6th month.

iii) If COBAL is in the 2nd month and BINO in 6th month are there in addition to the above condition, FORTRAN will be in which month.

**Q8. In a class, except 18 all are above 50 years. 15 are below 50 years of age. how many people are there**a) 30

b) 33

c) 36

d) none of these.

**Q9. A square plot of some size , at four corners equal squares of some size are cut and is formed as open box. If this open box carries 128 ml of oil. What is the size of the plate i.e. side**a.17

b.14

c.13

**Q10.**In a square , all the mid points are joined. the inner square is shaded. If the area of the square is A, what is the shaded area?**Q11.**Two questions on basic angles i.e given a circle, a few chords or diameter is drawn etc**Q12.**(a,b)= (a+b)/2

/(a,b)= a.b

*(a,b)= ab , if a=1, b=2 find

**Q13.**(x#y) = x+y-xy

(x*y) = (x+y)/2

i) (x#y)#(x*y) < (x#y), which of the below values of

x, y will satisfy this equation

ii) (a*b)#(b*c)< (a#b)*(b*c) , what values of a,b,c satisfy the above.

**Q14. By using the data given below answer the following questions.****B.tech M.sc M.A**male 20

female 80

total 60

some thing similar to that question.

i) 40% of females are B.Techs

ii) Half of the students are either from B.Techs of M.Scs

iii) …

i. what is the no. of female B.techs

**Q15. PS1 pwd****export PS1 results in**a) your primary prompt being your current directory

b) and secondary prompts being the current dir

c) prompt being your home dir

d) and secondary prompts being the home dir

e) None of the above.

**Q16. If you type in the command No hup sort employees > list 2 > error out & and log off ,the next time you log in .the output will be**a) in a file called list and the error will de typed in a file error out

b) there will be no file called list or error out

c) error will be logged in a file called list and o/p will be in error out

d) you will not be allowed to log in

e) none of the above

**Q17. In UNIX a files i-node**a) is a data structure that defines all specifications of a file like the file size ,number of lines to a file ,permissions etc.

**ANS:**a**Q18. The UNIX shell is….**a) does not come with the rest of the system

b) forms the interface between the user and the kernal

c) does not give any scope for programming

d) does not allow calling one program from with in another

e) all of the above

**ANS:**b**Q19. enum number { a=-1, b= 4,c,d,e}****What is the value of e?**7,4,5,15,3

**ANS:**7**Q20) The very first process created by the kernal that runs till the kernal process is haltes is**a) init

b) getty

c) none

**ANS:**a**Q21) Result of the following program is**main()

{

int i=0;

for(i=0;i<20;i++)

{

switch(i)

case 0:i+=5;

case 1:i+=2;

case 5:i+=5;

default i+=4;

break;}

printf(“%d,”,i);

}

}

a) 0,5,9,13,17

b) 5,9,13,17

c)12,17,22

d)16,21

e) syntax error

**ANS:**d**Q22) What is the result**main()

{

char c=-64;

int i=-32

unsigned int u =-16;

if(c>i){

printf(“pass1,”);

if(c and >>

a) do the same function

b) differ : > overwrites, while >> appends

c) differ : > is used for input while >> is used for output

d) differ : > write to any file while >> write only to standard output

e) None of these

**ANS:**b**Q23) The command grep first second third / user /you / my file**a) prints lines containing the words first, second or third from the file /user / you / my file

b) searches for lines containing the pattern first in the files second, third, and /user / you / my file

and prints them

c) searches the files / user / you / my file and third for lines containing the words first or second

and prints them

d) replaces the word first with the word second in the files third and / user / you / my file

e) None of the above

**ANS:**b - IBM Language paper
Visit the website indiahires.in if you want to find the most recent IBM placement papers. You get access to the most recent IBM placement papers on this website. You may simply get the most current IBM placement questions by going to indiahires.in. Thus, you should certainly visit indiahires.in if you want to keep current with the most recent IBM placement questions.

**Q1. In 1978, a kg of paper was sold at Rs 25/- If the paper rate increases at 1.5% more than the inflation rate which is 6.5% a year, then what will be the cost of a kg of paper after 2 years?**(a) 29.12

(b) 29.72

(c) 30.12

(d) 32.65

(e) none of these

**Q2. In A,B,C are having some marbles with each of them. A has given B and C the same number of marbles each of them already have. Then, B gave C and A the same number of marbles they already have. Then C gave A and B the same number of marbles they already have. At the end A, B, and C have equal number of marbles.****(i) If x,y,z are the marbles initially with A,B,C respectively. Then the number of marbles B have at the end**(a) 2(x-y-z)

(b) 4(x-y-z)

(c) 2(3y-x-z)

(d) x + y-z

**ANS:**c**(ii) If the total number of marbles are 72, then the number of marbles with A at the starting**(a) 20

(b) 30

(c) 32

(d) 39

**ANS:**d**Q3. If a car starts from A towards B with some velocity. Due to some problem in the engine after travelling 30km, the car goes with 4/5 th of its actual velocity The car reaches B 45 min later to the actual time.If the car engine fails ofter travelling 45km, the car reaches the destination B 36min late to the actual time What is the initial velocity of car and what is the distance between A and B in km****ANS:**20 & 130.**Q4.**A person has Rs 100/- in his pocket, he can as 25 pencils or 15 books. He kept 15% of the money For travelling expenses and purchased 5 pencils. So how many books he can purchase with the remaining money.**Q5.**Ten questions on analogies.eg: chief : tribe :: governor : state

epaulette : shoulder :: tiara : head

guttural : throat :: gastric : stomach

inept : clever :: languid : active

knife : butcher ::

hammer : carpenter ::

**Q6. The values of shares (in Rs) of A, B and C from January to June are as follows.****Month A B C****January 30 60 80****February 35 65 85****March 45 75 65****April 40 75 82****May 55 75 85****June 50 75 80**i) During this period which share has undergone maximum fluctuation?

ii) In which month it is possible to buy B and C selling A?

iii) In which month the share values are very low?

iv) By purchasing one share of A and 4 each of B and C in the beginning of the period,

when should these be sold to get maximum profit?

**Q7. In a computer institute 9 languages can be taught. The module is of 6 months duration and of the six languages only one can be taught each month . In addition to that BASIC is always taught and should be in first month itself****â€¢ WORD PERFECT is to be taught in the preceeding week of WORD STAR.****â€¢ FORTRAN can not be taught until COBAL is taught prior to that****â€¢ BINO, FIFO can never be taught in single module Languages are BASIC, WORD STAR, WORD PERFECT, FORTRAN, COBAL, BINO, FIFO,****LOTUS, C****i)**If word star is in 3rd month , what could be in 6th month.**ii)**If COBAL is in the 2nd month and BINO in 6th month. FORTRAN will be taught in whichmonth.

**Q8. In a class, except 18 all are above 50 years.15 are below 50 years of age. How many people are there**(a) 30

(b) 33

(c) 36

(d) none of these.

**ANS:**d**Q9. A square plate of some size is cut at four corners. Equal squares of the same size are cut and is formed as open box.If this open box carries 128 ml of oil. What is the size of the side of the plate?**(a) 17

(b) 14

(c) 13

(d) None of these

**Q10.**In a square, all the mid points are joined. The inner square is shaded. If the area of the square is A, what is the area of the shaded area?**Q11.**Two questions on basic angles i.e given a circle, a few chords or diameter is drawn etc.**Q12. If the following statements are given**â€¢ @(a,b)= (a+b)/2

â€¢ /(a,b)= a/b

â€¢ *(a,b)= ab

**If a=1, b=2 then find**i) /(a,(@(a,b),*(a,b)))

ii) */(a,@(*(a,b)))

**Q13. If the following statements are given**â€¢ (x#y) = x + y- xy

â€¢ (x*y) = (x + y)/2

**Q14. In 1978, a kg of paper was sold at Rs 25/- If the paper rate increases at 1.5% more than the inflation rate which is 6.5% a year, then what will be the cost of a kg of paper after 2 years?**(a) 29.12

(b) 29.72

(c) 30.12

(d) 32.65

(e) none of these

**Q15. In A,B,C are having some marbles with each of them. A has given B and C the same number of marbles each of them already have. Then, B gave C and A the same number of marbles they already have. Then C gave A and B the same number of marbles they already have. At the end A, B, and C have equal number of marbles.****(i) If x,y,z are the marbles initially with A,B,C respectively. Then the number of marbles B have at the end**(a) 2(x-y-z)

(b) 4(x-y-z)

(c) 2(3y-x-z)

(d) x + y-z

**ANS:**c**(ii) If the total number of marbles are 72, then the number of marbles with A at the starting**(a) 20

(b) 30

(c) 32

(d) 39

**ANS:**d**Q14. Export PS1 results in (PS1 pwd)**a) primary prompt being your current directory

b) primary prompt and secondary prompts being the current directory

c) primary prompt prompt being your home directory

d) primary prompt and secondary prompts being the home directory

e) None of the above.

**Q15. If you type in the comman no hup sort employees > list 2 > error out & and log off ,the next time you log in, the output will be**a) in a file called list and the error will de typed in a file error out

b) there will be no file called list or error out

c) error will be logged in a file called list and o/p will be in error out

d) you will not be allowed to log in

e) none of the above

**Q16. In UNIX a files i-node ……?****Ans**. Is a data structure that defines all specifications of a file like the file size, number of lines to a file, permissionsetc.

**Q17. The UNIX shell ….**a) does not come with the rest of the system

b) forms the interface between the user and the kernal

c) does not give any scope for programming

d) does not allow calling one program from with in another

e) all of the above

**Ans**. b**Q18. Enum number { a= -1, b= 4,c,d,e} What is the value of e ?**(a) 7

(b) 4

(c) 5

(d)15

(e) 3

**Q19. The very first process created by the kernal that runs till the kernal process is halts is**a) init

b) getty

c) both (a) and (b)

d) none of these

**ANS:**a**Q20. Output of the following program is**main()

{int i=0;

for(i=0;i<20;i++)

{switch(i)

case 0:i+=5;

case 1:i+=2;

case 5:i+=5;

default i+=4;

break;}

printf(“%d,”,i);

}

}

a) 0,5,9,13,17

b) 5,9,13,17

c) 12,17,22

d) 16,21

e) Syntax error

**ANS:**(d)**Q21. What is the output in the following program**main()

{char c=-64;

int i=-32

unsigned int u =-16;

if(c>i)

{printf(“pass1,”);

if(c

printf(“pass2”);

else

printf(“Fail2”);

}

else

printf(“Fail1);

if(i

printf(“pass2”);

else

printf(“Fail2”)

}

a) Pass1,Pass2

b) Pass1,Fail2

c) Fail1,Pass2

d) Fail1,Fail2

e) None of these

**ANS:**(c)**Q22. In the process table entry for the kernel process, the process id value is**(a) 0

(b) 1

(c) 2

(d) 255

(e) It does not have a process table entry

**ANS:**(a)**Q23. Which of the following API is used to hide a window**a) Show Window

b) Enable Window

c) Move Window

d) Set Window Placement

e) None of the above

**ANS:**a**Q24. What will the following program do?**void main()

{

int i;

char a[]=”String”;

char *p=”New Sring”;

char *Temp;

Temp=a;

a=malloc(strlen(p) + 1);

strcpy(a,p); //Line number:9//

p = malloc(strlen(Temp) + 1);

strcpy(p,Temp);

printf(“(%s, %s)”,a,p);

free(p);

free(a);

} //Line number 15//

a) Swap contents of p & a and print:(New string, string)

b) Generate compilation error in line number 8

c) Generate compilation error in line number 5

d) Generate compilation error in line number 7

e) Generate compilation error in line number 1

**ANS:**b**Q25. In the following code segment what will be the result of the****function,value of x , value of y**{unsigned int x=-1;

int y;

y = ~0;

if(x == y)

printf(“same”);

else

printf(“not same”);

}

a) same, MAXINT, -1

b) not same, MAXINT, -MAXINT

c) same , MAXUNIT, -1

d) same, MAXUNIT, MAXUNIT

e) not same, MAXINT, MAXUNIT

**ANS:**a**Q26. PATH = /bin : /user : /your home The file /bin/ calender has the following line in it cal 10 1997 The file****/your home / calender has the following line in it cal 5 1997 If the current directory is / your home and****calender is executed**a) The calendar for May 1997 will be printed on screen

b) The calendar for Oct 1997 will be printed on screen

c) The calendar for the current month(whatever it is) will be printed

d) Nothing will get printed on screen

e) An error massage will be printed

**Q27. What will be the result of the following program?**char *gxxx()

{static char xxx[1024];

return xxx;

}

main()

{char *g=”string”;

strcpy(gxxx(),g);

g = gxxx();

strcpy(g,”oldstring”);

printf(“The string is : %s”,gxxx());

}

a) The string is : string

b) The string is :Old string

c) Run time error/Core dump

d) Syntax error during compilation

e) None of these

**ANS:**b**Q28. What will be result of the following program?**void myalloc(char *x, int n)

{x= (char *)malloc(n*sizeof(char));

memset(x,,n*sizeof(char));

}

main()

{char *g=”String”;

myalloc(g,20);

strcpy(g,”Oldstring”);

printf(“The string is %s”,g);

}

a) The string is : String

b) Run time error/Core dump

c) The string is : Old string

d) Syntax error during compilation

e) None of these

**Q29. Which of the following function is used to repaint a window immediately) Send message (hWnd ,WM _ PAINt,……)**a) InvalidateRect(…….)

b) MoveWindow

c) WM_COPY

d) None

**Q30. Which function is the entry point for a DLL in MS Windows 3.1**a) Main

b) Winmain

c) Dllmain

d) Libmain

e) None

**ANS:**(b)**Q31. The standard source for standard input, standard output and standard error is**a) the terminal

b) /dev/null

c) /user/you/input, /user/you/output/, /user/you/error respectively

d) None

**ANS:**(a)**Q32. What will be the result of the following program?**main()

{char p[]=”String”;

int x=0;

if(p==”String”)

{printf(“Pass 1”);

if(p[sizeof(p)-2]==g)

printf(“Pass 2”);

else

printf(“Fail 2”);

}

else

{

printf(“Fail 1”);

if(p[sizeof(p)-2]==g)

printf(“Pass 2”);

else

printf(“Fail 2”);

}

}

a) Pass 1, Pass 2

b) Fail 1, Fail 2

c) Pass 1, Fail 2

d) Fail 1, Pass 2

e) syntax error during compilation

**Q33. Which of the choices is true for the mentioned declaration ?**const char *p; and

char * const p;

a) You cant change the character in both

b) First : You cant change the character & Second : You can;t change the pointer

c) You cant change the pointer in both

d) First : You cant change the pointer & Second : You cant change the character

e) None

**Q34. The redirection operators > and >>**a) do the same function

b) differ : > overwrites, while >> appends

c) differ : > is used for input while >> is used for output

d) differ : > write to any file while >> write only to standard output

e) None of these

**ANS:**b**Q35. The command grep first second third /user/you/myfile**a) print lines containing the words first, second or third from the file /user/you/my file

b) searches for lines containing the pattern first in the files

second, third, and /user/you/my file and prints them

c) searches the files /user/you/my file and third for lines containing the words first or second and

prints them

d) replaces the word first with the word second in the files third and /user/you/my file

e) None of the above

**ANS:**b**i)**Find the values of x, y will satisfy this equation (x#y)#(x*y) < (x#y)**ii)**Find the values of x, y will satisfy this equation (a*b)#(b*c)< (a#b)*(b*c) - IBM Arithmetic & Verbal Paper
### Aptitude

**Q1. Like 3 consecutive prime adds to some no what is that****ANS:**both 49 and 59.**Q2. One person traveled 4 laps with the speed of 10, 20,40 ( or 30) and 60 kmph and what is the average speed.****ANS:**20**Q3. 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**Q4. 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 group name no where the group of people always say no if they are not sure they will remain silent. thats it now questions 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, cant be determined

**2**. Same question 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 group yes and etc here were 5 questions first 4 u can do it last one little bit tough. spend some time on this u can do it.**4**. Like from height of 8 mts on ball fell down and each time it bounces half the distance back. so what will be the distance travelled**ANS:**24 like 8+4+4+2+2+1+1+0.5+0.5+ and etc .. answer is not 20**Q5. Like 6 cubes are arranged adjacently and given the perimeter and asked 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)

**Q6. Some data is given like this 10 kmph in still water ship took some x mins and downstream some y mins in same time what is the stream value …. (q is not exact)****ANS:**3 (not sure)**Q7. Some average problem like 16 students average weight and teacher joins them ….****ANS:**23 do this (16x+40)/(x+1) will give the value.**Q8. Some problem on square like to increase area by 69% by what percent side should be increased****ANS:**square root of 169 i.e 13 ( not sure)**Q9. No of rational nos b/w 0 and 5****ANS:**infinite**Q10. First day of 1999 is sunday what day is the last day****ANS:**Monday**Q11.Bullets problem 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 initially division value****ANS:**18**Q12. Bread problem, one come and eat half no of breads and something…****ANS:**63**Q13. Like A can do in 6 day and B can do in 8 and C can do in 12 days but b left after working for 6 days for how many no of day A and C should work****ANS:**11**Q14. I give a jcl code with Programmer name: smith Jobname:ABC Jobclass=c Message class = a All messages are to be displaced code it in a JCL.**A) //ABC,smith,class=c,message class=a,message level=(2,1)

B) //ABC,smith,class=c,message class=a,message level =(!,1)

C) //ABC,smith,class=c,message class=a,message level=(0,1)

D) none of these.

**Q15. For a cobol program Move 5 to work-sd. A statement which says that the value of work-st is 0. perform Para1.****â€¦â€¦â€¦â€¦â€¦Para1.****Add 3 to work-sd****Add 2 to work-st****If work-st <11 go to main-para.****â€¦â€¦â€¦â€¦â€¦â€¦****go to para1.****What would be the value of work-sd?**a) 15

b) 18

c) 10

d) none

**Q16. Given 2 tables T1 and T2. T1 T2**A. 1

B. 2

C. 3

**You make a query SELECT * FROM T1,T2.****What is the no: of rows that are fetched from this query?**a) 4

b) 5

c) 6

d) 9

**Q17. Who is the data base manager of db 2?**a) buffer register

b) runtime supervisor

c) DBRM

d) None

**Q18. You have a file with DISP=SHR, when u open the file in output mode**a) the records get appended

b) the records gets overwritten

c) the job abbends

d) none of these

**Q19. To exclude some records while sorting which parameter do we use?**a) OMIT

b) EXCLUDE

**Q20. You have a dataset TIME.WORK.OCT88, u want to concatenate other datasets likeTIME.WORK .JUL88,TIME.WORK.APR88, TIME.WORK.MAY88. how do u do that?****a)**//DDname DD DSN = TIME.WORK.OCT88, DISP = SHRDD DSN = TIME.WORK.JUL88, DISP = SHR

DD DSN = TIME.WORK.APR88, DISP = SHR

DD DSN = TIME.WORK.MAY88, DISP = SHR

**b)**//DDname DD DSN = TIME.WORK.JUL88, DISP = SHRDD DSN = TIME.WORK.OCT88, DISP = SHR

DD DSN = TIME.WORK.APR88, DISP = SHR

DD DSN = TIME.WORK.MAY88, DISP = SHR

**c)**//DDname DD DSN = TIME.WORK.APR88, DISP = SHRDD DSN = TIME.WORK.JUL88, DISP = SHR

DD DSN = TIME.WORK.MAY88, DISP = SHR

DD DSN = TIME.WORK.OCT88, DISP = SHR

**e)**none of these**Q21. When db2 entries are made while working in cics, the enteries should be made in**a) TCT

b) PCT

c) DCT

d) RCT

**Q22. Find the odd one out**a) KSDS

b) RRDS

c) LDS

d) PDS

**Q23. Full form of VTOC****Q24. Question based on SKIP and COUNT parameter**### Technical

**Q1. What is vector processing****Q2. What is data integrity****ANS:**option a ( like the range of values is defined by data integrity)**Q3. Which topology takes minimum wiring options: star,bus,ring and complete etc****ANS:**find it from network text book ( may be bus or ring)**Q4. Best sorting if elements are already sorted****ANS:**insertion sort(sure)**Q5. Software configuration management —-****ANS:**option a ( but check it from SE text book there are only 2 confusing answers)**Q6. In network the packers are flowing unnecessarily what is the way to control it and …. options: SNMP****Q7. 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)**Q8. x-=y+1 is equivalant to****ANS:**x=x-y-1 (sure) because it is interpreted as x=x-(y+1)**Q9. 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.**Q10. Which is correct to append the output of ls and who to some file x. ans:(who;ls)>>x (check it)****Q11. What is trigger in DBMS (know what it will do)****Q12. What happens when we open a file in r+ mode like whether file will be created if it s not there can we write to file****Q13. What is ROM ans: it contains boot up program and it is not accessible that was one answer and another option was it is non volatile (choose one among these 2)****Q14. What is int (*a)[4]****ANS:**pointer to an array of 4 integer**Q15. Primary key of another table is present and so on……….****ANS:**foreign key**Q16. What is the difference b/w 0123 and 123 in c?****ANS:**40(sure)**Q17. Which among the devices is spooled device?****Q18. If u get error in adapter which device will u use?****ANS:**contact electronics student. one of the option was volt meter. - IBM Aptitude Questions
**Q1. 10^10^10 how much time will it take to write this number,if it takes 1 sec to write 1 digit.**a. 1000 secs.

b. 10 year.

c. more than 1 million years.

d. a few days.

**ANS:**more than 1 million years.**Q2.**Starting from 2 up to how many numbers we need to check whether 907 is prime or not?**Q3. A persons age is similar to the year he was born (last two digits is counted as age)****ANS:**80**Q4. What is YACC?****ANS:**yet another compiler compiler.**Q5. Flop is a unit of?****ANS:**processing speed.**Q6.**#define hello(x,y) printf(#expr”%d”,expr);

main(){

float x=1,y=2;

expr=x/y;

hello(expr);

}

**ANS:**x/y=1;**Q7.**Time and work and days.(easy questions).**Q8.**A&B fill 3 litres and 5 litres of oil in the car. C pays Rs. 8/- to A7B. How much will A get?**Q9. A question on set theory.it was given that less than 30 persons in class.****ANS:**cannot be determined.**Q10. 4 cows are there at the four corners of a square. if the radius of the rope is 1 and length of one side of the square is 14, find the area along the square which the cow cannot gaze.****ANS:**14*14-pi*r*r;**Q11.**Two glasses were filled with 1/3 and 1/4 milk. they were filled with water &then mixed in tumbler. What is the percentage of milk in the resultant.**Q12.**Average speed 2xy/x+y.**Q13. A belongs to the truther tribe who says yes. B belongs to the liters tribe who says no always. when A&B were asked to which group do they belonged to both of them replied yes.when a third person C was asked whether A&B belong to same group, he notified groups he answered No. to which group do A,B and C belong?****ANS:**LLL or LTT.**Q14. There were three clocks they gave alarm after 24 secs, 12 secs and 36 secs. if they rang simultaneously at 8:20, then at what time they again rang simultaneously? (something like this but numbers may differ).****ANS:**8:27:12**Q15. A plane starts from a place A , it goes 1000 kms south then 1000 km east then 1000 km north and 1000 km west, what is it distance from the starting place?****ANS:**same starting place.**Q16. Question on Bipartite graph(definition)**.

**Q17. Heap-sorting algorithm time complexity.****ANS:**n(log)n**Q18.**White-box testing.**Q19.**Postfix evaluation of: (A+B)*C(Ans: AB+C*)**Q20.**question on catch-throw? c++**Q21. What is the output?**main()

{

main();

}

**ANS:**stack overflow.**Q22. What is the output?**main()

{

char a,b;

printf(“%d%d%d%d”,sizeof(a);

sizeof(NULL),sizeof(b),sizeof(main));

}

**ANS:**1,1,1,2**Q22. Five file sizes given. What should be the order of their access so that least time is taken.****ANS:**least size first.**Q23.**SQL query does what? - IBM Technical Interview Questions
**Q1. FLOP is the unit of**i) clock speed,

ii) frequency.

iii) memory

iv) processors speed.

**Q2. H****ow many times it will print?**main()

{

Printf (“hello”);

Main ();

}

**Q3. Complexity of heap sort****ANS:**o (nlogn).**Q4. What will be the o/p?**int main()

{

char a, b;

printf(%d%d%d%d, sizeof(A), sizeof(NULL), sizeof(a), sizeof(main));

}

**Q5. Necessity of Pairty bit****ANS:**b.**Q6. What is the o/p?**#DEFINE xyz(exr)printf(exr=%d,exr)

main()

{

int x=3;y=2;

xyz(x/y);

}

**Q7.**Simple question on graph**Q8.**Simple question on sql**Q9.**Files are there of size like 26543b,2000b,4000b,1000b arrange them according to there access time**Aptitude (TOTAL25)****Q10.**Unit digit of 7^173?**Q11.**Two train coming towards from dist 24 miles with speed 12 miles/hr ,a fly randomly flying between two trains at the speed of 18 miles/hr.how many distance covered by the fly before will collide?(30,36)**Q12.**What is the increase of volume of a sphere if its radius increases by 10%?**Q13.**A man climbing in a rock at 24 km/hr and downhill 36 km/hr. determine avg speed?**Q14.**Problem on language (some percent known german, some knows French,some English)**ANS:**24.**Q15.**Here two same size glass one is filled 1/3 of milk and other is 1/4 milk.then the glasses filled with water and mixed,what is the percentage of milk now?**Q16.**One is filled 1/3 of milk and other is 1/4 milk.then the glasses filled with water and mixed,what is the percentage of milk now?**Q17. If the time required for write one digit is one second then how many time for (10^10)^10?**i) few day

ii) millions of day

iii) one year

**Q18. In 1930 the age of one student is same as the last two digit of his year of birth and the case is same for his grand father also ,what is the sum of age his and his grand father?****ANS:**80**Q19. In 1930 the age of one student is same as the last two digit of his year of birth and the case is same for his grand father also ,what is the sum of age his and his grand father?****ANS:**80**Q20. Blue socks: 4pair, red socks: 3pair, white socks : 2 pair , how many socks one will take for two different socks.****Q21. What is the probability of 2 man will be born in a same month****ANS:**1/12,1/6,1/24,1/2)**Q22. There is a square ground of side 14cm, two horses r there in two different point of the square such that they can just touch them, how much grass will not be covered by the horses.****ANS:**14*14-2*(1/4)*pi*(7*root2)^2).**Q23. A man is started his journey from point A he goes 1000 km south then 1000 km east ,1000 km north, then 1000 km west. where is he now.**i) At point A

ii)1000 km east from A

- IBM Verbal Ability paper
**Q1.**What does vector processing do?**Q2.**What is the use of software configuration management?**Q3.**What command is used to append two files using who that is listed by ls**Q4. If there is a problem in a network during transmission which is used to detect that?**a. Protocol analyzer,

b. SNMP…

**Q5. In C, x-=y+1 how will u represent it..**a. x=x+y+1,

b.-x-y-1, c.-x+y+1…

**Q6.**What does Trigger do?**Q7. In which topology we use less amount of cables.**ring, bus, star, mesh….

**Q8. Which sorting technique is best for already sorted array…?.****ANS:**Bubble sort**Q9. Which is said to be a real-time system.?**1. Credit card system

2. Online flight reservation system

3. Bridge control system…not sure

**Q10. Decimal to octal conversion problem?****ANS:**A**Q11.**A person having a/c number, a/c name, bank name, a/c type.. which is the primary among the above?**Q12.**Why data integrity is used?**Q13. If a primary key is an attribute of another one table means……..**1. candidate key

2. foreign key

3. seconds

**Q14.**int (*a)[4]. Explain this expression**Q15. Difference between 0123 and 123 in c****ANS:**40**Q16. In c r+ is used for**1. read only

2. writing only

3. both 1 and 2

**Q17.**Parity bit for what?**Q18. YWCC is what in options they had specified for the compiler..****Aptitude :****Q1. Which 3 consecutive prime numbers give the total****ANS:**49 (13,17,19)**Q2. Rational numbers between 1 and 5**1. 3

2. 2

3. 0

**Q3.**If boat travels in 10km / hr in still water. it travels 14 kmhr in upstream and 26km / hr downstream What is speed of stream?**Q4. A cube of 3 unit has 6 surface is painted.If u cut the cube of 1 unit each how many cubes remain unpainted on all sides.****ANS:**1**Q5. A person sold an article at Rs.141 at 6% loss,to gain a profit of 10% at what price the article should be sold.****ANS:**165**Q6. If person 20 min at 12 kmph. then how many Kmph in 15 minutes****ANS:**16**Q7. Three person shared bullets equally. 4 were shot total no of bullets remaining is equal to the no of bullets initially divided****ANS:**18**Q8. 1st day of the year 1999 is Sunday**and what will be the**last day of the same year****ANS:**Sunday**Q9.**4 thieves enter a bakery and stoled bread one after the other.Each one took half of the total number of breads + half a loaf. If 3 breads were remaining what is the total number of breads.**Q10. If a ball is dropped from 8ft and it bounces half the height each time. Then the total distance traveled****ANS:**24**Q11. 6 squares of equal size are placed side by side to form a rectangle whose perimeter is 182. Find the perimeter of the single square.****ANS:**52**Q12. The average age of students in a class is 16. when a teacher of age 40 is added, the average becomes 17. What is the total number of students?****ANS:**23**Q13.**In 1930 a mans age is the last 2 digit of the year interchanged in which he born and his granpas age also like the same.**Q14.**10 pow 10 pow 10 if one takes 1 sec to write a single digit then how long will it take to write the above expression?**Q15.**2 trains coming in opposite directions in 12 km/hr distance between the trains is 24 km. an insect starts at the same time when the train starts at a speed of 18km/hr. How many km the insect might have travelled before it got crashed between the 2 trains.**Q16.**Less than 30 of them are there. Among those 1/3rd know french 1/4th knows english, 1/2 knows german, then 1/8 of them donnt know any of the languages. Then find out how many are there totally.**Q17.**What is the probability that 2 of them selected randomly have got the same month of birth? - IBM Reasoning Test
**Q1**.int i=10;

printf(“%d%d%d”,i,i++,++i);

**ANS:**compiler dependent**Q2**.printf(“Enter two values a and b:”):

scanf(“%d%d”,a,b);

printf(“%d+%d=%d”,a,b,a+b);

**ANS:**core dumped**Q3**.**Question on WM_SIZE****ANS:**WM_SIZE**Q4**.**When destroy window what message would display****ANS:**WM_DESTROY**Q5**.**S Windows 3.1 about multitasking****ANS:**nonpre-emptive**Q6**.**Windows 3.1 is****ANS:**Application**Q7**.**About switch switch statement****ANS:**16,21**Q8**.**Question paper the first question ans is****ANS:**cant be compiled**Q9**.**About send messages and post messages****ANS:**c**Q10.What is the command to initiate the windows****ANS:**Win Main**Q11**.**What is the difference between the above tow?.**const char *

char * const

**Q12.**In Unix inter process communication take place using?.**Q13.**What are the files in /etc directory?.**Q14.**About i-node numbers**Q15.**Max relaxable permission value with out giving write permission to others?**Q16.**About ln (linking)**Q17. A question on until**until (who |grep mary)

do

sleep(60)

done

**Q18.**Linking across directories?.**Q19.**Process id for kernel process**Q20.**Very first process created by kernel**Q21.**Function to repaint a window immediately?.**Q22.**Function entry for DLL in win3.1**Q23.**Win 3.1 supports which type of multi tasking?.**Q24.**Message displayed when a window is destroyed**Q25.**About fork()?**Q26.**About send message and post message**Q27.**Message to limit the size of window**Q28.**System call executable binary file into a process**Q29.**About GDI object?.**Q30.**API used to hide window**Q31.**Initialize contents of a dialog?.

On June 16, 1911, the IBM Corporation, a technological corporation, was founded. Global Technology Services (GTS), Global Business Services (GBS), Software, Systems and Technologies (STG), and Global Financing are the company’s five business segments. Strategic Outsourcing, Global Process Services, Integrated Technology Services, Cloud, and Technology Support Services are just a few of the IT infrastructure and business process services offered by GTS. Whereas Global Process Services offer processing platforms and business process outsourcing, Strategic Outsourcing offers IT outsourcing services. While Cloud offers a variety of cloud services, including creating private and managed clouds and standardized cloud infrastructure services from SoftLayer and Cloud Managed Services, Integrated Technology Services offers project-based and managed services. Technology Support Services offers maintenance and solution support services for products.