Ashfame | Tech Blog |+| Ashfame.com

I blog about blogging, tips and tricks, tutorials, hacking, hardware and reviews.

A niche is less than what I blog about.

Ashfame | Tech Blog header image

What questions are asked in Microsoft & Google interviews

ADVERTISEMENTS

If you are new here. You may want to sign up for e-mail updates or subscribe to my RSS feeds. Thanks for visiting!

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]

Tags:   · · · · · 5 Comments

Leave A Comment

5 responses so far ↓

  • 1 c0d3r Aug 19, 2008 at 10:23 am

    Im so looking forward to the answers :)

  • 2 Madhur Kapoor Aug 20, 2008 at 8:12 pm

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

  • 3 arvind Aug 21, 2008 at 7:37 pm

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

  • 4 orkut scraps Aug 27, 2008 at 10:08 pm

    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?

    MATHEMATICALLY:

    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

  • 5 Yatish malik Oct 11, 2008 at 10:32 pm

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