What questions are asked in Microsoft & Google interviews

I have just came across these hot questions which were asked in Microsoft & Google interviews. I thought of writing this post where I will try to assemble answers of these questions. The reason why I am interested in these questions is that my dream company is Google. Yes, I want to work for Google one day. I know I can and I will. With this post you might improve on answering interview questions well.

Google Interview Questions & Answers

  1. How many golf balls can fit in a school bus?
  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?
  3. How many piano tuners are there in the entire world?
  4. 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?
  5. Describe a chicken using a programming language.

Microsoft Interview Questions & Answers

  1. 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?
  2. Pairs of primes separated by a single number are called prime pairs. Examples are 17 and 19. Prove that the number between a prime pair is always divisible by 6 (assuming both numbers in the pair are greater than 6). Now prove that there are no ‘prime triples.’
  3. Imagine an analog clock set to 12 o’clock. Note that the hour and minute hands overlap. How many times each day do both the hour and minute hands overlap? How would you determine the exact times of the day that this occurs?
  4. How much does a 747 weigh?
  5. Imagine a disk spinning like a record player turn table. Half of the disk is black and the other is white. Assume you have an unlimited number of color sensors. How many sensors would you have to place around the disk to determine the direction the disk is spinning? Where would they be placed?

I am assembling answers of these questions and will probably update this post tomorrow. If you know answer of any question then kindly comment here so that I can include it here with a linkback to you.

[via Readerszone] [via Royal Pingdom]


27 responses to “What questions are asked in Microsoft & Google interviews”

  1. Im so looking forward to the answers 🙂

  2. Sometimes the questions will not have any exact answer. They generally see how you try to anwer it, your approach.

  3. This is quite a interesting questions and i don’t know answer of any one

  4. hi i have one of the answer to your question

    The question:
    “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?


    The answer:
    ” about 1:1″

    Your explanation:
    “Pretty simple. Half the couples have boys first, and stop. The rest have a girl. Of those, half have a boy second, and so on.
    So suppose there are N couples. There will be N boys. There will be an “infinite” sum of girls equal to N/2 + N/4 + N/8 + … As any college math student knows, this sum adds up to N. Therefore, the proportion of boys to girls will be pretty close to 1:1, with perhaps a few more boys than girls because the sum isn’t actually infinite. ”

    My explanation: the same excpect that:

    …There will be an “infinite” sum of girls equal to N/4 + 2N/8 + 3N/16 + 4N/32… whose sum does add up to N….

    This is why:

    1/2 have a boy and stop: 0 girls
    1/4 have a girl, then a boy: N/4 girls
    1/8 have 2 girls, then a boy: 2*N/8 girls
    1/16 have 3 girls, then a boy: 3*N/16 girls
    1/32 have 4 girls, then a boy: 4*N/32 girls

    Total: N boys and
    1N 2N 3N 4N
    — + — + — + — +… = ~N
    4 8 16 32

    1. anynymous Avatar

      FYU, you logic is correct, but your evaluation of \sum{i/2^i} is not accurate. . .

    2. Coolboy Avatar

      But in question we don’t have a clear information for half of the couples have boy, i think this is a assumption.

      1. Its about how you approach to the problem 😉

  5. Yatish malik Avatar
    Yatish malik

    nice work done yaar…..u do ur homework very well !!

  6. the answer is zero buddy…
    dnt ask me al d logic n reasoning part…

  7. as some one said..the answer is zero……logic is simple..use ur common sense…….there will as number of boys as no of girls…..

  8. Tks so much for nice post


  9. […] do you think companies like Microsoft and Google are famous for their non-technical questions? Some people think it’s because they’re looking for the smartest people. I’d […]

  10. Hi,
    I had my interview with Google for associate product manager .. you can read the interview here


    hope it is useful to others..

  11. Vaishnavi Desai Avatar
    Vaishnavi Desai


    Your post seemed very useful to me…
    Good job..
    I am having an interview at Google and was browsing around to find some info.

    Thanks a lot..

    1. @Vaishnavi
      My pleasure! I myself lost track of finding & posting the solutions here. May be some day..

  12. wonderful quastionary trying to solve it…
    [Don’t use keywords as names]

  13. interesting to solve like puzzle..
    [Don’t use keywords as names #2 warning]

  14. My mind would be free if you had the answers on it buddy

    1. Better exercise your mind because I am so lazy. I might do them later. Why not subscribe? 😛

  15. Very nice post. I run across http://www.technical-interview.com which has some nice collection of questions

    1. May be! :/

  16. for the jelly beans quetion the answer is four

  17. thanks,really a very gud work.Now i m in 2nd year,doing my B-Tech and its my dream to work in MICROSOFT.I really loved the questions which were there.I wud appreciate if u cud Email more questions & cud provide me the latest updates of Microsoft.I wud be really very thankful if u cud tell me how shud i prepare ??????????

  18. praneeth yadav Avatar
    praneeth yadav

    da questions are really interesting… am lookin forwrd to knw da answers… i’m praneeth yadav.. doin ma graduation … ma dream job is to work with GOOGLE… love da company.. i can do anything to get a job in it.. i’m very passionate abt a job in google.. acutually i was surfing to get some info abt it.. and yo helped me in knwing some part of it.. thanx alot..”)

  19. G2. stand on the exact center of the blades. You get really dizzy but dont get chopped up.
    G4. assuming each child has equal probability of being born male or female – the ratio should remain near 1:1 – as each event is independent. Related question: avg number of children a couple has? Ans: 2
    M1. 4 beans.
    M2. Any set of 3 consecutive numbers must contain a number divsible by 3. A prime pair therefore must have the central number divisible by 3. Additionally as the primes are odd (except 2), this number is even. Thus divisible by 6. A prime triple cant exist for the same divisibility by 3 issue. For any consecutive seq N1 N2 N3 N4 N5, if N2 is div by 3, N5 will also be divisible by 3.
    M3. There are eleven overlap positions 12.00, 1.x, 2.x … 10.x – each occurs twice in a 24 hr period.
    M5. 2 place then say at 12Oclock and 1Oclock positions. Assume sensor lights up when disc below it is white. If 12oClock lights up just a little before 1 – its spinning clockwise.


  20. i need the answers very badly

  21. Venkat Avatar

    FYU, your solution is right too. There are at least 2 ways to look at the problem