Want to know which questions learners got right/wrong in their eLearning?

By Profiscience Partners

Have you ever wondered if UniversitySite records answers to individual questions in an eLearning piece such as an assessment?

 

Guess what?  It does.  This data is not however exposed through the reports in UniversitySite so you have to dig them out of the database using a SQL query such as the one below.

 

/*
0 Undefined       – The value has not been specified.
1 Correct         – The learner responded to the interaction correctly
2 Incorrect       – The learner responded to the interaction incorrectly
3 Unanticipated   – The learner responded to the interaction in an unanticipated manner
4 Neutral         – The learner responded to the interaction in a way that was neither correct or incorrect
5 Real            – The learner responded to the interaction in a way that is best represented by a number (of type Real)
*/

SELECT Learner=u.lastname + ‘, ‘ + u.FirstName, r.[registration_date], Course=dbo.[fnStringTrainingCourseFullName](c.Prefix, c.Number, c.Title), o.[item_identifier], i.[interaction_id],
      Result=CASE result
            WHEN 0 THEN ‘Undefined’
            WHEN 1 THEN ‘Correct’
            WHEN 2 THEN ‘Incorrect’
            WHEN 3 THEN ‘Unanticipated’
            WHEN 4 THEN ‘Neutral’
            WHEN 5 THEN ‘Real’
            ELSE ” END
      FROM [ScormRegistration] r   
      inner join ScormActivity a on a.scorm_registration_id=r.scorm_registration_id
      inner join [ScormActivityRTInteraction] i on i.scorm_activity_id=a.scorm_activity_id
      INNER JOIN [ScormObjectIdentifiers] o ON o.[scorm_object_id]=a.[scorm_object_id]
      inner join users u on u.id=r.USER_ID
      INNER JOIN [TrainingCourses] c ON c.[ID] = r.[training_course_id]
      order by u.lastname, u.firstname, r.[registration_date] desc, c.[Prefix], c.[Number], o.[item_identifier]

 

elearning-question-detail4

Tags: ,

2 Responses to “Want to know which questions learners got right/wrong in their eLearning?”

  1. jentimus Says:

    Please provide a typical path to this database and how we would begin to create an SQL statement to access the information i.e. what do I do to get to the place where I can enter these values?

    • Profiscience Partners Says:

      This blog entry contains the actual SQL script that you would copy and paste into a new query window in Sql server manager and run against the Universitysite database. This is typically done at the server itself where the UniversitySite database is housed, but may be done from any PC where SQL Studio tools are installed so you can do this.

Leave a Reply

You must be logged in to post a comment.