Microsoft Interview Question for Software Engineer in Tests






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

Error, if inputAngle <=0 || inputAngle >= Pi/2;
triangle rightAngled at B.
Say given side is sideA
if angleA given, angleC=pi/2-angleA;
(if angleC given, angleA=pi/2-angleC;)

sideB=sideA/cos(angleC);
sideC=sideB*sin(angleC);

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

which one is best and y?

- seeker7 May 31, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

one way to implement sine and cosine is to use taylor series.
Second way is to make a look up table for sine / cosine values from 0 to 2pi, with an interval of say 5 degrees. In this approach we will have to find the closest angle in the lookup table to find its value.
Advantages of method 2 are : -
1. we will be calculating the values only once.
2. For any angle,time to fetch the value is fast and same.O(1)

- Babu Hemanth Kumar May 31, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

you cannot use taylor series, because the derivative of sin(x) is cos(x).

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

MS IDC makes fool of people.
People have to come to office on weekends due to workload and do night outs, no work life balance. They pay 10-20% more make people labour.

Do take the feedback from employees before joining MS.

And work is junk, all junk wor from Redmond is transferred to IDC. Ask any team, whether they design, implement products or just do porting or maintenance or make tools.

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

true mahn...it suxxx....i am an ex emplyoee of MS and i can tell you dey treat u like shit...not as emplyoees but as labours...i left MS in 1/2 year...couldn't bear the workload and the culture..felt as if i have been choked...fuck MS

- Anonymous August 30, 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