“I am a little saddened by the fact that 199 out of 200 applicants for programmer jobs do not know how to program. I repeat: they do not know how to write code . At all."
“Having conducted enough interviews, I realized that while writing code, inexperienced people stumble not at all on complex and non-obvious tasks, or even on small tasks (for example, implement a coherent list). Most of the problems they cause quite trivial tasks.
I decided to develop a set of questions that would allow me to quickly identify such "non-programmers." For this kind of questions , I gave the name FizzBuzz questions , in honor of the game played by British schoolchildren. A typical FizzBuzz question looks like this:
Write a program that displays numbers from 1 to 100. In this case, instead of numbers that are multiples of three, the program should display the word “Fizz”, and instead of numbers that are multiples of five, the word “Buzz”. If the number is a multiple of 3 and 5, then the program should display the word "FizzBuzz"
A normal programmer should write such a program on a piece of paper in a couple of minutes. But what is interesting is that many people with specialized education cannot cope with this task at all. There were even cases when candidates who submitted resumes for a senior developer job were spending more than 15 minutes on this program. ”
“Unexpectedly, many applicants (including those with master's degrees and PhD in computer science!) Find it difficult to answer simple questions. I myself saw how people at interviews cannot write a cycle that iterates from 1 to 10 or do not know what number in the hexadecimal system comes after F. As for less obvious examples, quite a few candidates do not know how to apply recursion to decide which or practical task. You must agree that all these are absolutely basic things, and if a person finds it difficult to answer such questions, then he simply has no programming experience.
I will take the liberty of speaking on behalf of all programmers who have to conduct interviews: we are terribly tired of communicating with people who, in programming, have nothing to do with their feet. Believe me, if you can write a cycle from 1 to 10 in all the languages ​​specified in your resume, if you can solve a simple arithmetic example in your mind and if you know how to apply recursion in a simple (but taken from real life) task, then you already head and shoulders above most of the people in our industry. ”
“I would not advise interviewing people to dismiss the FizzBuzz task as too primitive. Rely on it, and you (as I did) will be unpleasantly surprised to see how many applicants do not even have basic programming skills. ”
Source: https://habr.com/ru/post/298134/