Microsoft Interview Question for Software Engineers


Team: Windows
Country: United States
Interview Type: Phone Interview




Comment hidden because of low score. Click to expand.
4
of 8 vote

The result has NO related with the color of car and the music of listening. The only thing which will effects the result is date.

So John will have 30% probability reaching office before the time on Tuesday and Friday.

- vista.shao August 14, 2015 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 4 vote

The answer should be c). It is not reasonable to expect a causal relationship between color of car, music, and the time arrived at work.

- Kip August 13, 2015 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 4 vote

I think the option (a would maximize his chance
because,
for option (a
prob(driving red car AND listening to POP music AND arriving earlier on Friday) =
0.4*0.4*0.3 = 4.8%
for option (b
= 0.3 * 0.3 * 0.3 = 2.7%

- mina.fouad.beshay August 14, 2015 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

Your idea is good, however it should not be calculated in that way. If we do like that, then the prob(red, pop, arrive not earlier on fri.) = 0.4 * 0.4 * 0.7 is also larger than black&rock.
The problem is P(Red&pop|Fri) != P(Fri|Red&pop).
if we assume the conditions are mutual independent, P(Fri|Red&pop) = P(Fri&Red&pop) / P(Red&pop) = P(Fri), so they are all the same.

- Eidolon.C August 17, 2015 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

we are not calculating P(Red&Pop&BeforeOnFriday), we are calculating P(BeforeOnFriday|Red&Pop)

- stafuc September 01, 2015 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

a.) would maximize his chances to reach office early
Total cases=10
a.)probability=probability of driving red car *probability of listening to POP music * probability of reaching office early on friday = 4/10 * 4/10 * 3/10=0.048
b.)probability=probability of driving blue car *probability of listening to rock music * probability of reaching office early on teusday= 3/10 * 3/10 * 3/10=0.027

- soni.komal712 August 18, 2015 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Probability for option a = 0.4+0.4+0.3 = 1.1
Probability for option b = 0.3+0.3+0.3 = 0.9

Ideal total probability = ideal option a probability + ideal option b probability = 1+1 = 2
obtained probability = option a probability + option b probability = 1.1+0.9=2

Percentage probability:
Option a percentage = 1.1/2 = 55%
Option b percentage = 0.9/2 = 45%

So option a is optimal with 55% probability

- vinayak.emb September 01, 2015 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

i.e. Option a has 10% higher probability compared to option b

- vinayak.emb September 01, 2015 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

you need to multiply 0.4, 0.3, 0.3 to get probability, not sum

- codealtecdown September 06, 2015 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Dude! probability cannot be greater than 1 !!! How do you say "prab. for a is 1.1"?

- Anonymous October 08, 2015 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

prob of option a =.4*.4*.3=.048
prob of option b=.3*.3*.3=.027

- shubham.asati2626 September 12, 2015 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

probability of option a is .4*.4*.3=0.048
probability of option b is .3*.3*.3=0.027
as all these are independent events.so option a has more probability

- apoorva September 26, 2015 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Answer is B

- vivek November 18, 2015 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

a) .4*.4*.3 = 0.048
b) .3*.3*.3 = 0.027

- Anonymous February 24, 2016 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

a).4*.4*.6=.096
b).3*.3*.6=.042

as he has to go either on tuesday or friday

- kaluramfiza March 01, 2017 | Flag Reply
Comment hidden because of low score. Click to expand.
-1
of 3 vote

I thinks both of question are "whatever" because the color of car and music type do not related with the result.

Based on observation, we got 30% probability to reaching at office before the time. So whatever the color of car which John drives or whatever the music John listening. John will has 30% probability to reaching at office on Friday and Tuesday.

- Anonymous August 14, 2015 | Flag Reply
Comment hidden because of low score. Click to expand.


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More