calculate student score

Signed-off-by: chavp <my.parinya@gmail.com>