First off, take a look at diagram (this is an application for testing students knowledge)
I already have working application, which calculates score (in perce