Software Test Engineer Interview Questions in London, UK | Glassdoor

# Software Test Engineer Interview Questions in London, UK

26

Software test engineer interview questions shared by candidates

## Top Interview Questions

Sort: RelevancePopular Date

### Software Development Engineer In Test at Amazon was asked...

Aug 29, 2013
 Asked question: Using an already implemented method Rand5() that generates a random integer between the ranges 1-5 uniformly. Using this method, implement a a new method that returns a random integer in the range 1-7 uniformly, i.e. Rand7(). Basically this is Rejection Sampling Algorithm. See http://leetcode.com/2010/11/rejection-sampling.html2 AnswersNo need for sort in array question as it will increase running time to O(2log2) not good. Instead... Set largest to first element Set second largest to largest Loop over every element, if current value greater than largest then set second largest to largest and then set largest to current value else if value greater than second largest set second largest to value continue loop return second largest/* following is based on the link provided in the interview question above */ int Rand7() { int[] arr = new int[21] {1..21}; int idx = int.MaxValue; do { idx = (Rand5() - 1) * 10 + Rand5() -1; if(idx20) }

### Software Engineer In Test at YouView was asked...

Mar 26, 2014
 The hardest answer they asked me is the next one: If you are writing an automated test for a set-top-box, how would you check that there's video being shown on the screen?2 AnswersThere are different approaches. A few years ago, a good answer would have been to add a manual step, prompting a user to check that there's video being displayed. Nowadays, there exist video-capture devices that can be plugged between a device and the screen, and then to a PC. Some of these are used by gamers to record themselves playing games on the XBox, Play Station, etc. Some of the brand that manufacture this kind of devices would be: Vidiu, Blackmagic, Hauppauge, etc The hardest part would be to retrieve that video from the capture device and process it in order to tell what's inside that picture.A video server and a check for moving video!

### Software Developer Engineer In Tests at Amazon was asked...

Oct 26, 2013
 Write a function that takes a position (x,y) in a go game graph and returns a boolean telling if this position contains a white or black piece and if this piece is trapped or not.1 Answer/* this piece of code only checks if the piece is trapped. checking the colour of the piece is trivial. it works by checking if the piece is free. if it is not free then it must be trapped. */ bool IsTrapped(Node n, Node[][] board) { return !IsFree(n, board); } bool IsFree(Node n, Node[][] board) { List neighbours = GetNeighbours(n, board); bool isTrapped = true; foreach(Node neighbour in neighbours) { if (neighbour.Piece == Empty) /* Piece is an enum with three possible values: Empty, Black, White*/ { isTrapped = false; break; } } if(trapped == true) { return false; } n.Visited = true; foreach (Node neighbour in neighbours) { if(neighbour.Visited || n.IsOpponentOrEmpty(neighbour)) { continue; } if(IsFree(neighbour)) { return true; } } return false; } List GetNeighbours(Node n, Node[][] board) { List neighbours = new List(); if(n.X>0) neighbours.Add(board[n.X-1][n.Y]); if(n.X0) neighbours.Add(board[n.X][n.Y-1]); if(n.X

### Software Test Engineer at Cognizant Technology Solutions was asked...

Jun 13, 2018
 what is continuous integration in automationBe the first to answer this question

### Software Development Engineer In Test at Sparta Global was asked...

May 3, 2017
 Why do you want to work in the technology sector?Be the first to answer this question

### Software Test Engineer at Xpanxion was asked...

Aug 12, 2018
 basic SQLBe the first to answer this question

### Software Test Engineer at FIS was asked...

Jun 1, 2018
 what is difference beyween Vostro and Nostro Accounts in terms of Bank perspective located in different countryBe the first to answer this question

### Software Engineer In Test at YouView was asked...

May 27, 2016
 Phone: How would you write a decorator? Binary tree node count. Binary tree find highest node value. Implement `max`. Make `max` work for a custom class. In person: Discuss a project, Describe the best team you've worked on, How would your friends describe you?Be the first to answer this question

### Software Development Engineer In Test at Orbis Investments was asked...

Nov 13, 2018
 Last interview was very disappointing as the manager was not convinced with my answers. They did not see how I performed in rest of the interviews and rejected me. What a shame. never mind. It's a big wastage of time as a candidate and so much frustration as one travels on his/her expenses for interviews. There is no communication between the team I think.Be the first to answer this question

### Software Test Engineer at Nexthink was asked...

Jan 4, 2018
 Q: why you want to work in this company? What skills are still missing that this company could be your next move?Be the first to answer this question
110 of 26 Interview Questions