Software Engineer in Test Interview Questions
- 1of 1 vote
AnswersThis is one of the interesting questions asked to my friend who had a telephonic with Microsoft recently:
- Jeanclaude July 25, 2012 in United States
Question: Imagine you have a device that is used to count the number of leaves in a tree. And it has an output screen which displays how many leaves are present in a tree, plus a start/stop button. Write as many test cases as possible and sort them under as different test buckets as possible.| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Testing - 0of 0 votes
AnswersThere is a Command line program which gives the length of the Triangle sides.
- ravgvn July 18, 2012 in India
Now write the possible test cases to trace if the triangle is Scalene , Isosceles or Equilateral ?| Report Duplicate | Flag | PURGE
Amazon Software Engineer in Test Testing - 0of 0 votes
AnswersWrite a program
- ravgvn July 17, 2012 in India
Given an array of N integers . Find the maxproduct of 3 numbers ?| Report Duplicate | Flag | PURGE
Amazon Software Engineer in Test Arrays - 0of 0 votes
AnswersWhen trying to send a SMS from a mobile if it fails? How do you debug or troubleshoot this problem?
- ravgvn July 17, 2012 in India| Report Duplicate | Flag | PURGE
Amazon Software Engineer in Test Debugging - 0of 0 votes
AnswersWrite a test plan for "Add to Cart " feature in a web application ?
- ravgvn July 17, 2012 in India| Report Duplicate | Flag | PURGE
Amazon Software Engineer in Test Testing - 0of 0 votes
AnswersWrite a code in C for the following:
- jeanclaude July 09, 2012 in United States
Starting from 1, assign an alphabet to each integer, for e.g. if input is 1 then A should be the output), 2 = B ....... 26 = Z. Similarly, 27 = AA, 28 = AB..........52 = AZ. 702 = ZZ, 703 = AAA and so on. The function takes only one integer argument . for e.g ConvertToAphabet(int x). One additional consideration here is, the user is free to provide any length of integer (bigint long int etc), no restriction there.| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test C - 0of 0 votes
AnswersConsider you have a grid of size m x n. There are stones placed randomly in some of the squares of this grid. Design a way to find out minimum rectangular area which covers all the stones in this grid.
- bobbysanders007 July 01, 2012 in United States| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Algorithm - 0of 0 votes
AnswersA) Write a function that takes input as integer and converts it into a linked list where each node represents a digit of the input integer.
- bobbysanders007 July 01, 2012 in United States
e.g. i/p : 123
expected result: [1] => [2] => [3] => [null]
(catch: don't forget to consider case of negatives like -433 etc.)
B) Write a function that takes input as two linked lists shown as above (which are basically integers represented in linked list format) and calculate sum.| Report Duplicate | Flag | PURGE
Microsoft Software Engineer in Test Algorithm - 0of 0 votes
AnswersWrite a function that receives three integer inputs for the lengths of the sides of a triangle and returns one of four values to determine the triangle type (1=scalene, 2=isosceles, 3=equilateral, 4=error). Generate test cases for the function assuming another developer coded the function
- virtualhealing June 28, 2012 in United States| Report Duplicate | Flag | PURGE
Google Software Engineer in Test - 0of 0 votes
AnswersImplement a circular queue of integers of user-specified size using a simple array. Provide routines to initialize(), enqueue() and dequeue() the queue. Make it thread safe.
- virtualhealing June 28, 2012 in United States| Report Duplicate | Flag | PURGE
Google Software Engineer in Test - 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
AnswersGive output for the following code
#include<stdio.h> void main() { int i = 5; printf("%d\n",i++ + ++i); printf("%d\n",i++ + ++i + i++ + i++); printf("%d\n",++i + i++ + ++i + i++); }
Please give the output with os and compiler u used with proper explanation. Getting unexpected answers..... help !!!
- saj1919 June 21, 2012 in United States
This is old question posed by senior student.| Report Duplicate | Flag | PURGE
NVIDIA Software Engineer in Test C - 1of 1 vote
AnswersWrite a program to find the first unique element in the following array:
- panshul21 June 02, 2012 in India for RSA
{'a', 'a', 'u', 'b'}| Report Duplicate | Flag | PURGE
EMC Software Engineer in Test - 0of 0 votes
AnswersWrite o/p of following program
- panshul21 June 02, 2012 in India for RSA
Class A
{
public static void main(String[] s)
{
System.out.println("Hello");
}
public static void main()
{
System.out.println("Hello");
}
public static void main (int args[])
{
System.out.println("Hello");
}
}| Report Duplicate | Flag | PURGE
EMC Software Engineer in Test - 0of 0 votes
AnswerWrite a method to change the password of a valid user in the following database table. The method accepts 3 parameters userId, oldPassword, NewPassword:
- panshul21 June 02, 2012 in India for RSA
......................................................
UserId Username Password
......................................................
.......................................................
The password should be changed only when the old password is valid.| Report Duplicate | Flag | PURGE
EMC Software Engineer in Test - 0of 0 votes
AnswerDesign a class for a digital watch - outline the methods, properties, and class hierarchy. UML diagram welcome but not required. Write some test cases to test the above methods outlined.
- panshul21 June 02, 2012 in India for RSA| Report Duplicate | Flag | PURGE
EMC Software Engineer in Test - 0of 0 votes
AnswersWrite a function that counts the number of primes in the range [1-N]. Write test cases for this function.
- panshul21 June 02, 2012 in India for RSA| Report Duplicate | Flag | PURGE
EMC Software Engineer in Test - 0of 0 votes
AnswersWrite a java program to explain life cycle of a thread.
- panshul21 June 02, 2012 in India for RSA| Report Duplicate | Flag | PURGE
EMC Software Engineer in Test - 0of 0 votes
AnswersWrite a java function to access properties from ini file.
- panshul21 June 02, 2012 in India for RSA
(contents of ini file will be like: "username=xyz")| Report Duplicate | Flag | PURGE
EMC Software Engineer in Test - 0of 0 votes
AnswersWrite a program to find the missing element in second array(Array2):
- panshul21 June 02, 2012 in India for RSA
Array1:
5 15 2 20 30 40 8 1
Array2:
2 20 15 30 1 40 0 8| Report Duplicate | Flag | PURGE
EMC Software Engineer in Test - 0of 0 votes
AnswersWrite a java program to count number of words in a file.
- panshul21 June 02, 2012 in India for RSA| Report Duplicate | Flag | PURGE
EMC Software Engineer in Test - 0of 0 votes
AnswersWithout using loops, write a function to print 1 to 500 in serial order.
- panshul21 June 02, 2012 in India for RSA| Report Duplicate | Flag | PURGE
EMC Software Engineer in Test Java - 0of 0 votes
AnswersWrite a String Reverser (using Recursion) and write JUnit test for the reverse method.
- panshul21 June 02, 2012 in India for RSA| Report Duplicate | Flag | PURGE
EMC Software Engineer in Test Java - 0of 0 votes
AnswersWrite a java program to count number of words in a file.
- panshul21 June 02, 2012 in India for RSA| Report Duplicate | Flag | PURGE
EMC Software Engineer in Test Java - 0of 0 votes
AnswersWithout using loops, write a function to print 1 to 500 in serial order.
- panshul21 June 02, 2012 in India for RSA| Report Duplicate | Flag | PURGE
EMC Software Engineer in Test Java - 0of 0 votes
AnswersWrite a String Reverser (using Recursion) and write JUnit test for the reverse method.
- panshul21 June 02, 2012 in India for RSA| Report Duplicate | Flag | PURGE
EMC Software Engineer in Test Java - 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