I'm just learning Moodle, so I can't give you specifics of how to do what you want to do. I have similar needs for my students. Here is what I've found out so far. I'm hoping I can point you in the write direction.
I think what you want to do is done in the reporting module. I don't know for certain if you can have a results page at the end of your lesson. Students are allowed by default to look at their grades on assignments, assessments, lessons, and for the entire course.
There is also the SCORM standard that you can use. I'm in the process of learning about it too. You need to set up your course to the SCORM option. From what I've learned so far, this will put all grading into a nice package that populates the database. Teachers and students will be able to look at the results any time.
That's all I know for now. Hope this helps.