With LMSSetValue you can add values in the LMS. If you for example, have crated a quiz where the maximum score is 8 points, you can nortify the LMS 8 is max score by using DataElements keyword "cmi.core.score.max".

 

Predefined constants:

 

  • cmi.comments. DataType:CMIString4096. Used to allow a SCO to send comments to the LMS about the SCO. Could be used to collect student entered comments.
  • cmi.core.exit. DataType:CMIVocabulary(time-out, suspend, logout, empty string). An indication on how and why a student left the SCO. An empty string represent a normal exit state.
  • cmi.core.lesson_location. DataType:CMIString255. Corresponds to the SCO exit point passed to the LMS system the last time the student experienced the SCO. A SCO may optionally set this value and the retrive the data on re-entry into the SCO
  • cmi.core.lesson_status. DataType. CMIVocabulary(passed, completed, failed, incomplete, browsed and not attemted) This is the current student status determined by the LMS system. Normally the SCO determines its own status an passes it back to the LMS.
  • cmi.core.score.max. DataType:CMIDecimal or CMIBlank. The maximum score or total number that the student could have achieved. Must be a normalized value between 0 and 100
  • cmi.core.score.min. DataType:CMIDecimal or CMIBlank. The minimum score that the student could have achieved. Must be a normalized value between 0 and 100
  • cmi.core.score.raw. DataType:CMIDecimal or CMIBlank. Indication of the performance of the student during his last attempt on the SCO. Must be a normalized value between 0 and 100 e.g. "90", "85.7"
  • cmi.core.session_time. DataType:CMITimespan(HHHH:MM:SS.SS). Used to keep track of the time spent in a SCO for a session. The LMS will use this time in determining the
  • cmi.core.total_time.
  • cmi.interactions.n.correct_responses.n.pattern. DataType:CMIFeedback. Format(Depending on type, eg.true-false(0,1 - t and f)) Used to determine the correct response to the interaction provided by the SCO. There may be more than one correct response and some can be more correct than others.
  • cmi.interactions.n.id. DataType:CMIIdentifier. Way of identifying an interaction. Alpha-numeric string, no spaces.
  • cmi.interactions.n.latency. DataType:CMITimespan(HHHH:MM:SS.SS). The time from the presentation of the stimulus to the completion of the measurable response.
  • cmi.interactions.n.objectives.n.id. DataType:CMIIdentifier. Way of identifying the objective an interaction is for. Alpha-numeric string, no spaces.
  • cmi.interactions.n.result. DataType:CMIVocabulary(correct, wrong, unanticipated, neutral, x.x CMIDecimal). This is the actual result from the student response.
  • cmi.interactions.n.student_response. DataType:CMIFeedback. This is the actual student response to the interaction. This value then can be compared with the
  • cmi.interactions.n.correct_responses.n.pattern.
  • cmi.interactions.n.time. DataType:CMITime (HH:MM:SS.S). Used as a timestamp for when the student interaction was completed
  • cmi.interactions.n.type. DataType:CMIVocabulary(true-false, choice, fill-in, matching, performance, sequencing, likert, numeric). Used to indicate the type of interaction that is taking place.
  • cmi.interactions.weighting. DataType:CMIDecimal. Format(A single floating point number, the decimal point is optional) An interaction may have a weight, and similarly, individual actions or responses inside a complex interaction may have a weight.
  • cmi.objectives.n.id. DataType:CMIIdentifier. Way of identifying an objective. Alpha-numeric string, no spaces.
  • cmi.objectives.n.score.max. DataType:CMIDecimal or CMIBlank. The maximum score or total number that the student could have achieved on the objective. Must be a normalized value between 0 and 100 e.g. "90", "85.7"
  • cmi.objectives.n.score.min. DataType:CMIDecimal or CMIBlank. The minimum score that the student could have achieved on the objective. Must be a normalized value between 0 and 100 e.g. "90", "85.7"
  • cmi.objectives.n.score.raw. DataType:CMIDecimal or CMIBlank. Indication of the performance of the student after each attempt on the objective. Must be a normalized value between 0 and 100 e.g. "90", "85.7"
  • cmi.objectives.n.status. DataType:CMIVocabulary(passed, completed, failed, incomplete, browsed and not attemted). Used to keep track of the student's statuses for a given objective.
  • cmi.student_preference.audio. Datatype:CMISInteger(-1 - 100) Used by the SCO to both set and retrive from the LMS audio preferences of the student.
  • cmi.student_preference.language. Datatype:CMIString255(Alphabetic string, may include white space) Used by the SCO to both set and retrive from the LMS language preferences of the student.
  • cmi.student_preference.speed. Datatype:CMISInteger(Digit from -100 - 100) Used by the SCO to both set and retrive from the LMS speed preferences of the student.
  • cmi.suspend_data. DataType:CMIString4096. Only available on restart of a SCO. SCO could set this value if a student exits before SCO is completed. The SCO could then use this information on restart.