Versions Compared

Key

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

...

<p>The Capital city of Karnataka: <blank id="2145"/> </p><p>The Capital city of India: <blank id="2146"/> </p>

Question Model

Solution 1

The question model will contain the further details of the blanks.

Category 1 & 2

Category 3 & 4


Solution 2

Wiki Markup
```json
{
  "question": {
    "text": "<p>Name any 3 south Indian states: <blank "id"="b0"></blank>,<blank "id"="b1"></blank> and <blank "id"="b2"></blank></p> ",
    "audio":"",
    "image": ""
  },
  "answer": [],
  "data": {
    "fields": {
      "b0": {
        "type": "blank",
        "seq": 1, 
        "answers": ["1"], //contains answers or group id, if group is set to true
        "data": "",
        "group": true
      },
      "b1": {
        "type": "blank",
        "seq": 2, 
        "answers": ["1"], //contains answers or group id, if group is set to true
        "data": "",
        "group": true
      }
    }
    "groups": {
      "1": {
        "answers": [
          ["Karnataka", "KA"],
          ["Andhrapradesh", "AP"],
          ["Tamilnadu", "TN"],
          ["Kerala", "KL"],
        ]
      }
    }
  }
}

```

Backward compatibility & versioning

...