Quality Engineer Interview Questions in San Francisco, CA | Glassdoor

Quality Engineer Interview Questions in San Francisco, CA

"As a quality engineer you will be expected by your employer to have the critical thinking skills, data analysis skills, and business quality knowledge to develop quality tools, systems, and processes that ensure product quality from start to finish. In an interview you can expect to be asked about your IT experience, knowledge of enterprise architectures, software engineering background, and understanding of quality improvement techniques. Because quality engineering is based heavily in software development, you can expect to be asked multiple technical programming questions."

Top Interview Questions

Sort: RelevancePopular Date

Software Quality Engineer at Salesforce was asked...

Dec 19, 2011
 Give an array of Integer which contain duplicate number from 1-100, how to count how many distinct number you have?7 AnswersHashSet hs= new HashSet(); for (Integer x: inputArray){ hs.add(x); } s.o.p(hs.size());//If input: 1,2,3,1,4,6,3,7,8,9,0. Then your code will return 9, but it should return 7. //Improved code Set distinctSet = new HashSet(); for(int i = 0; iHi Hiten, the answer should return 9 instead of 7, cuz you want to find the distinct number, this hashset should have 1,2,3,4,6,7,8,9,0, which have 9 elements insideShow More Responsesnumber of distinct integers in array = number of integers in array - number of duplicate integers number of integers in array = length of array So, this becomes a problem of finding the number of duplicates. This can be accomplished in O(N) time using the following algo: public static void countDistinct(int[] arr){ //numbers are b/w 1-100 boolean[] hit = new boolean[100]; int dup = 0; for(int i=0;ipublic static int distinct(int a[]){ boolean map[] = new boolean[100]; int dup=0; for(int i=0;iint distinct(int []x) { bool []count= new bool[100]; int n = x.Length; for (int i = 0; i < x.Length; ++I) { if(count[x[i]]) n--; count[x[i]] = true; } return n; }Use a set. Iterate through the array and insert each element in a set. then get set.size()

Apr 5, 2013

Software Quality Engineer at Salesforce was asked...

Dec 19, 2011
 How to reverse a String? How to deal with it if the input string is null?4 Answersstring a=""; for(int i=a.length()-1; i>=0; i--){ str+=a.charAt(a); } return str; }The above approach becomes O(N^2) due to use of += inside a for loop. Every time we use +=, a new string is created from the copied over contents of the last string to which another string is appended. On an average there are N/2 copy operations. This can be bettered using StringBuilder like this: StringBuffer strBuffer = new StringBuffer(); for(int i=a.length()-1; i>=0; i--){ strBuffer.append(a.charAt(a)); } return strBuffer.toString(); } However, this can be improvised even more using the just N/2 iterations (instead of N above) : public String reverse( String string ) { byte[] array = string.getBytes(); byte swap; for( int i = 0, j = array.length - 1; i < array.length / 2; i++, j-- ) { swap = array[ j ]; array[ j ] = array[ i ]; array[ i ] = swap; } return new String( array ); }If you want to save on the extra "swap" memory, you can use bitwise operator XOR like this: public String reverse( String string ) { byte[] array = string.getBytes(); for( int i = 0, j = array.length - 1; i < array.length / 2; i++, j-- ) { array[ i ] ^= array[ j ]; array[ j ] ^= array[ i ]; array[ i ] ^= array[ j ]; } return new String( array ); }Show More Responsesthe use of Xor is awesome! Good one.

Software Quality Assurance Engineer at LeapFrog was asked...

Nov 3, 2009
 What experience from current company can you bring to Leapfrog?1 AnswerBeing able to put myself in to customer shoes while testing the application.

Software Quality Assurance Engineer at LeapFrog was asked...

Nov 3, 2009
 Why do you want to work at Leapfrog?1 AnswerLeapfrog's each toy is do engaging at the same time using the technology and creativity. Would love to be a part of such company where technology and creativity is valued so much.

Principal Quality Engineer at Macy's Technology was asked...

Jul 10, 2014
 They provided me a computer and informed the current problem they are facing. You have been given 15 minutes time to think of, followed by explain you approach.1 AnswerThey were not looking for the exact right answer, instead they were thinking of your approach.

Quality Engineer at W.L. Gore was asked...

Oct 31, 2011
 Walk me through your resume? 1 AnswerHe picked up a graduation project and asked me to explain it in detail. Design of Experiment was some thing he was intrested in. I think answered the question to his satisfaction

Quality Engineer at W.L. Gore was asked...

Oct 31, 2011
 Tell us what do you know about W.L Gore ? 1 AnswerMentioned the values of gore available on wikipedia and stated that I value those things and therefore intrested to work at gore. Didnot got enough time to share all the details.

Quality Engineer at W.L. Gore was asked...

Oct 31, 2011
 What are your strengths ?1 AnswerMentioned them as statistics, DOE, execuation of a process.

Quality Engineer at W.L. Gore was asked...

Oct 31, 2011
 New product introduction or do you enjoy sustaining work ? 1 AnswerNew product introduction
110 of 127 Interview Questions