Why are these types of exercises carried out when the objective in the industry is to solve problems?
I ask this question because what is evaluated in this test is theoretical, which seems fine to me, but it is likely to fail even knowing a lot about programming language.