// Numbas version: finer_feedback_settings {"name": "Identify the spanning tree", "extensions": [], "custom_part_types": [], "resources": [["question-resources/network3_Q3ZOngE.png", "/srv/numbas/media/question-resources/network3_Q3ZOngE.png"], ["question-resources/network3_cycle.png", "/srv/numbas/media/question-resources/network3_cycle.png"], ["question-resources/network3_distree.png", "/srv/numbas/media/question-resources/network3_distree.png"], ["question-resources/network3_sptree.png", "/srv/numbas/media/question-resources/network3_sptree.png"], ["question-resources/network3_tree.png", "/srv/numbas/media/question-resources/network3_tree.png"], ["question-resources/network7_HrpBRN0.png", "/srv/numbas/media/question-resources/network7_HrpBRN0.png"], ["question-resources/network7_cycle.png", "/srv/numbas/media/question-resources/network7_cycle.png"], ["question-resources/network7_cycle2.png", "/srv/numbas/media/question-resources/network7_cycle2.png"], ["question-resources/network7_sptree.png", "/srv/numbas/media/question-resources/network7_sptree.png"], ["question-resources/network7_tree.png", "/srv/numbas/media/question-resources/network7_tree.png"], ["question-resources/network8_kexG9Qx.png", "/srv/numbas/media/question-resources/network8_kexG9Qx.png"], ["question-resources/network8_cycle.png", "/srv/numbas/media/question-resources/network8_cycle.png"], ["question-resources/network8_distree.png", "/srv/numbas/media/question-resources/network8_distree.png"], ["question-resources/network8_sptree.png", "/srv/numbas/media/question-resources/network8_sptree.png"], ["question-resources/network8_tree.png", "/srv/numbas/media/question-resources/network8_tree.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Identify the spanning tree", "tags": [], "metadata": {"description": "

Students are randomly shown one of 3 networks.

\n

They are given 4 sub-networks and asked to identify which one is a spanning tree

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

{image('resources/question-resources/'+imagelist[imagechoice])}

", "advice": "

A spanning tree:

\n\n

Only one of these options meets all of these conditions.

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"imagelist": {"name": "imagelist", "group": "Ungrouped variables", "definition": "[\"network3_Q3ZOngE.png\",\"network7_HrpBRN0.png\",\"network8_kexG9Qx.png\" \n ]", "description": "", "templateType": "anything", "can_override": false}, "imagechoice": {"name": "imagechoice", "group": "Ungrouped variables", "definition": "random(0..2)", "description": "", "templateType": "anything", "can_override": false}, "optionlist": {"name": "optionlist", "group": "Ungrouped variables", "definition": "[[\"network3_sptree.png\",\"network3_cycle.png\",\"network3_distree.png\",\"network3_tree.png\"],\n [\"network7_sptree.png\",\"network7_cycle.png\",\"network7_cycle2.png\",\"network7_tree.png\"],\n [\"network8_sptree.png\",\"network8_cycle.png\",\"network8_distree.png\",\"network8_tree.png\"]\n ]", "description": "", "templateType": "anything", "can_override": false}, "optiona": {"name": "optiona", "group": "Ungrouped variables", "definition": "optionlist[imagechoice][0]", "description": "", "templateType": "anything", "can_override": false}, "optionb": {"name": "optionb", "group": "Ungrouped variables", "definition": "optionlist[imagechoice][1]", "description": "", "templateType": "anything", "can_override": false}, "optionc": {"name": "optionc", "group": "Ungrouped variables", "definition": "optionlist[imagechoice][2]", "description": "", "templateType": "anything", "can_override": false}, "optiond": {"name": "optiond", "group": "Ungrouped variables", "definition": "optionlist[imagechoice][3]", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["imagelist", "imagechoice", "optionlist", "optiona", "optionb", "optionc", "optiond"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Which of the following is a spanning tree for this network?

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["{image('resources/question-resources/'+optiona)}", "{image('resources/question-resources/'+optionb)}", "{image('resources/question-resources/'+optionc)}", "{image('resources/question-resources/'+optiond)}}"], "matrix": ["1", 0, 0, 0], "distractors": ["", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}]}]}], "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}]}