Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
{
  "responseDeclaration1": { // question with two fill-in-the-blanks., each having different scores
    "maxScore": 1,
    "response1": {
      "type": "integer",
      "cardinality": "single",
      "correctResponse": {
        "value": 4,
        "outcomes": {"SCORE": 0.75} // score of 0.75 for correct response to the first blank
      }
    },
    "response2": {
      "type": "integer",
      "cardinality": "single",
      "correctResponse": {
        "value": 2,
        "outcomes": {"SCORE": 0.25} // score of 0.25 for correct response to the first blank
      }
    }
  },
  "responseDeclaration2": { // question with one fill-in-the-blank. 
    "maxScore": 1,
    "response1": {
      "type": "string",
      "cardinality": "single",
      "correctResponse": {
        "value": "New Delhi",
        "outcomes": { "SCORE": 1 } // score      "SCORE": of 1 for        }correct response
      },
      "mapping": [
        {
          "response": "Delhi",
          "outcomes": {
            "SCORE": 0.5 } // partial score of 0.5 for a relevant response
}         }
      ]
    }
  },
  "responseDeclaration3": { // question with a multi-select dropdown. 
    "maxScore": 1,
    "response1": {
      "type": "string",
      "cardinality": "multiple",
      "correctResponse": {
        "value": [           "New Delhi", "Chennai" ],
        "Chennaioutcomes"
        ],
        "outcomes: { "SCORE": {1 } // score of 1 for correct response, i.e when "SCORE": 1
   both the correct answers are selected
    }       },
      "mapping": [
        {
          "response": [
            "New Delhi"
          ],
          "outcomes": {"SCORE": 0.5} // partial          "SCORE":score of 0.5 for selecting one correct option
     }         },
        {
          "response": ["Chennai"],
          "outcomes":  {"ChennaiSCORE": 0.5} // partial score of 0.5 for selecting other correct option
 ],       }
   "outcomes": {  ]
    }
  },
  "SCOREresponseDeclaration4": 0.5{ // question with        }
        }
      ]
    }
  },
  "responseDeclaration4": {two fill-in-the-blanks, both having same scores
    "maxScore": 1,
    "response1": {
      "type": "integer",
      "cardinality": "single",
      "correctResponse": {
        "value": 4,
        "outcomes": {
          "SCORE": 0.5} // score of 0.5 for correct response to }the first blank
    }  }
    },
    "response2": {
      "type": "integer",
      "cardinality": "single",
      "correctResponse": {
        "value": 2,
        "outcomes": {
          "SCORE": 0.5} // score of 0.5 for correct response to the second }blank
      }
    }
  },
  "responseDeclaration5": { // question with a simple MCQ
    "maxScore": 1,
    "response1": {
      "type": "integer",
      "cardinality": "single",
      "correctResponse": {
        "value": 1,
        "outcomes": {
          "SCORE": 1} // score of 1 for correct   }option
      }
    }
  },
  "responseDeclaration6": { // question with a MMCQ
    "maxScore": 1,
    "response1": {
      "type": "integer",

     "cardinality": "multiple",
      "correctResponse": {
        "value": [
          2,
          3
        ],
        "outcomes": {
          "SCORE": 1
        }
      },
      "mapping": [
        {
          "response": [
            2
          ],
      "cardinality": "multiple",
      "outcomescorrectResponse": {
            "SCOREvalue": 0.5[2, 3],
        "outcomes": {"SCORE": 1} // score of 1 for selecting both the },correct options
      },
{           "responsemapping": [
        {
   3           "response": [2],
          "outcomes": {
            "SCORE": 0.5
} // partial score of 0.5 for selecting option 2
}         },
        {
          "response": [3],
          "outcomes": {"SCORE": 0.5} // partial 3,score of 0.5 for selecting option 3
      4  },
        ],{
          "outcomesresponse": {
[3, 4],
          "outcomes": {"SCORE": 0.5} // partial score of 0.5 for selecting options 3 & }4
        }
      ]
    }
  }
}

scoringMode

Scoring mode of the question:

...