You studied for a year and still failed?!
I recommend you find yourself a new career.
Tayo, This forum is to help people to accomplish their goals, if every time you fail yo think in quitting then keep it to yourself.
What I think is that the person who failed need to focus more in what is needed to pass this exam, what are the objectives instead of trying to program a lot of things that won't be covered in the exam, and please, don get discouraged, you have problems passing the exam, so what?, Every time you program you won't be tested in speed or anything else, you will need to make the program run and with beautiful code and that's it.