Skip to content

Сопоставление

Вопрос на сопоставление варианта ответа, какому-либо понятию

Шаблон

{
    "question_type": "matching",
    "response_body": {
        "correct_answer": {
            "answers": {
                "question1": "answer1",
                "question2": "answer2",
                "question3": "answer3"
            }
        },
        "answer": {
            "upper_bound": 1,
            "lower_bound": 0,
            "default_value": 0,
            "answers": {
                "question_1": {
                    "answer_1": 1,
                    "answer_2": -0.33,
                    "answer_3": -0.33,
                    "answer_4": -0.33
                },
                "question_2": {
                    "answer_1": -0.33,
                    "answer_2": 1,
                    "answer_3": -0.33,
                    "answer_4": -0.33
                },
                "question_3": {
                    "answer_1": -0.33,
                    "answer_2": -0.33,
                    "answer_3": 1,
                    "answer_4": -0.33
                }
            }
        },
        "question_body": {
            "question_settings": {
                "shuffle": true,
                "max_choices": 3
            },
            "text_body": "текст вопроса",
            "choices": {
                "match_left": {
                    "question_1": "вопрос1",
                    "question_2": "вопрос2",
                    "question_3": "вопрос3",
                    "question_4": ""
                },
                "match_right": {
                    "answer_1": "ответ1",
                    "answer_2": "ответ2",
                    "answer_3": "ответ3",
                    "answer_4": "ответ4"
                }
            }
        },
        "comment_to_wrong_answers": {
            "show": true,
            "comment_body": "коммент"
        },
        "comment_to_right_answers": {
            "show": true,
            "comment_body": "коммент"
        }
    }
}

Назад