MultiChoiceQuestion

fun MultiChoiceQuestion(    id: String,     question: String,     options: Array<String>,     indexOfCorrectOption: Int,     mark: Int)

Parameters

id

the id of the Multi-Choice question.

question

a string that contains the question.

options

an array of strings representing the options for the multi-choice question.

indexOfCorrectOption

integer indicating the index of correct option.

mark

represents the maximum weightage (mark) for this question.