The Microsoft Interview

Published 17 April 06 10:00 PM | Jason Looney 

I’ve always assumed that I would be too stupid to survive the Microsoft interviewing process.  In case you don’t already know, Microsoft is renowned for asking clever little logic questions during their interviews, and I am renowned for being really stupid.  Not a good combo.

But then Jensen Harris linked to a list of the questions a while back, and I gave them a look.  Much to my surprise, they weren’t that bad.  So I decided to face my fears, print out the questions, and give myself 30 minutes to answer all of them. 

Over all, I did pretty well.  There were only a couple where I didn’t quite understand the question. 

If you had an infinite supply of water and a 5 quart and 3 quart pail, how would you measure exactly 4 quarts?

Um, haven’t you seen Die Hard 3?  This is one of the puzzles Bruce Willis and Sam Jackson solve during their little game with the terrorists.  I’ve seen this movie eight or nine times now, so it would prove absolutely nothing if I sat here and recited the answer to you.  Even if I could remember it.

But, come to think of it, if I had an infinite supply of water I would end world hunger by watering the desert.  Then I’d use the proceeds from my Nobel prize money to buy a four quart pail.  And I’d do all of this just to satisfy you.  Tell me, would you love me then?

If you are on a boat and you throw out a suitcase, will the level of water increase?

Unless it’s a water-tight suitcase, yes, the level of water will increase.  Also the suitcase will feel abandoned as it drowns. 

Note: I don’t think this question actually makes any sense.

On average, how many times would you have to open the Seattle phone book to find a specific name?

Know this:  I am not a quitter.  I will open a phone book looking for a name, and I'll keep flipping around until I find the name.  I don’t know about Seattle, but in Denver, our phone books are alphabetized.  Between that and my never-say-die attitude, I don't think I've ever had to open a phone book more than once. 

If you look at a clock and the time is 3:15, what is the angle between the hour hand and the minute hand?

AM or PM?

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?

The probability of them colliding is zero for I would kill them.  Even if they look like circus ants.  If you're looking for the ant kingdom's genocidal maniac, you've come to the right place. 

Actually, they'd all have to go the same direction in order to not collide, right?  So either they all go left, or they all go right, right?  Three ants, each with two choices, gives us 2^3 possible combinations of movements.  2^3 is somewhere around eight, so I'd say you have a 1 in 4 chance (2 in 8, really, but I reduced, because that's one of my key skills (see Education and Certifications section on resume)) of them colliding.

If I'm anywhere nearby, though, those odds turn to 0 in 1000, since I really, really like killing things, and no one minds a few dead ants.  I'm not kidding.

What new feature would you add to MSWORD if you were hired?

I would add a button to the main toolbar that said "Quit Sucking Balls".  When you clicked the button, it would stay depressed and change to "Start Sucking Balls."  With the "Quit Sucking Balls" feature enabled, MSWORD would quit sucking balls.  It would stop re-underlining things I've told it to ignore, automatically formatting things I don't want formatted, and do away with the whole paragraph/style/styles-based-on-styles/everything's-a-nasty-long-style paradigm.

Why did you pick the school you graduated from?

First, it's nice to see you aren't all stuffy and serious about the whole "don't end a sentence with a preposition" thing.  Me to. 

I'll tell you this… My wife and I graduated from two different universities, and neither of us have a sweatshirt from either university.  In fact, we've never owned such sweatshirts in our lives, not even during the combined 17 years it took for us to get two bachelors degrees (and three STDs).

Now, I'm sure you're asking this question for some sneaky reason, so let me assure you, I'm much more assertive now.  If I were choosing today, I would probably pick MIT, because that's where Matt Damon went.

Why do you want to work for Microsoft?

Okay, no kidding here.  Take the highest prime number you can think of, square it, then round up to the nearest rhombus. 

That's how much I love Microsoft.

How many Gas stations are there in the US?

No way you can expect me to know that.  Are you merging with Exxon or something? 

Ah, wait... This is one of those, "How do you think?" questions, isn't it?  Okay, then, here's my algorithm:

 1) Start with the highest prime number I can think of  (11)
 2) Square it (100+)
 3) Round up to the nearest rhombus (400,000)

So, 400,000.  On the nose.

How would you weigh a plane without using scales?

I'd hold it with my right hand for a while, write down an estimate, then hold it for my left hand for a while, write down that estimate, then average the two estimates.  Given the situation, I think a median average would be more telling than the mean.

How would you move Mt. Everest?
I would tell it a touching story about a boy in love with his bunny.  (Note: The bunny dies at the end.)

Two MIT math graduates bump into each other at Fairway on the upper west side. They hadn't seen each other in over 20 years.
The first grad says to the second: "How have you been?"
Second: "Great! I got married and I have three daughters now"
First: "Really? how old are they?"
Second: "Well, the product of their ages is 72, and the sum of their ages is the same as the number on that building over there.."
First: "Right, ok.. oh wait.. hmmmm.., I still don't know"
second: "Oh sorry, the oldest one just started to play the piano"
First: "Wonderful! my oldest is the same age!"

Problem: How old are the daughters?

Hopefully old enough to run away from their freakish parents.  I have to say, this test is starting to get a little weird. 

Why are beer cans tapered at the top and bottom?

How would I know?  I drink beer from bottles.  They're tapered at the top to serve as a proper handle in bar fights.

Soda cans are tapered, I believe, because soda’s for pansies.

Why is it that hot water in a hotel comes out instantly but at home it takes time?

It takes a while at home because the water sits around in the pipe and cools down, and you have to warm the pipe.  In the hotel, your pipe is already warm, if you get my drift.
 
How many times a day do a clock's hands overlap?

I'm going with 24.  Here's my algorithm:

 1) I think the hands cross once every hour.
 2) I think there are 24 hours in every day.

I can't wait for you tell me, with your smug little smile, what the hell I'm missing here.

Mike has $20 more than Todd.  How much does each have given that combined they have $21 between them. You can't use fractions in the answer.

So Mike has whatever Todd has, plus a twenty.  This means that there's no way for their total to be an odd number (since any amount Todd has must be multiplied by two, and 20 is an even number), and that you are stupid for asking this question. 

(Unless I can use decimals in the answer…)

There are four dogs, each at the counter of a large square. Each of the dogs begins chasing the dog clockwise from it. All of the dogs run at the same speed. All continously adjust their direction so that they are always heading straight towards their clockwise neighbor. How long does it take for the dogs to catch each other? Where does this happen? (Hint: Dog's are moving in a symmetrical fashion, not along the edges of the square.)

Thanks for the hint.

Do they take any timeouts to poop in my yard?  If not, then this question is too hypothetical and I’m done with this interview.  If so, then the answer is: they never catch each other.  They spend their entire lives pooping on my lawn, just like every other dog in this neighborhood.


I guess I’m not what you’d call “Microsoft material.”  But then again, neither is this guy.  But this guy is.

See also:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Cody said on April 18, 2006 7:20 AM:
I've always though the exact same thing about the Die Hard III question.  I would refuse to answer this, in fact, unless they spoke just like Jeremy Irons when asking.
# TS said on April 18, 2006 8:59 AM:
Since I'm sure I wasn't the only curious one...I actually sat down and figured out the 4 quart question.

1. Fill the 5 qt
2. Pour that into the 3 qt leaving you 2 qts in the 5 qt container.
3. Empty the 3 qt.
4. Pour the 2 qts into the 3qt container.
5. Fill the 5 qt.
6. Top off the 3qt container from the 5qt, leaving you with 4 qts in the 5 qt container.
# Jeff Atwood said on May 24, 2006 12:23 AM:
> I would add a button to the main toolbar that said "Quit Sucking Balls".  When you clicked the button, it would stay depressed and change to "Start Sucking Balls."  With the "Quit Sucking Balls" feature enabled, MSWORD would quit sucking balls.

LOOOOL. Good luck with that.

p.s. you're fired
# Kirit said on May 25, 2006 12:07 AM:
LOL Much funnier than I could hope to be :-)

You may be interested in this though:
http://www.kirit.com/Interview%20by%20under-constrained%20programming
# Keith J. Farmer said on July 5, 2006 2:15 PM:
TS:  another solution, for the case where you're not allowed to transfer from the 5qt to the 3qt.

1. Fill 3qt container.
2. Transfer 3qt into 5qt container.
3. Fill 3qt container.
4. Transfer 2qt into 5qt container. 1qt remains in 3qt container.
5. Empty 5qt container.
6. Transfer 1qt into 5qt container.
7. Fill 3 qt container.
8. Transfer 3qt into 5qt container. 4qt now in 5qt container.
# tm said on July 5, 2006 5:08 PM:
TS: Here's one more solution. This one matches the theme of the blog :)

1. Fill 5qt. container
2. Pour it all in the 3qt. container (and let it overflow on the floor)
3. Drink 3qt. container
4. Repeat step #1
5. Repeat step #2

Here you go. You have exactly 4qt. of water on the floor! No one mentioned anything about having the 4qt. in a container!
# Rod Trent at myITforum.com said on July 5, 2006 8:42 PM:
The Microsoft Interview
# Karthik said on July 5, 2006 9:49 PM:
Hahaha...Those r Awesome answers :)
Want more of this
# Duncan said on July 6, 2006 8:20 AM:
Laughed my arse off, out-loud! Great stuff, keep it coming!
# Radu Grigore said on July 6, 2006 11:30 AM:
"How many times a day do a clock's hands overlap?"

You can, of course, give a more precise answer than 24 if you look at the clock and start counting for a little while (i.e., one day). I hear the interviews are long at MS anyway.
# Sorting It All Out said on July 6, 2006 11:44 AM:
Seems like everyone wants a piece of Jason's interview question:
Two MIT math graduates bump into each...
# James Curran said on July 7, 2006 10:06 AM:
"How many times a day do a clock's hands overlap?"

um... 22.  

They cross at 12 o'clock.  They cross again *More than an hour later*, just after 1am. They cross again *More than an hour later*, just after 2am.   If something take you more than an hour, you can't do it 24 times in 24 hours.

Actually, they would cross at (approx) 1:05:25, 2:10:50, 3:16:15, 4:21:40, 5:27:05,  6:32:30 etc  (each time 1:05:25 after the later), which ends up making the 11AM and the 12 noon crossing the same one.  That happens twice, so 22 crossings.
# James Curran said on July 7, 2006 10:24 AM:
>> Two MIT math graduates bump

Filter A: three number which multiple to 72:
 a) 1 * 1 * 72
 b) 1 * 2 * 36
 c ) 1 * 3 * 24
 d) 2 * 2 * 18
 e) 1 * 4 * 18
  f) 1 * 6 * 12
  g) 2 * 3 * 12
  h) 2 * 6 * 6
  i) 3 * 4 * 6
  j) 3 * 3 * 8
Filter B: all three children born in the last 20 years.
  Eliminates a) b) & c)

Filter C: the three numbers sum to a value we don't know, but is not enough information to settle the matter, even if we did.
 d) 2 + 2 + 18  = 22
 e) 1 + 4 + 18 = 23
  f) 1 + 6 + 12 = 19
  g) 2 + 3 + 12 = 17
  h) 2 + 6 + 6 = 14
  i) 3 + 4 + 6  = 13
  j ) 3 + 3 + 8 = 14

If the building number was anything but 14, we'd know the answer, so we can eliminate all but h) & j)

Filter D:  There is one "oldest"
Since neither of the 6-year-old twins would be called the "oldest", we must eliminate h), leaving us with just j)
Ages:  3 3 & 8
 
# Anatoly Lubarsky said on July 7, 2006 8:51 PM:
# IvyMike said on July 7, 2006 11:59 PM:
<i>Since neither of the 6-year-old twins would be called the "oldest", </i>

I always wonder about this.  These super-anal professors should realize that one of the twins is older than the other one, if only by a few minutes.  That always pisses me off.
# Mellowman said on July 10, 2006 12:24 PM:
If you look at a clock and the time is 3:15, what is the angle between the hour hand and the minute hand?

(360 / 12) * (1 / 4) = 7.5%
# EvilSpudBoy said on July 13, 2006 8:03 AM:
"If you had an infinite supply of water and a 5 quart and 3 quart pail, how would you measure exactly 4 quarts?"

1) Fill the 5 quart container to the line marked '4'

# EvilSpudBoy said on July 13, 2006 8:21 AM:
"Problem: How old are the daughters?"

It seems pretty obvious there is no wife or daughters since neither of these guys have any hope of attracting a member of the opposite sex.  

The statement, "Wonderful! my oldest is the same age!" is just the first guy's way of saying, "I'm just as pathetic as you, but I won't call your bluff if you don't call mine."  I'm pretty sure it must have been followed by a moment of awkward silence and an abrubt change of subject.
# yushi said on July 18, 2006 9:31 PM:
You guys are all wrong about the clock question, you are forgetting to calculate in the second hand.

The second hand is aligned with one of the other hands twice every minute.

They cross 120 times an hour.

They cross 2880 times in a day.
# Zupancic Perspective said on August 2, 2006 2:40 PM:
# Noah Coad's Code said on August 16, 2006 11:57 AM:
When I see a blog post or article that I want to read, investigate, follow up on, etc, I jot it down...
# Steve Smith said on September 11, 2006 2:38 PM:
http://www.emicrosoftinterview.com site has all puzzles and technical questions answered.
# moredotnet said on December 28, 2006 4:48 AM:

Greetings!

 I had been searching for ASP.NET 2.0 Interview Questions over the web but was unable to find a place where a good repository of questions could be found. So I decided to compile & publish them.

Here is the location: http://aspnetinfo.googlepages.com  (Maybe Useful 4u:)

You may also find some other questions at http://moredotnet.googlepages.com

Cheers

# Gurjinder Singh Brar said on January 4, 2007 8:58 AM:

Good for developers. If you looking for real Micosoft.Net  Interview Questions and Answers please visit

http://dotnet-question-answer.blogspot.com/

# gestibar said on February 13, 2007 3:07 AM:

nice :)

;))

# Pal said on March 19, 2007 7:33 AM:

good one.....thanks

some interview questions http://techpreparation.com

Leave a Comment

(required) 
(optional)
(required)