Talk about the differences between structured English and Pseudo Code.
Let's begin with what structured English and Pseudo Code are. Structured English is the native English language. Its primary purpose is to write the structure of a program module. It uses programming language keywords to achieve this. On the other hand, Pseudo Code is like a programming language without the syntax of any specific language. This question can come in different forms, and each Google hiring manager will ask it differently, but essentially they are asking the same question. Pseudocode is a kind of structured English used for describing algorithms. It describes the entire logic of an algorithm so that when implementation happens, it is translated line by line into source code. This is an algorithm question that the Google hiring manager asks to see if you're old school and if you've written code in Lisp, FORTRAN, or C programming language. This tells the manager how you approach a project, whether it's task structured or methodology driven. Either is not a wrong answer, but you want to ask the interviewer what type of development organization they run early in the interview so you can answer accordingly.
"My approach is simple: I take an organized approach to how I write code, and the way I differentiate structured English and Pseudo Code. First, I make a list of the main tasks that need to be accomplished. Then, I break them down into small manageable tasks that can be explained with a short phrase. It's been my experience that the further I dig into the correlation between pseudo code and real code, I find that pseudo code helps me plan the structure but doesn't help me resolve the real-world programming. In my opinion, that's the bottom line difference in simple terms between the two. Since either is actual programming languages, they act as structured algorithms that can be used in a programming language."
Unlock all 30 Google questions
Prepare with questions that reflect Google's rigorous technical interview process.
Get Started