Senior test engineer Interview Questions | Glassdoor

# Senior test engineer Interview Questions

279

senior test engineer interview questions shared by candidates

## Top Interview Questions

Sort: RelevancePopular Date

Sep 20, 2015

### Senior Systems Test Engineer at Qualcomm was asked...

Jun 7, 2010

Aug 26, 2016
 Find indices start and end for a particular value in a sorted integer array with duplicates3 AnswersExplained simple way to do this using linear search and binary search and coded up using binary searchpublic int firstOccur(int[] arr, int k) { if (arr == null || arr.length combinedOccur(int[] arr, int k) { BinarySearchOccurences obj = new BinarySearchOccurences(); int startIndex = obj.firstOccur(arr, k); int endIndex = obj.lastOccur(arr, k); if (startIndex == -1 || endIndex == -1) { throw new IllegalArgumentException("k does not exist in array"); } ArrayList result = new ArrayList(); result.add(startIndex); result.add(endIndex); return result; }public int firstOccur(int[] arr, int k) { if (arr == null || arr.length combinedOccur(int[] arr, int k) { BinarySearchOccurences obj = new BinarySearchOccurences(); int startIndex = obj.firstOccur(arr, k); int endIndex = obj.lastOccur(arr, k); if (startIndex == -1 || endIndex == -1) { throw new IllegalArgumentException("k does not exist in array"); } ArrayList result = new ArrayList(); result.add(startIndex); result.add(endIndex); return result; }

Oct 1, 2015
 Coding: Create a stack with the usual push() & pop(), but with an additional function getMiddle() that returns the middle element of the stack in constant time.3 Answerspublic class CreateStack { List l = new LinkedList(); public void push(Integer i) { l.add(i); } public void pop(){ l.remove(l.size()-1); } public Integer getMiddle(){ return l.get((l.size()-1)/2); } }import os import re import sys class Stack: def __init__(self): self.arrList = [] def isEmpty(self): if len(self.arrList): return False else: return True def push(self, val): self.arrList.append(val) def pop(self): if not self.isEmpty(): self.arrList[len(self.arrList)-1] self.arrList = self.arrList[:len(self.arrList)-1] else: print "Array list is empty" def returnMiddle(self): if not self.isEmpty(): mid = len(self.arrList)/2 return self.arrList[mid] else: print "Array list is empty" def listStack(self): print self.arrList s = Stack() s.push(5) s.push(6) s.listStack() print s.returnMiddle() s.pop() s.listStack() s.push(20) s.push(45) s.push(435) s.push(35) s.listStack() print s.returnMiddle() s.pop() s.listStack()public int getNext(int[] ar, int k) { int low = 0; int high = ar.length-1; int mid = low+(high-low)/2; if (ar[high] k && (mid==0 || ar[mid-1]<=k)) { return ar[mid]; } if(ar[mid]<=k) { low = mid+1; } else { high = mid; } mid = low+(high-low)/2; } return -1; }

Feb 15, 2017

### Senior Software Development Engineer In Test at Rubicon Project was asked...

Sep 10, 2017
 Write a program to remove vowels from a given string2 Answerswrite a program to define whether an array is sorted or notclass Vowels{ public static void main(String args[]){ String input = "abcdefgh"; String vowels = "aeiou"; String output = ""; for(int i=0;i

### Senior Test Engineer at ReviewTrackers was asked...

Mar 21, 2016
 What was one thing that someone said to you that stuck with you?2 AnswersThis was a fantastic question and one that is rarely asked. It allowed me to discuss something very specific that was career-focused but that had forced me to step back and view how I appeared to other people. I felt I was able to give a lot of information about who I am with this kind of question and I appreciated the chance to do so.Thanks for sharing your thoughts on the ReviewTrackers interview experience! As you said, even though there was initially no role available, we loved your background and your story. Personally, I am thrilled to hear that our recruitment process worked for you, even if it spanned a few weeks. Your amazing feedback reaffirms the way we find and hire talent. Welcome aboard, and again thank you so much for sharing your review with the Glassdoor community.

### Senior Software Development Engineer In Test (SDET) at Microsoft was asked...

Aug 14, 2012
 finad all plaindromes ina string. 2 Answersi couldn't really come up with decent code for this, and i think this was the turning point in the interview which otherwise was going alright.vector findAllPalindrome ( string str) { vector stack; vector result; string buff = ""; int len = str.length(); if (len == 0) return result; stack.push_back(str[0]); for (int i = 1; i

### Senior Software Test Engineer at Smiths Medical was asked...

Jun 7, 2018
 Explain the significance of "dead beef"1 Answer"dead beef" is composed of all hexidecimal characters, 0xa - 0xf

### Senior Software Development Engineer In Test at Kindred AI was asked...

Feb 12, 2019
 The problem statement for the other coding interview was interesting since there was some level of detail but still had some ambiguity.1 AnswerWrote code on white board. I ended up asking lots of questions to clarify inputs and outputs with examples, and we collectively brainstormed how the solution would work out.
110 of 279 Interview Questions