// Numbas version: finer_feedback_settings {"name": "Free Body Diagram 1", "extensions": [], "custom_part_types": [], "resources": [["question-resources/fbd-0_PoiZpWl.png", "/srv/numbas/media/question-resources/fbd-0_PoiZpWl.png"], ["question-resources/fbd-1_xI6ep5I.png", "/srv/numbas/media/question-resources/fbd-1_xI6ep5I.png"], ["question-resources/fbd-2_AdzNdwg.png", "/srv/numbas/media/question-resources/fbd-2_AdzNdwg.png"], ["question-resources/fbd-4_kKlRsW2.png", "/srv/numbas/media/question-resources/fbd-4_kKlRsW2.png"], ["question-resources/fbd-5_zSYquRr.png", "/srv/numbas/media/question-resources/fbd-5_zSYquRr.png"], ["question-resources/fbd-3_frDmR9m.png", "/srv/numbas/media/question-resources/fbd-3_frDmR9m.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Free Body Diagram 1", "tags": [], "metadata": {"description": "Identify errors in student-drawn free body diagrams of a rigid body.", "licence": "Creative Commons Attribution-NonCommercial 4.0 International"}, "statement": "
Identify the errors (if any) in the student's free body diagram of the smooth bar $ACB$, pinned at $A$.
\n\n | \n {image('resources/question-resources/'+this['filename'])} \n | \n
{mistakes}
\nthe student's mistakes to be found
", "templateType": "anything", "can_override": false}, "choices": {"name": "choices", "group": "Ungrouped variables", "definition": "[\n\"Body incorrectly isolated from supports\",\n\"Missing labels\",\n\"Incorrect labeling\",\n\"Missing arrowheads\",\n\"Incorrect represention at A\",\n\"Incorrect represention at B\",\n\"Incorrect represention at C\",\n\"Extra forces\",\n\"Missing weight\",\n\"Force with known direction shown as components\",\n\"No errors\"\n]\n\n", "description": "list of possible mistakes -- checkbox labels
", "templateType": "anything", "can_override": false}, "fbds": {"name": "fbds", "group": "Ungrouped variables", "definition": "json_decode(safe(\"[\\n {\\n \\\"filename\\\": \\\"fbd-1_xI6ep5I.png\\\",\\n \\\"errors\\\": [\\n \\\"Body incorrectly isolated from supports\\\",\\n \\\"Incorrect represention at C\\\"\\n ]\\n },\\n {\\n \\\"filename\\\": \\\"fbd-2_AdzNdwg.png\\\",\\n \\\"errors\\\": [\\n \\\"Body incorrectly isolated from supports\\\"\\n ]\\n },\\n {\\n \\\"filename\\\": \\\"fbd-3_frDmR9m.png\\\",\\n \\\"errors\\\": [\\n \\\"Body incorrectly isolated from supports\\\",\\n \\\"Incorrect labeling\\\",\\n \\\"Missing labels\\\",\\n \\\"Missing arrowheads\\\",\\n \\\"Incorrect represention at A\\\",\\n \\\"Incorrect represention at C\\\"\\n ]\\n },\\n {\\n \\\"filename\\\": \\\"fbd-4_kKlRsW2.png\\\",\\n \\\"errors\\\": [\\n \\\"Incorrect represention at C\\\"\\n ]\\n },\\n {\\n \\\"filename\\\": \\\"fbd-5_zSYquRr.png\\\",\\n \\\"errors\\\": [\\n \\\"Incorrect represention at C\\\",\\n \\\"Force with known direction shown as components\\\"\\n ]\\n }\\n]\"))", "description": "array containing problem image file name and cooresponding errors
", "templateType": "json", "can_override": false}, "this": {"name": "this", "group": "Ungrouped variables", "definition": "fbds[index]", "description": "the current fbd and mistakes
", "templateType": "anything", "can_override": false}, "index": {"name": "index", "group": "Ungrouped variables", "definition": "random(0..length(fbds)-1)", "description": "Selects the FBD to show.
\n\n", "templateType": "anything", "can_override": false}, "matrix": {"name": "matrix", "group": "Ungrouped variables", "definition": "map(if(indices(mistakes, d)=[],0,1),d,choices)", "description": "the marking matrix. 0 if item should not be selected, 1 if it should
", "templateType": "anything", "can_override": true}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["fbds", "this", "mistakes", "choices", "index", "matrix"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": "img{width:600px;}"}, "parts": [{"type": "m_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Check {length(mistakes)} {pluralise(length(mistakes),\"box\",\"boxes\")}.
", "minMarks": "0", "maxMarks": "10", "shuffleChoices": false, "displayType": "checkbox", "displayColumns": "2", "minAnswers": "length(mistakes)", "maxAnswers": "length(mistakes)", "warningType": "none", "showCellAnswerState": true, "markingMethod": "all-or-nothing", "choices": "choices", "matrix": "matrix"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "William Haynes", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2530/"}]}]}], "contributors": [{"name": "William Haynes", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2530/"}]}