Computer engineer Interview Questions | Glassdoor

# Computer engineer Interview Questions

145

computer engineer interview questions shared by candidates

## Top Interview Questions

Sort: RelevancePopular Date

### Computer Vision/Machine Learning Software Engineer at Gauss Surgical was asked...

Jun 17, 2014
 Why does one use MSE as a measure of quality. What is the scientific/mathematical reason for the same?3 AnswersMean-Square error is an error metric for measuring image or video quality it is popular video and image quality metric because the analysis and mathematics is easier with this L2-Norm metric. Most video and image quality experts will agree that MSE is not a very good measure of perceptual video and image quality.The mathematical reasoning behind the MSE is as follows: For any real applications, noise in the readings or the labels is inevitable. We generally assume this noise follows Gaussian distribution and this holds perfectly well for most of the real applications. Considering 'e' follows gaussian distribution in y=f(x) + e and calculating the MLE, we get MSE which is also L2 distance. Note: Assuming some other noise distribution may lead to other MLE estimate which will not be MSE.MSE is used for understanding the weight of the errors in any model. This helps us understand model accuracy in a way that is helpful when choosing different types of models. Check out more answers on InterviewQuery.com

Dec 8, 2016

May 11, 2017

### Software Development Engineer (Computer Vision) at Amazon was asked...

Nov 22, 2012
 How would you code up a custom rectangle detector?5 AnswersI suggested something about matching intersecting hough lines.Hi... Could you plz explain what is a custom rectangle detector...I hav my interview with Amazon on monday ... plz helpBy a custom rectangle detector I mean how would you write your own function to detect rectangles. Your input would be the pixel data and your outputs would be something like the x,y locations of the rectangles.Show More ResponsesFirst of all, hough transformation can be used. just parametrize the representation for rectangle, but the parameter space is 4D. Second, line detection, followed by checking corner degree. In practice, I would use opencv's coutour fitting function to fit for quadrilateral, then check the angle. This works quite well.I would scan the image with a basic edge detection mask. Then I would scan to count the number of lines, keeping track of end points in pairs. Cases such as curves would also be found in this step and returned as not a rectangle. An analysis of basic trig with the points could then be performed in order to determine if the points form a rectangle. Once a rectangle is confirmed then you could use those points to display on the image the recognized rectangle. Or do whatever the reason for finding the rectangle was.

### Software Engineer Computer Vision at Matterport was asked...

Mar 19, 2014
 Given a 2D grid consisting of links and vacancies represented by a 2D array and assume you can move from either down (j,k)->(j+1,k) or to the right (j,k)->(j,k+1) unless there is a vacancy4 AnswersUse recursionNo well defined. Is the problem to find the shortest path to the right side or bottom or shortest path to the a particular location or to connect the most locations or what?given rectangle set (overlapped or not), calculate the overlapped areas. e.g., rect{ point upperleft; width, height; }Show More Responsesanother question: given rectangle set (overlapped or not), calculate the overlapped areas. e.g., rect{ point upperleft; width, height; }

Jan 5, 2012

### Computer Vision Engineer at Flipkart was asked...

Oct 13, 2016
 (1) Back-propagation; (2) overfit vs underfit; (3) implementation of one of the steps in Canny edge detection using graphs; (4) closed form formula to solution of linear regression; (5) write code for K nearest neighbor algorithm (6) vanishing gradient vs exploding gradients due to choice to relu() vs sigmoid()3 AnswersCould answer most of it satisfactorilyfliрkart.comflipkart

### Computer Engineer at US Department of Defense was asked...

Jan 5, 2012
 If your are a terrorist or not? 3 AnswersNoNoReally? Sorry but this is not a normal process for a US citizen.

### Computer Software Engineer/IT Consultant at Ferguson Consulting was asked...

Sep 25, 2014
 The real zinger came at the end when they demanded previous compensation information. They said they wouldn't make an offer without it. Not only did they demand it, they demanded previous paycheck stubs as proof of it. I refused of course, and didn't call them back.2 Answers"Are you serious?"In regards to your prior salary data, many companies now provide start/end-date and salary history on ex-employees through "The Work Number" from Equifax (credit bureau). These companies then lookup salary data for candidates. Ferguson may be too small to participate, but we all should be aware of "The Work Number"..

Mar 21, 2019