// Numbas version: exam_results_page_options {"name": "Shape perimeter", "extensions": ["stats", "jsxgraph", "permutations", "geogebra", "random_person", "codewords", "polynomials", "chemistry", "quantities"], "custom_part_types": [{"source": {"pk": 28, "author": {"name": "Marie Nicholson", "pk": 1799}, "edit_page": "/part_type/28/edit"}, "name": "True/False", "short_name": "true-false", "description": "

The answer is either 'True' or 'False'

", "help_url": "", "input_widget": "radios", "input_options": {"correctAnswer": "if(eval(settings[\"correct_answer_expr\"]), 0, 1)", "hint": {"static": true, "value": ""}, "choices": {"static": true, "value": ["True", "False"]}}, "can_be_gap": true, "can_be_step": true, "marking_script": "mark:\nif(studentanswer=correct_answer,\n correct(),\n incorrect()\n)\n\ninterpreted_answer:\nstudentAnswer=0\n\ncorrect_answer:\nif(eval(settings[\"correct_answer_expr\"]),0,1)", "marking_notes": [{"name": "mark", "description": "This is the main marking note. It should award credit and provide feedback based on the student's answer.", "definition": "if(studentanswer=correct_answer,\n correct(),\n incorrect()\n)"}, {"name": "interpreted_answer", "description": "A value representing the student's answer to this part.", "definition": "studentAnswer=0"}, {"name": "correct_answer", "description": "", "definition": "if(eval(settings[\"correct_answer_expr\"]),0,1)"}], "settings": [{"name": "correct_answer_expr", "label": "Is the answer \"True\"", "help_url": "", "hint": "", "input_type": "mathematical_expression", "default_value": "true", "subvars": false}], "public_availability": "always", "published": true, "extensions": []}], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Shape perimeter", "tags": [], "metadata": {"description": "Testing knowledge of shape area and perimeter", "licence": "All rights reserved"}, "statement": "

The perimeter of a shape is the is the distance around the outside of a shape. It can be found by adding together the lengths of all of the sides.

", "advice": "

Answer is true! 

", "rulesets": {}, "extensions": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "1", "description": "

True

", "templateType": "anything"}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "0", "description": "

False

", "templateType": "anything"}}, "variablesTest": {"condition": "1", "maxRuns": 100}, "ungrouped_variables": ["a", "b"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "true-false", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

The perimeter of a circle can be calculated by multiplying the diameter of the circle by pi.

", "settings": {"correct_answer_expr": "true"}}], "contributors": [{"name": "Leyla Yaltiligil", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4142/"}]}]}], "contributors": [{"name": "Leyla Yaltiligil", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4142/"}]}