Microsoft Interview Questions for Testers (SDE/SDET)

Software design engineers(SDE/SDET) at Microsoft apply their technical talents creatively in order to write code, while working closely with program managers to define and prioritize features. They work in a supportive network of smart, diverse colleagues who share a passion for pushing the limits of technology in order to delight and enable customers.

There’s tremendous potential for impact. A software development career at Microsoft is much more than just an opportunity to create great products; it can be an opportunity to leave your mark and create a lasting technical legacy. What you do will have a positive influence on the lives of millions around the world, now and in the future.

Software Design Engineer
Codes and designs new software, often collaborating as a member of a software development team to create and build products.

Software Design Engineer Lead

Oversees a team of software engineers assigned to a product, product upgrade, or software research project.

Learn more about the SDE and SDET position at Microsoft

Microsoft Interview Questions

for Software Design Engineers(SDE) and Software Design Engineers in Test(SDET)

1. How would you deal with changes being made a week or so before the ship date?

2. How would you deal with a bug that no one wants to fix? Both the SDE and his lead have said they won’t fix it.

3. Write a function that counts the number of primes in the range [1-N]. Write the test cases for this function.

4. Given a MAKEFILE (yeah a makefile), design the data structure that a parser would create and then write code that iterates over that data structure executing commands if needed.

5. Write a function that inserts an integer into a linked list in ascending order. Write the test cases for this function.

6. Test the save dialog in Notepad. (This was the question I enjoyed the most).

7. Write the InStr function. Write the test cases for this function.

8. Write a function that will return the number of days in a month (no using System.DateTime).

9. You have 3 jars. Each jar has a label on it: white, black, or white&black. You have 3 sets of marbles: white, black, and white&black. One set is stored in one jar. The labels on the jars are guaranteed to be incorrect (i.e. white will not contain white). Which jar would you choose from to give you the best chances of identifying the which set of marbles in is in which jar.

10. Why do you want to work for Microsoft.

11. Write the test cases for a vending machine.

Sellsbrothers advices us that for such questions

“Those were the questions I was asked. I had a lot of discussions about how to handle situations. Such as a tester is focused on one part of an SDK. During triage it was determined that that portion of the SDK was not on the critical path, and the tester was needed elsewhere. But the tester continued to test that portion because it is his baby. How would you get him to stop testing that portion and work on what needs to be worked on?

“Other situations came up like arranging tests into the different testing buckets (functional, stress, perf, etc.).”

Visit this page on sellsbrothers for other great Microsoft Interview Questions including algorithms asked, riddles, test questions, programming questions etc