Microsoft Interview Questions
- 1of 1 vote
AnswersReverse a string , . don't use any temp variable to store the string .
- neal October 07, 2008| Report Duplicate | Flag | PURGE
Apple Microsoft Software Engineer / Developer Software Engineer in Test String Manipulation - 0of 0 votes
Answershow to test
- Jackie October 02, 2008
HRESULT drawpoint(int x,int y, Color c)| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test - 0of 0 votes
Answersgiven string
- Jackie October 02, 2008
input1, input2, remove wherever the occurence of input2 in input1.
e.g:
input1: abcthabdtheshhtexyztheaaa
input2: the
will become abcthabdshhtexyzaaa
give the test cases.| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Algorithm - 1of 0 votes
AnswersLast guy told me to design the T9 system, which is the predictive text system on cell phones. E.g type 49556 and get "hello" and also other words that matches 49556. More specifically, how do I store a text file containing a dictionary on a cell phone and efficiently read from it.
- Anonymous September 25, 2008| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Algorithm - 1of 0 votes
AnswersThis guy asked me about my college, why I am here, what are my long term goals, etc. And then he asked supposed you're on the windows Vista team and there are 5 million programs we have to make sure it works for Vista, but we only have enough resources to test 5000 of them, how do you do it?
- Anonymous September 25, 2008
- This you just have to explain how statistics work and tackling a lot of work by splitting them up and categorizing them.| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Testing Experience - 4of 0 votes
AnswersGive me the best way to multiply an integer by 3.5. There are many solutions to this but (x>>1)+x+(x<<1) is the best since it is least prone to overflowing.
- Anonymous September 25, 2008| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Computer Architecture & Low Level - 4of 0 votes
AnswersWrite a function to convert integers to roman numerals with 1=I, 5=V, 10=X, 100=C, 1003=M. E.g. 3999 = MMMCMXCIX
- Anonymous September 25, 2008
This was tougher than I thought.| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Coding - 0of 0 votes
AnswersHow would you test a vending machine.
- Anonymous September 25, 2008| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Testing - 0of 0 votes
AnswersGiven a 2 dimensional array of integers representing a tictactoe board, write a function to look for winners.
- Anonymous September 25, 2008| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Coding - 6of 0 votes
AnswersReverse a linked list iteratively, do it first with single pointers and then do it again with double pointers. Now do it again recursively but not tail-recursive, and then do it again tail-recursively. What do you do if it has a loop?
- Anonymous September 22, 2008| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Coding - 0of 0 votes
Answerhi,
- ujjwal akash September 19, 2008
can anyone tel me the difference b/w file pointer and file
descriptor and in
which situation both of them should be used , i need example for both
of them.| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test - 1of 0 votes
Answers1. Implement memcopy considering the overlap
- M Alam August 30, 2008
2. Given a linked list:
a->b->c->d....
Write a function to swap the each node pair , such that output will be as follows:
b->a->d->c->...| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Algorithm - -2of 0 votes
AnswersGiven a array that contains N integer, find a most efficient way to shuffle the array elements.
- Max August 21, 2008| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Algorithm - 0of 0 votes
AnswersImplement float returnAngle(int hour,int min) that tells you the angle between the hour and the minute hands on a clock.
- Retrun angle given hour and minute August 19, 2008
so basically at 2:00 the angle is 60deg, the function should return 60.| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Math & Computation Coding - 0of 0 votes
Answerswrite a program that accepts two mandatory arguments without using any built in date or time functions . The first argument is a string "[HH:MM {AM|PM}" and the second argument is an integer which denotes minutes. The minutes get added to the string. The return value or output of the program should be a string of the same format as the first argument. For example AddMinutes("10:23 AM", 13) would return "10:36 AM
- rover June 11, 2008| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Algorithm - 0of 0 votes
AnswersWrite code to reverse a singly linked list
- chriswho May 15, 2008| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Software Engineer / Developer Data Structures Coding Algorithm - 0of 0 votes
AnswersWhat data structure would you use to implement MS Excel? Justify your approach.
- MS Geek April 22, 2008| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Algorithm - 0of 0 votes
AnswersFind the median value of two sorted arrays.
- vodangkhoa April 21, 2008| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Algorithm - 0of 0 votes
AnswersAsked in 1st and 2nd interview at campus placement at IIIT Gwalior.
- Mohit Garg April 20, 2008
An 8 x 8 char array is provided with random letters. You have to tell if a given string occurs.
eg
String to find = "computer"
Array[] = {
b b b b b b b b
b b b c b b b b
b b o b b b b b
b b b m p b t b
b b b u b u b e
b b b t b b b r
b b b e b b b b
b b b r b b b b
}
Ans : Available| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test C Algorithm - 0of 0 votes
AnswersHow would you test the efficiency of a traffic light.
- Hydbadi April 09, 2008| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Ideas - 0of 0 votes
AnswersExplain and write the code for Concurrent Read, Exclusive Writer
- vodangkhoa April 07, 2008| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Operating System - 0of 0 votes
AnswersImplement Run Length Encoding.
- gauravk.18 April 04, 2008| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Coding - 0of 0 votes
AnswersGiven a binary tree link all the right child of a node to their left siblings if present.
- gauravk.18 April 04, 2008| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Coding - 0of 0 votes
AnswersImplement Strtok function.
- gauravk.18 April 04, 2008| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Coding - 0of 0 votes
AnswersHow to partition text into words, where there are no space characters in the stream of
- vodangkhoa March 23, 2008| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Algorithm