Software QA Engineering Interview Questions | Glassdoor

# Software QA Engineering Interview Questions

570

Software qa engineering interview questions shared by candidates

## Top Interview Questions

Sort: RelevancePopular Date

### Software Quality Assurance Engineer at CA Technologies was asked...

Nov 6, 2014
 If you had a great idea to implement something new for a CA software product but management wouldn't take your word on it, how would you convince management to go along with your idea?1 AnswerI would try to create a form of a prototype of said idea and present it along with taking ownership and compassion for the new feature.

Oct 6, 2010

### QA Software Engineer at eBay was asked...

Feb 8, 2011
 You have five bottles with pills. One bottle has 9 gram pills, the others have 10 gram pills. You have a scale that can only be used once. How can you find out which bottle contains the 9 gram pills?5 AnswersNumber the bottles 1-5. Collect a number of pills from each bottle corresponding to their bottle number. So, 1 pill from bottle 1, 2 from bottle 2, etc. If they all had 10 gram pills they should weigh 150 grams. The difference will be the number of the bottle the 9 gram pill came from. Example, bottle 3 has the 9 gram pills. Total weight read will be 147 grams. The difference of 3 is the bottle it came from.Did u get the job? What was team where you interviewed for ?Read the label on the bottle.Show More ResponsesPlace all five bottles on the scale. It should say 49 grams on the scale. If you take out one bottle each time. Subtract the scale from before and after the bottle that has been taken off the scale. If it's 9. That's the bottle you're looking at.What top poster said except you can label the bottles from 0 to 4 and save yourself a little work

### Software QA Engineer at NetApp was asked...

Oct 28, 2010
 Write a program printing '"hello World" without semi colon in c.2 AnswersMala Punyani [12/3/2010 12:10:32 PM] Mala Punyani: #include main() { if(printf("Hello World \n")) { } }I wonder why such a question is needed? They don't like semi colons in their code is it? ;)

### Software QA Engineer at Apple was asked...

Mar 22, 2011
 how to test a toaster?4 AnswersPlug the toaster into a PowerPoint. Turn the power point on. Place required number of slices of untoasted bread in the toaster - dependant on slots available. Press the Press the lever down to lower the toast into the toaster.Contined...prior to lowering the bread into the toaster select the lowest heat setting. Once the bread is lowered set a timer to measure length of time before toast cycle completes and toasted bread pops up. Retest on all other heat settings and time each of these.I would find a tester and I'd tell him/her to test the toaster by plugging it in. If the toaster doesn't toast the tester, it works; if it toasts the tester, it's broken.Show More ResponsesDid not understand this part of your answer, could you please eloborate. "If the toaster doesn't toast the tester, it works; if it toasts the tester, it's broken."

### Software QA Engineer at eBay was asked...

Jun 13, 2011
 how to find the closest 2 number in an array of unique positive number5 Answersasked during phone interviewOne solution is to sort the array, then iterate through all neighboring pairs to find the pair with smallest difference. This is O(NlogN) solution. If the integers are bounded, you may be able to sort in O(N) time for an O(N) solution.public static int[] find2Closest(int[] myArray) { assert(myArray.length >= 2): "myArray needs to be larger than 2"; Arrays.sort(myArray); //quickSort int indexMin1 = 0; int indexMin2 = 1; int min = myArray[indexMin1] - myArray[indexMin2]; for(int k = 0; k < myArray.length-1; k++) { int difference = Math.abs(myArray[k] - myArray[k+1]); if(difference < min) { min = difference; indexMin1 = k; indexMin2 = k+1; } } int[] values = new int[2]; values[0] = myArray[indexMin1]; values[1] = myArray[indexMin2]; return values; }Show More Responsespublic class ClosestTwoNumber { public int[] findClosest2Number(int[] arr){ if(arr == null || arr.length diff) { min = diff; num1 = arr[i - 1]; num2 = arr[i]; } } if (num1 == -1 || num2 == -1) { throw new IllegalArgumentException(); } int[] result = new int[2]; result[0] = num1; result[1] = num2; return result; }public class ClosestTwoNumber { public int[] findClosest2Number(int[] arr){ if(arr == null || arr.length diff) { min = diff; num1 = arr[i - 1]; num2 = arr[i]; } } if (num1 == -1 || num2 == -1) { throw new IllegalArgumentException(); } int[] result = new int[2]; result[0] = num1; result[1] = num2; return result; }

Oct 3, 2015

### Software QA Engineer at Apple was asked...

Jun 10, 2012
 Why do you want to work for Apple3 AnswersApple is quite known company, a lot of things I read or heard about it, but never experienced by myself. To work for Apple is a big honor and opportunity to develop my self. Also to exercise myself, what can I do to reach goals and just enjoy to workI like it.Hahahabecause i cant get into google.

### Software QA Engineer at NetApp was asked...

Oct 28, 2010
 Write a program sorting characters without using sort function in Perl.1 Answerprint "\nPlease provide the input array\n"; \$arg = ; my @argv = split(/,/,\$arg); chomp @argv; for(my \$i =0 ;\$i \$argv[\$j]) { my \$tmp = \$argv[\$i]; \$argv[\$i] = \$argv[\$j]; \$argv[\$j] = \$tmp; } } } \$arg = join(",",@argv); print "\n The sorted array is >>>>\n\n\$arg\n";

### Software QA Engineer at Jawbone was asked...

Oct 24, 2015
 How would you assist Customer Service and the Development team with tracking down a P1 issue that was all-of-a-sudden being reported in production?1 AnswerI would check the following... - Was there a recent app release to production? - Was there a receipt firmware upgrade? - Which version of the app are customers using? - Which type of mobile device (iOS/Android) are the users encountering the issue on? - Which type of jawbone hardware are the customers using?
110 of 570 Interview Questions