Microsoft Interview Questions
- 0of 0 votes
AnswersGiven a set of data ranges (i.e. 2-7, 5-9, 10-20), write a function to determine if there is any overlap within the set. Write test cases. Which data structure would be best to represent the intervals.
- Aashish June 23, 2012 in India| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test - 0of 0 votes
AnswersGiven an n-ary tree, find the closest common ancestor ? Discuss the time complexity and write testcases.
- ps April 24, 2012 in United States| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Trees and Graphs - 0of 0 votes
AnswersImplement a stack with 3 operations: push, pop and findmiddle(). At any point in time, findmiddle() should return the middle element of the stack (n/2+1) without popping out the elements. ie. in O(1) time
- ps April 20, 2012 in United States| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test - 0of 0 votes
AnswersIdentify whether an math expression is legal.
- superffeng April 20, 2012 in United States for Server and tools in microsoft erp
for example: {[3*(3+2)]+1}*5 is legal
{(]3++}+4 is illegal| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Testing - 0of 0 votes
AnswersHow to test a whiteboard?
- superffeng April 20, 2012 in United States for Server and tools in microsoft erp| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Testing - 0of 0 votes
AnswersReverse the word in a string.
- superffeng April 20, 2012 in United States for Server and tools in microsoft erp
for example:
"hello world" after is
"olleh dlrow"
desgin test cases| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Algorithm - 0of 0 votes
Answersprint out the start and end index of the subarray that has the largest sum in an integer array.
- superffeng April 20, 2012 in United States for Server and tools in microsoft erp
Design test case| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Algorithm - 0of 0 votes
Answersreturn the 2nd largest number in an integer array, then design test cases:
- superffeng April 20, 2012 in United States for Server and tools in microsoft erp| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Algorithm - 0of 0 votes
AnswersWrite a program for binary tree (not BST) where left is connected to right and the whole structure is connected.
- ps April 16, 2012 in United States| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Data Structures - 2of 2 votes
AnswersSay there is a string hllsacefgdbdfdfdffd
- tarun.aggarwaltarun March 17, 2012 in India
You need to find the biggest string that has all consecutive characters
Conditions
consecutive string might have jungled words i.e acb is also continous or bcad is also continuous| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Algorithm - 0of 0 votes
AnswersGiven a binary tree with each node has count (no. of children + 1). Write an inorder traversal to find the ith node in O(lgn).
- loosy.jhony March 12, 2012 in Dubai for AzurNode * ithNode(Node *root, int i) { // return ith node in Inorder traversal. }
| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test - 0of 0 votes
AnswersFor String Reversal... how I address the space between the words in a sentence..where in it should be
- ariesgirl069 March 06, 2012 in United States
?
Not necessary inplace..any method is fine.
olleh dlrow| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Algorithm - 0of 0 votes
AnswerWCF Implementation and Testing ?
- ariesgirl069 March 02, 2012 in United States for MSIT
Write performance test plans ?
How would you Develop Performance test cases across Lync features, Execute perf memory testing for eg: Lync
Execute perf time testing for Lync etc| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test General Questions and Comments - 0of 0 votes
AnswersFind 1st non-repeating char in string ?
- ariesgirl069 March 02, 2012 in United States for MSIT| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Algorithm - 0of 0 votes
AnswersGiven a StackA, & an additional StackB implement PushBottom() and PopBottom() ?
- ariesgirl069 March 02, 2012 in United States for MSIT| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Algorithm - 0of 0 votes
AnswersWhats DLL and Net Framework how both are different..?
- ariesgirl069 March 02, 2012 in United States| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test General Questions and Comments - 2of 2 votes
AnswersFind all Subsets that sum upto 10. example
- ariesgirl069 March 02, 2012 in United States
int [] arr ={1,2,3,4,5,6}
Subsets are :
4,5,1
4,6
2,3,5 etc.
Any Suggestions ?| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test C# - 0of 0 votes
AnswersWhy an abstract class can not be instantiated ?
- ariesgirl069 March 02, 2012 in United States for IE| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test C# - 0of 0 votes
AnswersCompres String
- Markjean February 28, 2012 in United States
Test cases| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Algorithm - 0of 0 votes
AnswersFind merge node of two linked list
- Markjean February 28, 2012 in United States
example:A->B->C->D
Linkedlist2: E->F->A->B->C->D| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Algorithm - 0of 0 votes
AnswersReverse sentence: Example:
- Markjean February 28, 2012 in United States
"Hello life "
to
"life Hello"
Test cases| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Algorithm - 0of 0 votes
AnswersExplain WCF?
- arianSonia February 11, 2012 in United States for Azure
What is Webservice?
What is SOAP Protocol?
Difference between HTTP and TCP?| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Front End Web Development - 0of 0 votes
AnswerHow you will create automation framework?
- arianSonia February 11, 2012 in United States for Azure
Reverse a string and write test case?
Get all Duplicates from Array, Optimize and Type of Data Structure.
Sealed AccessSpecifier,Complete Scrum Process
Code Coverage for a Test Case ?
WCF Question, Test a WCF Services etc| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Data Structures - 0of 0 votes
AnswersIf a function has 2 if block( not nested) , how many test case you will need for code coverage?
- arianSonia February 11, 2012 in United States for Azure
What is idempaotence webservice?| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test C# - 0of 0 votes
AnswersGiven a web service such where the input is the TokenID and it lets the user download the Product. Write test cases to test this webservice. Its a vague q's
- arianSonia February 11, 2012 in United States for Azure| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Application / UI Design - 0of 0 votes
AnswersIf a function has 2 if block( not nested) , how many test case you will need for code coverage?
- arianSonia February 11, 2012 in United States for Azure
10) Explain WCF?
11) What is Webservice?
12) What is SOAP Protocol?
13) Difference between HTTP and TCP?
14) How you will create automation framework?
15) Reverse a string and write test case?
16) Get all Duplicates from Array, Optimize and Type of Data Structure.
17) Sealed AccessSpecifier
18) Complete Scrum Process
19) Code Coverage for a Test Case ?
20) WCF Question, Test a WCF Services etc| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Algorithm - 0of 0 votes
AnswerGiven a web service such where the input is the TokenID and it lets the user download the Product. Write test cases to test this webservice. Its a vague q's
- arianSonia February 11, 2012 in United States for Azure| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test - 0of 0 votes
AnswersIf a function has 2 if block( not nested) , how many test case you will need for code coverage?
- arianSonia February 11, 2012 in United States for Azure
9) What is idempaotence webservice?
10) Explain WCF?
11) What is Webservice?
12) What is SOAP Protocol?
13) Difference between HTTP and TCP?
14) How you will create automation framework?
15) Reverse a string and write test case?
16) Get all Duplicates from Array, Optimize and Type of Data Structure.
17) Sealed AccessSpecifier
18) Complete Scrum Process
19) Code Coverage for a Test Case ?
20) WCF Question, Test a WCF Services etc| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test - 0of 0 votes
AnswerGiven a web service such where the input is the TokenID and it lets the user download the Product. Write test cases to test this webservice. Its a vague q's
- arianSonia February 11, 2012 in United States for Azure| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test - 0of 0 votes
Answers//Error with the following code,can anyone correct the //following code for queue using two stack getting //compilation error in constructor
- anuj.iiit2007 February 05, 2012 in India
#include <cstdlib> // system definitions
#include <iostream> // I/O definitions
#include <fstream>
#include<string>
#include<stack>
#include<vector>
using namespace std; // make std:: accessible
using std::stack;
using std::string;
template<typename T>class Myqueue
{
stack<T> s1,s2;
public:
Myqueue(){
s1=new stack<T>();
s2=new stack<T>();
}
int size()
{
return s1.size()+s2.size();
}
void add(T value)
{
s1.push(value);
}
T peek()
{
if(!s2.empty())
return s2.peek();
while(!s1.empty())
s2.push(s1.pop());
return s2.peek();
}
T remove()
{
if(!s2.empty())
return s2.pop();
while(!s1.empty())
s2.push(s1.pop());
return s2.pop();
}
};
int main()
{
Myqueue<string> str;
/*str.Myqueue();*/
string str1;
str.add("devesh");
str.add("pankaj");
str1=str.peek();
return 0;
}| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test C++