represents the results of an assessment.


  • An AssessmentResultObject is created by applying an AssessmentFunction. Typically, it is not created directly.
  • AssessmentResultObject[][prop] gives the value of the property prop. Available properties include:
  • "Score"score awarded by the assessment
    "AnswerCorrect"correctness of the answer provided to the assessment
    "GivenAnswer"assessed answer
    "Explanation"text explaining the assessment
    "PossibleScore"maximum possible score for the question
    "TargetAnswer"standard answer matched by the given answer
    "AnswerComparisonMethod"method used for comparing answers to the key
  • Assessments based on sorting values into categories will typically also contain a "Category" property.
  • The value of "AnswerCorrect" is always either True or False.
  • Assessments that accept multiple elements and award partial credit also contain an "ElementInformation" property that contains assessment information for each element.
  • AssessmentResultObject[][All] gives an Association with all available properties.
  • AssessmentResultObject[][{prop1,prop2,}] gives values for multiple properties as an Association.


open allclose all

Basic Examples  (1)

Create an AssessmentResultObject as the output of AssessmentFunction:

Scope  (3)

Assess an answer to a multiple-choice question:

See the score:

See the correctness:

Retrieve the original answer:

See the raw assessment information:

Assess an answer to a partial-credit question:

See the assessment of each element:

By default, the score is the Total of the element scores and the correctness is a logical And of the element correctness:

Create an AssessmentFunction with explanations for each possible answer:

The assessment information includes the appropriate explanation:

Wolfram Research (2020), AssessmentResultObject, Wolfram Language function,


Wolfram Research (2020), AssessmentResultObject, Wolfram Language function,


@misc{reference.wolfram_2020_assessmentresultobject, author="Wolfram Research", title="{AssessmentResultObject}", year="2020", howpublished="\url{}", note=[Accessed: 05-March-2021 ]}


@online{reference.wolfram_2020_assessmentresultobject, organization={Wolfram Research}, title={AssessmentResultObject}, year={2020}, url={}, note=[Accessed: 05-March-2021 ]}


Wolfram Language. 2020. "AssessmentResultObject." Wolfram Language & System Documentation Center. Wolfram Research.


Wolfram Language. (2020). AssessmentResultObject. Wolfram Language & System Documentation Center. Retrieved from