Grading and Feedback in Lesson Module

Re: Grading and Feedback in Lesson Module

by Jean-Michel Védrine -
Number of replies: 2

Hello Carolyn,

The student's responses to each question  is stored in the lesson_attempts table

Some fields of this table are simple to understand, but the role of the useranswer field is rather complex because it depends a lot of the question type, for an essay question for instance it is a serialized object

Assuming your prefix table is mdl, you can try to run a query like

SELECT

     c.id AS courseid,
     t.lessonid,
     t.userid,
     t.pageid,
     u.username AS UserName,
     c.shortname AS CourseName,
     l.name AS LessonName,
     p.title AS PageTitle,
     a.answer AS QuestionAnswer,
     t.useranswer AS UserAnswer
FROM
     mdl_course c,
     mdl_lesson l,
     mdl_lesson_pages p,
     mdl_user u,
     mdl_lesson_answers a,
     mdl_lesson_attempts t
WHERE
         t.lessonid = l.id
AND t.userid = u.id
AND l.course = c.id
AND t.pageid = p.id
AND t.answerid = a.id

to see if it suits your needs or if you need to add some other columns


In reply to Jean-Michel Védrine

Re: Grading and Feedback in Lesson Module

by Carolyn Hodgman -

Thanks for this Jean-Michel,

Have just got around to installing the plug-in so will give your suggestions a go and let you know how I get on.

Cheers!

Carolyn.

In reply to Carolyn Hodgman

Re: Grading and Feedback in Lesson Module

by Carolyn Hodgman -

To update - this is working great now.

We have eight case study scenario branching activities and have piloted it with students and can down load the data of each decision point they make.

Next stage is on to the analytics and the data visualisations with the raw data. Fun!

Thanks for the input.