Search This Blog

Wednesday 4 January 2012

IBM Placement Paper April 2011

IBM Placement Paper April 2011 :-

1. In 1978, a kg of paper was sold at Rs25/-. 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

2. 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)


3. If a car starts from A towards B with some velocity. Due to some problem in the engine after traveling 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 after traveling 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.

4. A person has Rs 100/- in his pocket, he can as 25 pencils or 15 books. He kept 15% of the money for traveling expenses and purchased 5 pencils. So how many books he can purchase with the remaining money.

5. Ten questions on analogies.
eg: chief : tribe :: governer : state
epaulette : shoulder :: tiara : head
guttural : throat :: gastric : stomach
inept : clever :: languid : active
knife : butcher ::
hammer : carpenter ::

7. 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

8. 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)

9. 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

10. 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)

11. 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)

12. Which of the following API is used to hide a window

a) ShowWindow
b) EnableWindow
c) MoveWindow
d) SetWindowPlacement
e) None of the above

Ans. (a)

13. 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)

14.7^253. last digit?

ans. 7

15.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.

15. One person is wearing Black and White shoes as his pair. If he is having 20 white and 20 Black shoes. What will be the less number of time he have try to take his correct pair of shoes.

16. The age of the grand father is the sum of his three grandsons. The second is 2 year younger than first one and the third one is 2 year younger than the second one. Then what will be the age of the grandfather.

17. in a grass field, If there are 40 cows, they could eat for 40 days. If there are 30 cows, they could eat for 60 days. Than if 20 cows, How much day they could eat?

18. If the size of the fruit is two times the size of the seed. Then what is the volume of the seed. (derive general equation)

19. Speed of boat in still water 10 kmph. If the boat takes 24hr in up stream and 16hr in down stream to cross the same distance, then what will be the distance covered.

20. How many times do the hands of the clock coincide in a day?

21. If one man do a job of two boys. If 12 men’s and 15 boys can do a work in 25 days working 7.5 hrs a day. How many boys are required along with 21 men’s to complete a work twice the first one in 50 days.

22. If 200m and 150m long trains moving in the same direction at a speed of 40kmph and 45kmph, what is the time taken by the trains to cross each other.

23. If the radius of the circle is decreased by 50% then the area will be reduced by what percentage. Ans 25%

24.If average age of a five member group is same as three years ago. When a old man is replaced by a young man. What is the diff. between their ages.

25. 3 step of a ladder is immersed in water .if thickness of the steps is 1.5” and distance between the steps is 8” .the tide raise at the rate of 16” per hour for first 6 hrs and then it ebbs at the rate of 8” per hour .after 8 hrs how many steps will be immersed in water.

26. #define hello(x,y) printf(#expr"%d",expr);
main(){
float x=1,y=2;
expr=x/y;
hello(expr);
}
ans. x/y=1;

27. A&B fill 3 litres and 5 litres of oil in the car. C pays Rs. 8/- to A7B. How much will A get?

28. 4 cows are there at the four corners of a square. if the radius of the rope is 1 and lenth 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;

29. 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.

30. A belongs to the truther tribe " who says yes". B belongs to the liers 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.

No comments:

Post a Comment