1. If you had an infinite supply of water and a 5 quart and 3 quart pail, how would you measure exactly 4 quarts?
2. If you could remove any of the 50 states, which state would it be and why?
3. If you are on a boat and you throw out a suitcase, will the level of water increase?
4. There are 3 ants at 3 corners of a triangle, they randomly start moving towards another corner. What is the probability that they don't collide?
5. Three men were renting a motel figuring the room cost 30 dollars they would pitch in ten a piece.The room was only 25 so they each gave the bell boy ten,(tip)the bellboy didn"t think that would be fair so he gave them each back 1 dollar and kept 2 for himself.What happened to the other dollar?
6. You have b boxes and n dollars. If I want any amount of money from 0 to n dollars, you must be able to hand me 0 to b boxes so that I get exactly what I request." The two questions were "What are the restrictions on b and n, and how is money distributed among the boxes?
7. What is the sum of the numbers from 1 to 1000?
8. You are an employer. You have ten employees. Each month, each one of your ten employees gives you ten bags of gold. Each bag of gold has ten pieces of gold in it. Each piece of gold weighs one pound. One of your employees is cheating you by only putting nine pieces of gold in each of his ten bags of gold. You have a scale (not a balance, a scale), and you can only take one measurement from the scale, only one (1) reading.
How can you tell which of the ten employees is cheating you by using this scale and only taking one measurement?
9. How many points are there on the globe where by walking one mile south, one mile east and one mile north you reach the place where you started.
10. How would go about finding out where to look for a book in a library? (You do not know how the books are organized beforehand)
11. Imagine you are standing in front of a mirror, facing it. Raise your left hand. Raise your right hand. Look at your reflection. When you raise your left hand your reflection raises what appears to be his right hand. But when you tilt your head up, your reflection does too, and does not appear to tilt his/her head down. Why is it that the mirror appears to reverse left and right, but not up and down?
12. You have a bucket of jelly beans. Some are red, some are blue, and some green. With your eyes closed, pick out 2 of a like color. How many do you have to grab to be sure you have 2 of the same?
13. You are given a scale which you are to use to measure eight balls. Seven of these balls have the same weight: the eigth ball is heavier than the rest. What is the minimum number of weighs you could perform to find the heaviest of the eight balls?. Remmber it's a scale not a balance. (i.e. It can just tell you if one side is heavier than the other it can't give you the exact weight).
14. How would you design a toaster?
15. How would you design an universal remote control?
16. How would you design a clock for a blind person?
17. How many miles of road are there in the US
18. There are n couples attending a party. Each one shakes hands with the persons he doesn't know. (Assuming each person knows his/her partner) Mary and John are a couple. John asked the rest of the party-attenders how many times he has shaken hands. Each one gives a unique answer. How many times does Mary shake hands?
Second Test
1. 2 pipes A and B can fill a tank in 30minutes and 20 minutes respectively. B filled ¾ of the tank. Then for the rest both A and B filled the tank. How much time it took to fill the entire tank.
2. 5 monkeys eat 5 bananas in 5 minutes. Then how many monkeys can eat 20 bananas in 20 minutes.
3. A does a work in 20 days. A did for 28 days. Then b came. They together take 76 days to complete the 7 job. Find howmany days B complete a work.
4. My house number is
if not multiple by 3 it is with in 50-59
if not multiple by 5 it is with in 60-69
if not multiple by 10 it is with in 70-79
find house number.
5. After 6 years the ratio of age of X and Y will be 5:6. Before 6 years it was 3:4. Find the age of younger one.
6. The arithmetic mean of two numbers is 10 and the geometrid mean is 8. Find the two numbers.
7. 3 consecutive non zero number which of these will result a positive odd integer.
1. x+y+z
2. xy-z
3. x-y-z
8. 420 km distance. It goes at a speed of 10km/hr less than it took 1.4 hour. Find the initial speed.
9. Tem, Harry and Dick are three friends. From these two are musicians.
Tem----Harry
Shorter one is older musician.
Harry----Dick
Shorter one is younger musician.
Dick-----Tem
Taller is the younger musician.
Find the two musician.
10. A’s mother is only daughter of B’s mother. B is A’s what.
11. In a 20 liter mixture of milk and water, the ratio of milk and water is 3:1. How much milk is to be mixed with the mixture so as to make the ratio 4:1.
12. For a party 240 guests were invited. Contractor have gained 12.5% profit. But 30 guests were absent. He charged the same amount for a meal and lost 100 rupees. How much a meal costs.
13. Out of three A,B,C one is thief. All give two statements. One is false another is true. Find the thief.
A-i did not do, B did not do.
B-i did not do, C did not do.
C-i did not do, I donot know who did it.
14. The sides of an isocles tringale are given. The perpendicular distance is given. Find the base of the tringale.(Numerical values are given, but I donot remember)
15. In a tringale length of 3 sides are given. It is given to find the highest length of scale which can be used to measure all the sides.(To find gcf).
16. There is a metallic cylinder of radius r and height h is melted. If the radius of smaller cylinder is r/10 and height is h/10, then howmany small cylinders are made from the molten.
TECHNICAL
18. What is weak typing.
19. What is pure virtual function.
20. Which is not a member of unix shell. (rbash,cbash,nbash,kbash,gbash)
21. Which is an error.
Int *p[3]
Int (*p)[3]
(Int *)(int ,int)
Int (*p[3])
Int *(p[3])
22. Which is not a processor.
(intel,duran,Celeron,athelon)
23. a[5]=={1,2,3,4,5}
printf("%d",a[3]);
printf("%d",3[a]);
printf("%d",*(a+3);
24. what is the output.
if(r= =5!= =4)
printf("inside");
else
printf("outside");
printf("%d",r);
25. for(i=0,j=0;i<10,j<10;i++,j+);
printf("%d",j); (compilation error,run time error,0)
26. Which is not an inter process communication.
(tee,shared memory,pipe,queue,file)
27. for loop on string.
28. Which is not a database.
(oracle,smalltalk,db2,Sybase)
29. #define prod((a>b)?a*a:b*b)
int p==0,q==-1;
prod(p++,q++)
what is result.
30. what is reference.
Some loop statements on "c" are given which are very easy.
Tuesday, July 17, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment