Microsoft Interview Question for Software Engineer in Tests






Comment hidden because of low score. Click to expand.
0
of 0 vote

(360+(5*hrs-11*min)/12)%360

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

(360+(5*hrs-11*min)/12)%360

- RaghuC February 23, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

The above answer is wrong.

6*(5*hrs-(11/12)*min)

If you consider time as 3:48)
so 6*(5*3-(11/12)*48) = -174

Take the MOD.

- Gajanan March 06, 2010 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

why do we have to multiply minutes hand by (11/12)

- Anonymous March 08, 2010 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Above given formula are just shortcuts of the following. You dont need to mug it up. Just use the following formulae..
Mod((H*30+M*0.5) - (M * 6))
Hour hand moves 30Deg/Hr & 0.5Deg/Min
Min Hand moves 6Deg/Min. And, 360Deg/Min(Ignored)

- B March 18, 2010 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Yes, just using the formulae directly would be an obvious display of mugging it up. This is not a hard problem to derive the formulae (already mentioned in above post)

- Anonymous March 21, 2010 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

why do they still ask such stupid questions?

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

because they still release Windows :D

- Anonymous February 25, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

That was really funny

- That was really funny February 28, 2010 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

30h -(11m/2)

- Sneha February 27, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

ans = 6(5h - min)
if(ans is negative)
ans = ans +360 ;

- Anonymous April 25, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

eg:
1:00

6(5(1) - 0) = 30 D

3:48

6(5(3) - 48) = 6(15-48) = 6(-33) = -198 + 360 = 162D

- Anonymous April 25, 2010 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

The purpose is to see how many questions you would ask back. Like.. is the time in 24 hour format. Does this clock move one click at a time for both minute and hour hand? If it does, then the shift in hour clock would be mins/12 ticks, at 6 degrees each tick.

- Rohit June 25, 2010 | Flag Reply


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