can calculate and return a quiz score and average