I was suicidal at a point when I could write simple RDBMS servers in C++ and was constantly reading research around computing when in school but could not clear my school exams. and everyone including my parent and teachers made me feel I was stupid. This is the case with most boys out there. It was only when I went to university and research was more important than rote learning, I suddenly realized I had the highest scores with very little to no effort whereas girls would struggle and somehow get their assignments and projects done through the nice guys.
but guess what, I was a very lucky boy to reach the university, most are not. If you are a parent of a son, make time, sit with him daily and help him crack those exams. the society or the education system will not change, all you can do is to take advantage of the broken system.
+1 to parents who help their kids with their assignments even with their tight schedules, you deserve a lot of praise.