// Numbas version: exam_results_page_options {"name": "Which of the following networks are trees?", "extensions": [], "custom_part_types": [], "resources": [["question-resources/housenetwork_oXUKc23.png", "/srv/numbas/media/question-resources/housenetwork_oXUKc23.png"], ["question-resources/ligtht_rail_network.png", "/srv/numbas/media/question-resources/ligtht_rail_network.png"], ["question-resources/network1_A6nYzOZ.png", "/srv/numbas/media/question-resources/network1_A6nYzOZ.png"], ["question-resources/network2_K76MboM.jpg", "/srv/numbas/media/question-resources/network2_K76MboM.jpg"], ["question-resources/network2_4X5zJ4H.png", "/srv/numbas/media/question-resources/network2_4X5zJ4H.png"], ["question-resources/network3_sptree_UrYkMej.png", "/srv/numbas/media/question-resources/network3_sptree_UrYkMej.png"], ["question-resources/network3_tree_iGqqbSK.png", "/srv/numbas/media/question-resources/network3_tree_iGqqbSK.png"], ["question-resources/network7_cycle_QO3NXAR.png", "/srv/numbas/media/question-resources/network7_cycle_QO3NXAR.png"], ["question-resources/network10_tr2_OUlo4Nl.png", "/srv/numbas/media/question-resources/network10_tr2_OUlo4Nl.png"], ["question-resources/network10_subnet_QqzAlou.png", "/srv/numbas/media/question-resources/network10_subnet_QqzAlou.png"], ["question-resources/network10_spt1_iVYIVnN.png", "/srv/numbas/media/question-resources/network10_spt1_iVYIVnN.png"], ["question-resources/network8_sptree_3haKNa8.png", "/srv/numbas/media/question-resources/network8_sptree_3haKNa8.png"], ["question-resources/network9_tree_XMnKOCu.png", "/srv/numbas/media/question-resources/network9_tree_XMnKOCu.png"], ["question-resources/network10_0Qx8ZFR.png", "/srv/numbas/media/question-resources/network10_0Qx8ZFR.png"], ["question-resources/network9_sp1_Yx9E5sI.png", "/srv/numbas/media/question-resources/network9_sp1_Yx9E5sI.png"], ["question-resources/network9_minsp_xkyNPfy.png", "/srv/numbas/media/question-resources/network9_minsp_xkyNPfy.png"], ["question-resources/network7_tree_uBBhCxm.png", "/srv/numbas/media/question-resources/network7_tree_uBBhCxm.png"], ["question-resources/network8_tree_vFtPwBp.png", "/srv/numbas/media/question-resources/network8_tree_vFtPwBp.png"], ["question-resources/network8_distree_Pm8o0KN.png", "/srv/numbas/media/question-resources/network8_distree_Pm8o0KN.png"], ["question-resources/network3_distree_tIWskEO.png", "/srv/numbas/media/question-resources/network3_distree_tIWskEO.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Which of the following networks are trees?", "tags": [], "metadata": {"description": "

Students are shown 4 network diagrams (randomly selected from a pool of 20) and asked to identify which of them are trees.

\n

Students are awarded 1 mark for each correct identification, and lose 1 mark for each non-tree they select.

\n

As the number of trees can change, the number of marks that this question is worth can also change, ranging from 1 to 4.

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

Which of the following are trees?

", "advice": "

A tree is fully connected and contains no cycles.

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"images": {"name": "images", "group": "Ungrouped variables", "definition": "[\"network8_sptree_3haKNa8.png\",\n \"network10_spt1_iVYIVnN.png\",\n \"network10_tr2_OUlo4Nl.png\",\n \"network3_tree_iGqqbSK.png\",\n \"network3_sptree_UrYkMej.png\",\n \"network9_sp1_Yx9E5sI.png\",\n \"network9_minsp_xkyNPfy.png\",\n \"network7_tree_uBBhCxm.png\",\n \"network8_tree_vFtPwBp.png\", \n \"network10_0Qx8ZFR.png\",\n \"network9_tree_XMnKOCu.png\",\n \"network10_subnet_QqzAlou.png\",\n \"network7_cycle_QO3NXAR.png\",\n \"network2_4X5zJ4H.png\",\n \"network2_K76MboM.jpg\",\n \"network1_A6nYzOZ.png\",\n \"ligtht_rail_network.png\",\n \"housenetwork_oXUKc23.png\",\n \"network8_distree_Pm8o0KN.png\",\n \"network3_distree_tIWskEO.png\"\n ]", "description": "

The first 9 are trees. The rest are not.

", "templateType": "anything", "can_override": false}, "choicelist": {"name": "choicelist", "group": "Ungrouped variables", "definition": "[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19] except[{firstchoice}]", "description": "", "templateType": "anything", "can_override": false}, "choice1": {"name": "choice1", "group": "Ungrouped variables", "definition": "images[firstchoice]", "description": "", "templateType": "anything", "can_override": false}, "mark1": {"name": "mark1", "group": "Ungrouped variables", "definition": "1", "description": "", "templateType": "anything", "can_override": false}, "choice2": {"name": "choice2", "group": "Ungrouped variables", "definition": "images[choices[1]]", "description": "", "templateType": "anything", "can_override": false}, "mark2": {"name": "mark2", "group": "Ungrouped variables", "definition": "if(choices[1]<9,1,-1)", "description": "", "templateType": "anything", "can_override": false}, "choice3": {"name": "choice3", "group": "Ungrouped variables", "definition": "images[choices[2]]", "description": "", "templateType": "anything", "can_override": false}, "mark3": {"name": "mark3", "group": "Ungrouped variables", "definition": "if(choices[2]<9,1,-1)", "description": "", "templateType": "anything", "can_override": false}, "choice4": {"name": "choice4", "group": "Ungrouped variables", "definition": "images[choices[3]]", "description": "", "templateType": "anything", "can_override": false}, "mark4": {"name": "mark4", "group": "Ungrouped variables", "definition": "if(choices[3]<9,1,-1)", "description": "", "templateType": "anything", "can_override": false}, "firstchoice": {"name": "firstchoice", "group": "Ungrouped variables", "definition": "random(0..8)", "description": "", "templateType": "anything", "can_override": false}, "choices": {"name": "choices", "group": "Ungrouped variables", "definition": "shuffle(choicelist)[0..4]", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["images", "choicelist", "firstchoice", "choice1", "mark1", "choice2", "mark2", "choice3", "mark3", "choice4", "mark4", "choices"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "m_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, "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "checkbox", "displayColumns": 0, "minAnswers": 0, "maxAnswers": 0, "warningType": "none", "showCellAnswerState": true, "markingMethod": "sum ticked cells", "choices": ["{image('resources/question-resources/'+choice1)}", "{image('resources/question-resources/'+choice2)}", "{image('resources/question-resources/'+choice3)}", "{image('resources/question-resources/'+choice4)}"], "matrix": ["{mark1}", "{mark2}", "{mark3}", "{mark4}"], "distractors": ["", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "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/"}]}