General Tricky Interview Questions  


  1. How many golf balls can fit in a school bus?

    Solution: The point of the question isn't to see how golf balls you think are in the bus, but to see what your deduction skills are like. Do you just make a random guess or try to cop out by saying a lot, or do you actually try to come up with a legitimate answer by going through a logical series of steps.


  2. You are shrunk to the height of a nickel and your mass is proportionally reduced so as to maintain your original density. You are then thrown into an empty glass blender. The blades will start moving in 60 seconds. What do you do?


    Solution:You simply jump out. As you are scaled down, the ratio of muscle mass to total mass remains the same. Potential energy is given by E = mgh. So, if E/m is unchanged (where E is the energy expended in expanding your leg muscles, and m is your mass), then h is unchanged. Mini-me jumps as high as me. This is the reason why grass-hoppers can jump about as high as people.


  3. How much should you charge to wash all the windows in Seattle?

    Solution:As crazy as it might sound, questions like these demonstrate your ability to think through a complex problem with little or no information. They expect you to take an educated guess. Most of the time you can ask them questions like - how many buildings are there in Seattle.


  4. How would you find out if a machine’s stack grows up or down in memory?

    Solution:Instantiate a local variable. Call another function with a local. Look at the address of that function and then compare. If the function's local is higher, the stack grows away from address location 0; if the function's local is lower, the stack grows towards address location 0.


  5. Explain a database in three sentences to your eight-year-old nephew.

    Solution:A database is like a file cabinet. The files, or data, is stored in it and can be arranged in categories. But unlike an actual file cabinet, you can do a lot more cool stuff with a database like being able to make it accessible through the internet.


  6. How many times a day does a clock’s hands overlap?

    Solution:The Hour hand and Minute hand would be meeting exactly 11 times in 12 hours (Hour hand would have taken 1 clockwise round and Minute hand would have taken 12 clockwise rounds, so 12 - 1 = 11 rounds).

    result: First time hour and minute hands overlap will be 12 Hours / 11 = 01:05:27.27. So at this time only hour and minute hands would be overlapping and second hand will not be any near to them. Similarly for 2nd, 3rd, 4th, 5th, 6th, 7th, 8th, 9th and 10th overlap of hour and minute hand the Second hand wont be any nearby. So all 3 hands (hour, minute and Second) overlap only 2 times i.e. (0:0:0 and 12:0:0).

    Also we all know when we get our watches repaired, normally the repairman overlaps all the three hands to 12.

    If we are considering that the second hand is not present, then the rest two overlaps 22 times in 24 hours.

    There again is a catch, if we check the angles by which the hour hand and minute hand moves.

    The second hand moves 6 degree in a second. In that time the minute hand will move 6/60 degrees. and the hour hand will move 6/(60*12) degrees. now taking these things in the considerations. if we check the positions of the hour and minute hand in terms of angle from the marker 12, for our first rendezvous time, i.e. 01:05:27.27 sec.
    first thing that comes to my mind is that, there is fraction in the seconds. So that time can’t be measured. there will be no exact overlap. now lets calculate the angles:

    1 hour 5 mins and 27 seconds = 3600 + 5*60 + 27 = 3927 seconds.

    angle of hour hand = 3927 * 6/(60*12) = 32.725 degree.
    angle of minute hand = 3927 * 6/60 = 392.7 degree
    subtracting 360 degree from it we get - 32.7 degree.

    So at 01:05:27 both hands don’t overlap. Now for 01:05:28 :
    Angles : hour hand - 32.73333
    minute hand - 32.8
    so obviously they dont meet at 01:05:28 either.

    So they overlap at 12:00 and 24:00 only. So the answer is 2 only.



  7. You have to get from point A to point B. You don’t know if you can get there. What would you do?

    Solution:Utilizing a “learn as you go” approach and applying collected knowledge and data along the way is the best way to proceed. Let’s break this down farther.

    Determine the amount of time you have to go from point A to point B. Spend the initial 20% of that time making a 360° search with the largest circumference possible with the in the time you have allowed.

    During that time, ask people, look for maps, clues, collect data, and knowledge. At the end of the initial 360° search take an objective look at all the information you have obtained and you calculate the risk of failure you are willing to live with. Create a plan and a strategy based on your assessment of where you believe point B to be. Then you proceed on implementing your plan with predetermined intervals of reassessment and strategy improvements.

    This is the best chance you have reaching point B if you don’t know if you can get there.


  8. Imagine you have a closet full of shirts. It’s very hard to find a shirt. So what can you do to organize your shirts for easy retrieval?

    Solution:Let’s suppose there are
    a set of attributes of each shirt you are interested in: e.g. sleeve length, color, buttons (no buttons, fully button, partially buttoned from collar to chest level).
    Let’s say the closet is a simple wall closet with a single closet rod running the entire length of closet. On the left you put all the short sleeve shirts, and on the right the long sleeve shorts. You separate then long and short sleeve sides with a specially marked coat hanger. Then you separate each group into no buttonoed, partially buttoned, and fully button, using more specially marked hangers. Then each sub group is separated into colored and monochrome sub-sub-groups (specially marked hangers aren’t needed for separators unless you are color blind) Then each colored group is sorted left to right according to the color spectrum: ROYGBIV: red, orange, yellow, green, blue, indigo, violet. Each monochrome ggroup is sorted left to right: white on the left, black on the right, and shades of grey in the middle, the darker greys on the right, the lighter on the left.


  9. Every man in a village of 100 married couples has cheated on his wife. Every wife in the village instantly knows when a man other than her husband has cheated, but does not know when her own husband has. The village has a law that does not allow for adultery. Any wife who can prove that her husband is unfaithful must kill him that very day. The women of the village would never disobey this law. One day, the queen of the village visits and announces that at least one husband has been unfaithful. What happens?

    Solution:1. There is only one cheat husband
    - If it is so then 99 wives knew it before. So the cheated wife got the idea from queen that her husband is cheating. So she will kill him. Next morning every wife will know there is no cheat husbands anymore.


    2. There are more than one cheat husbands

    - In this case, all of the wives already had the idea prior to queen's information. Its just that the cheated wives knew the count which is one less than what the non-cheated wives' knew - thats all. i.e. if there were 2 cheat husbands then their wives knew the count is 1 and others knew its 2. So the queen just repeated the info saying "at least 1". Same goes to 2,3,4...100 cheat husbands. So in this case no wife kills her husband.


  10. In a country in which people only want boys, every family continues to have children until they have a boy. if they have a girl, they have another child. if they have a boy, they stop. what is the proportion of boys to girls in the country?

    Solution:From pure probability,we get the expected number of girls born to be 1/2 with that of boys being 1.So the ratio is 2:1


  11. If the probability of observing a car in 30 minutes on a highway is 0.95, what is the probability of observing a car in 10 minutes (assuming constant default probability)?

    Solution:If the chance to see the car is 10 percent per minute, the first minute you have 10% chance, the second minute you have 10% of 90% = 9% (so total 19%), the third minute 10% of 81% (= 8,1%, total 27,1 %) ......
    As the chance for 30 minutes is 95 percent, the chance for 1 minute is 9.5% and for 10 minute 63.1 %.


  12. If you look at a clock and the time is 3:15, what is the angle between the hour and the minute hands? (The answer to this is not zero!)

    Solution:7.5 degrees (the hour hand is 1/4th of the way between 3 and 4, the angle measure of that is 360/12 = 30 degrees between hours / 4 = 7.5 degrees).


  13. Four people need to cross a rickety rope bridge to get back to their camp at night. Unfortunately, they only have one flashlight and it only has enough light left for seventeen minutes. The bridge is too dangerous to cross without a flashlight, and it�s only strong enough to support two people at any given time. Each of the campers walks at a different speed. One can cross the bridge in 1 minute, another in 2 minutes, the third in 5 minutes, and the slow poke takes 10 minutes to cross. How do the campers make it across in 17 minutes?

    Solution:1 and 2 cross, taking 2 minutes, 1 goes back carrying the flashlight total=3 minutes. 5 and 10 cross, taking 10 minutes totaltime now= 13 minutes, 2 goes back,total time now = 15 minutes. 1 and 2 cross again, taking 2 minutes making it 17 minutes.


  14. You are at a party with a friend and 10 people are present including you and the friend. your friend makes you a wager that for every person you find that has the same birthday as you, you get $1; for every person he finds that does not have the same birthday as you, he gets $2. would you accept the wager?

    Solution:No.


  15. How many piano tuners are there in the entire world?

    Solution:1) At first list out all the piano manufacturing companies in the world.
    2) Then look into their purchase records and find out the piano purchasers information.
    3) i) If the purchase is made by an individual or a house hold then the piano is played at best case by all the people of the house.
    ii) Else if the piano is purchased for school then list out the students that opted the piano course in their music curriculum.
    iii) If the piano is purchased by a Church then count the no of major or minor events of the church and count the piano users.
    sum up all the numbers to get more or less accurate piano users count.


  16. You have eight balls all of the same size. 7 of them weigh the same, and one of them weighs slightly more. How can you find the ball that is heavier by using a balance and only two weighings?

    Solution:choose 6 balls and weigh 3 against 3
    - if they weigh the same, you have another weighing for the remaining 2 balls and you can find the heavier one
    - if they don’t weigh the same, from the group of 3 which was heavier, choose any 2 balls and weigh them:
    - if they weigh the same, the remaining ball is the heavier one; otherwise you just found the heavier one by weighing the 2 chosen balls.


  17. You have five pirates, ranked from 5 to 1 in descending order. The top pirate has the right to propose how 100 gold coins should be divided among them. But the others get to vote on his plan, and if fewer than half agree with him, he gets killed. How should he allocate the gold in order to maximize his share but live to enjoy it? (Hint: One pirate ends up with 98 percent of the gold.)

    Solution:The highest ranked pirate gets 98 gold coins
    ---Two pirates get 1 gold coin each
    ---The other 2 pirates get nothing.

Read More...
AddThis Social Bookmark Button

WIPRO:Information  

WIPRO will be offering a pay package of 2.75 to 3.25lac p.a for B.E/B.Tech in the VTU campuses. There eligibility criteria is to be enrolled in full time courses throughout academic background and a aggregrate of 50% in 10, 50% in 12 and 60% at your graduation level.
Recruitment process will have 2 rounds. Written and Interview. The written round will have aptitude, verbal and technical which would have Sectional cut-offs. So watch out to answer all the sections. Wipro wil also be coming for its acclaimed VLSI dept. where only the e-branches, i.e the circuit branches would be elidgible. But one who couldn't clear the VLSI recruitment process can even sit for Software recruitment process.All the best!

Facts about Wipro:
-Established in 1945.
-First product was Vanaspathi.
-VLSI dept has tie ups with XILINX,ALTEC etc.

For VLSI dept be strong with VHDL, Microprocessors, Signals, Communication,LD,etc.
For Software dept the basic CS that is first year C programming concepts is a must.

Read More...
AddThis Social Bookmark Button

INFOSYS INTERVIEW QUESTIONS AND ANSWERS  

I HAVE COLLECTED THESE QUESTIONS AND ANSWERS FROM THE MAILS IN THE GROUP ONLY. FOR 3-4 QUESTIONS ONLY I HAVE FOUND THE ANSWER WITH THE HELP OF MY TEACHERS. SO KEEP IN MIND THAT THESE ANSWERS MAY NOT BE 100% CORRECT. TRY TO SOLVE IT YOURSELF.

1. Youare given two candles of equal size, which can burn 1 hour each. You have

to measure 90 minutes with these candles. (There is no scale or clock). Also u r

given a lighter.

Ans: 1. First light up the two ends of the 1st candle. When it will burn out light up

one end of the second candle.(30+60=90)

2. Try the similar problem to measure 45 minutes.

Ans: First light-up the two ends of the 1st candle and one end of the 2nd candle.

When the 1st candle will burn out ,then light up the both ends of the 2ndcandle

(15+30=45)

3. You r given a thermometer. What can u do by this without measuring the

temperature?

Ans: if u put thermometer into a tree it won’t grow anymore, will just die off

OR

U r a landscape designer and your boss asked u to design a landscape such

that you should place 4 trees equidistance from each other.

(Distance from each tree to the other must be same)

Ans: Only 3 points can be equidistant from each other. But if u place points in the

shape of a pyramid then its possible

5. You are given a cake; one of its corner is broken. How will u cut the rest into

Two equal parts?

Ans: Slice the cake

6. How will you recognize the magnet & magnetic material & non-magnetic material?

Ans: Drag one piece of material over another. There is no attractive force in the

middle portion of the magnet.

OR

Get a piece of thread and tie up with the one bar and check for poles. If it iron bar

then it moves freely and if it is magnetic bar then it fix in one direction according to

poles.

7. If one tyre of a car suddenly gets stolen.... and after sometime u find the tyre

without the screws how will u make ur journey complete?

Ans: Open 3 screws, 1 from each tyre and fix the tyre.

8. How can u measure a room height using a thermometer?

Ans: temp varies with height. but its dependent on various other factors like

humidity, wind etc.

9. What is the height of room if after entering the room with a watch ur head

strikes a hanging bulb?

Ans: Oscillate the hanging bulb. Calculate the time period for one complete

oscillation by Simple Harmonic Motion (SHM) of the handing bulb. Put it in the

formula T=2 * 3.14 * (L/G)^1/2

L will be the length of the hanging thread.

Add the L with ur height to get the height of the room.

OR

Ans: Drop it from the room and find the time at which it strikes the floor. Using

physics formulas = (at^2)/2 (IM NOT SURE ABOUT THIS ONE)

10. Color of bear.... if it falls from 1m height in 1s.

Ans: We get 'g' perfect 10 which is only in poles...hence polar bear...color White

11. How will you measure height of building when you are at the top of the building?

And if you have stone with you.

Ans: Drop the stone and find the time taken for the stone to reach the ground. find

height using the formula

s = a + gt ( s = height, a= initial velocity=0, g=9.8m/s, t = time taken)

12. How wud u catch and receive a ball in same direction? (Dropping is from north

And receiving from bottom not accepted, as it is 2 directions)

Ans: ?

13. 25 statements given. Some tell truth, some false and some alternators. Find out

the true statements.

Ans: ?

14. Can u make 120 with 5 zeros?

Ans: Factorial (factorial (0)+factorial (0)+factorial (0)+factorial (0)+factorial (0)) =

120

15.There are three people A, B, C. Liars are of same type and Truth speaking people

are of same type. Find out who is speaking truth and who is speaking false from the

following statements:

a)A says: B is a liar.

b)B says: A and C are of same type.

Ans: lets assume A is speaking truth. It means B is a liar then it means A and C are

not of same type.

16.5 swimmers A, B, C, E, F and many conditions of their positions like there are

Two b/w A & F, B doesn't win etc the question was to find who was b/w like E & D?

Ans: ?

17. in a race u drove 1st lap with 40kmph and in the second lap at what speed u

must drive so that ur average speed must be 80kmph.

Ans: its impossible! if u drove the first lap in 40 kmph, its impossible that the

average speed of both the laps is 80kmph.

for eg. consider one lap distance = 80km.

time req. to cover 1 lap = 80km/40kmph = 2 hrs.

if the avg. speed is 80kmph, then the total time would have taken =

160kms/80kmph = 2 hrs.

same is the case with any other distance u consider. so the avg to be 80kmph is

impossible
18. You have to draw 3 concentric circles with a line passing thru their center

without lifting hand.

Ans: Start the line complete one circle move inside circles along the line and then

draw second circle. Like wise rest.

19. A rectangular paper is there. At a corner a rectangular size paper is taken from

it. Now you have to cut the remaining paper into two equal halves.

Ans: try it on the paper. You must fold the part that has complete paper and select

Half of it and then fold the part that cut and selects half of it and then cut along

the folding. (I DONT UNDERSTAND THIS ONE!!)

20. Value of (x-a)(x-b)………..(x-z)

Ans: 0 as there’s X-X term

21. There are 9 coins. 8 are of 1 gm and 1 is of 2 grams. How will you find out the

heavier coin in minimum number of weighing and how many weighing it will need?

Ans: 2 weighing ( Divide the number of coins into 3 parts at each weighing)

Aptitude Questions

1.One guy has Rs. 100/- in hand. He has to buy 100 balls. One football costs Rs. 15/, One Cricket ball costs Re. 1/- and one table tennis ball costs Rs. 0.25 He spend the whole Rs. 100/- to buy the balls. How many of each balls he bought?

2.The distance between Station Atena and Station Barcena is 90 miles. A train starts from Atena towards Barcena. A bird starts at the same time from Barcena straight towards the moving train. On reaching the train, it instantaneously turns back and returns to Barcena. The bird makes these journeys from Barcena to the train and back to Barcena continuously till the train reaches Barcena. The bird finally returns to Barcena and rests. Calculate the total distance in miles the bird travels in the following two cases:
(a) The bird flies at 90 miles per hour and the speed of the train is 60 miles per hour.
(b) the bird flies at 60 miles per hour and the speed of the train is 90 miles per hour

3.A tennis championship is played on a knock-out basis, i.e., a player is out of the tournament when he loses a match.
(a) How many players participate in the tournament if 15 matches are totally played?
(b) How many matches are played in the tournament if 50 players totally participate?

4.When I add 4 times my age 4 years from now to 5 times my age 5 years from now, I get 10 times my current age. How old will I be 3 years from now?

5.A rich merchant had collected many gold coins. He did not want anybody to know about them. One day, his wife asked, "How many gold coins do we have?" After pausing a moment, he replied, "Well! If I divide the coins into two unequal numbers, then 37 times the difference between the two numbers equals the difference between the squares of the two numbers." The wife looked puzzled. Can you help the merchant's wife by finding out how many gold R

6.A set of football matches is to be organized in a "round-robin" fashion, i.e., every participating team plays a match against every other team once and only once. If 21 matches are totally played, how many teams participated?

7.Glenn and Jason each have a collection of cricket balls. Glenn said that if Jason would give him 2 of his balls they would have an equal number; but, if Glenn would give Jason 2 of his balls, Jason would have 2 times as many balls as Glenn. How many balls does Jason have?

8.Suppose 8 monkeys take 8 minutes to eat 8 bananas.
(a) How many minutes would it take 3 monkeys to eat 3 bananas?
(b) How many monkeys would it take to eat 48 bananas in 48 minutes

9.It was vacation time, and so I decided to visit my cousin's home. What a grand time we had! In the mornings, we both would go for a jog. The evenings were spent on the tennis court. Tiring as these activities were, we could manage only one per day, i.e., either we went for a jog or played tennis each day. There were days when we felt lazy and stayed home all day long. Now, there were 12 mornings when we did nothing, 18 evenings when we stayed at home, and a total of 14 days when we jogged or played tennis. For how many days did I stay at my cousin's place?

10.A 31" x 31" square metal plate needs to be fixed by a carpenter on to a wooden board. The carpenter uses nails all along the edges of the square such that there are 32 nails on each side of the square. Each nail is at the same distance from the neighboring nails. How many nails does the carpenter use?


Answer and Explanation.

1. F + C + T = 100-------------eq1
15F + C + 0.25T = 100-------------eq2
eq1=eq2 .solve to get F=3T/56 ;F=3,T=56,C=41

2.a) There is no need to consider their meeting pt at all. the train has been running for 90miles/(60miles/hr)=1.5hrs.bird flies till train reaches destination frm strting pt. so bird flies for1.5hrs at the vel given(90).so dist=1.5*90=135miles

b)
time of train=1hr. so dist of bird=60*1=60miles

3.(a) u don't need to sum it up. since it's a knock out only 1 person emerges winner finally.so15+1=16is answer. becos after15 matches finally we shud've 15losers and 1winner.

(b)
49:its always one less than no of players as per the idea given above. so no need to check okay cos its always true. ans is 49.

4. Let x= current age
4(x+4)+5(x+5)=10x ;so x=R 41 years

5.37(x-y)=x^2-y^2. u no tht x^2-y^2=(x-y)(x+y). so (x-y) cancels on both sides to give x+y=37. so sum of unequal halves=37 which is the req answer.

6.R ans:7 teams okay. for a match u need 2 teams. suppose there r totally 'n 'teams.
Now uve to choose 2 teams out of 'n' teams. so answer =no of such choices=no. of possible combinations. So we've ans = nC2(ncombination2)=21;solve to get n=7.
Sol: n(n-1)/2=21. so n=7.if u don't understand c the graph below
each team plays no. of matches=no of teams ahead of it. One bar '|' represents one team.
| | | | | | | ------------7
6 5 4 3 2 1 0 -----------21
last team is written as 0 matches becos this team has already played with all other teams-hence sum of matches =6+5+4+3+2+1=21 which is correct only if no of teams =7

7.R 14
1. G+2=j-2
2. 2(G-2)=J+2.
solve these 2 to get
J=14

8.a). Sol: each mky takes 8 min to eat a banana

b).
ans:8m=48 m=6

9.Use sets and venn diagram to solve such questions. a, b, aub, anb etc.
12=tennis+leave
18=jog +leave
so jog-tennis=6
again jog+tennis=14.so solve and get jog=10,leave=8,tennis=4.so tot=22

10.Ans= 32*2 + 30*2=124

Read More...
AddThis Social Bookmark Button

Answer: Why to Join TCS?  

Why do you want to join TCS?
TCS has a visonary of a great leader Mr Ratan Tata. Moreover being the first IT complany of our countery established in 1968 inspires me to join the company. TCS is the only place which gives me an all round development with its unique L&D programme. It gives me an equal opportunity to work in its 6+1 verticals. Me being from (dept.) wont get such an opportunity from any other company in the market.

Read More...
AddThis Social Bookmark Button