Google Software Engineer Mock Interview

Practice 26 Google Software Engineer interview questions covering algorithms, system design, and coding challenges.

WRITTEN BY WILLIAM SWANSEN
QUESTION 8 OF 26

How do you go about addressing errors in your code?

Nobody is perfect, even the highly-skilled software engineers Google hires. Every software engineer has errors in the code they create. Denying this will be a red flag, which will make the interviewer skeptical of your qualifications. A better approach to answering this question is to acknowledge that you make errors, and you have a process you use to identify and correct them.

"After I create a segment of code, I take several steps to identify any errors and debug them. These include wrapping the code, using try/catch statements, and using various debugging tools. Once the entire program has been completed, I ask either my peers or the quality control team to review the code and identify any errors I may have missed."

William Swansen
26 QUESTIONS & ANSWERS · GOOGLE
See membership