// Numbas version: exam_results_page_options {"name": "Area and perimeter of parallelograms", "extensions": [], "custom_part_types": [], "resources": [["question-resources/parallelogram_iUPWcgb.png", "/srv/numbas/media/question-resources/parallelogram_iUPWcgb.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["para", "m", "n", "perimeter", "area", "l"], "name": "Area and perimeter of parallelograms", "tags": [], "advice": "
The perimeter is the lengths of all the sides added together.
\nThe area of a parallelogram is height x base.
", "rulesets": {}, "parts": [{"integerPartialCredit": 0, "prompt": "What is the perimeter of the parallelogram in cm?
", "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "{perimeter}", "minValue": "{perimeter}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"integerPartialCredit": 0, "prompt": "What is the area of the parallelogram in cm$^2$?
", "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "{area}", "minValue": "{area}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "extensions": [], "statement": "The diagram below shows a parallelogram.
\n{image('resources/question-resources/'+para)}
\nm = {m} cm
\nn = {n} cm
\nl = {l} cm
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"perimeter": {"definition": "m+m+n+n", "templateType": "anything", "group": "Ungrouped variables", "name": "perimeter", "description": ""}, "para": {"definition": "'parallelogram_iUPWcgb.png'", "templateType": "anything", "group": "Ungrouped variables", "name": "para", "description": ""}, "area": {"definition": "l*n", "templateType": "anything", "group": "Ungrouped variables", "name": "area", "description": ""}, "m": {"definition": "random(5..25)", "templateType": "anything", "group": "Ungrouped variables", "name": "m", "description": ""}, "l": {"definition": "random(4..20)", "templateType": "anything", "group": "Ungrouped variables", "name": "l", "description": ""}, "n": {"definition": "random(5..25)", "templateType": "anything", "group": "Ungrouped variables", "name": "n", "description": ""}}, "metadata": {"description": "Area and perimeter of parallelograms
", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Rachel Staddon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/901/"}]}]}], "contributors": [{"name": "Rachel Staddon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/901/"}]}