tutorial of programming exam