// Numbas version: exam_results_page_options {"name": "Create a GeoGebra worksheet entirely in Numbas", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Create a GeoGebra worksheet entirely in Numbas", "tags": [], "metadata": {"description": "

This question shows how to use the GeoGebra extension to start with a blank worksheet, and add objects to it.

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

The diagram below shows points at $\\var{p1}$ and $\\var{p2}$, as well as their midpoint.

\n

{app}

", "advice": "", "rulesets": {}, "extensions": ["geogebra"], "variables": {"app": {"name": "app", "group": "Ungrouped variables", "definition": "geogebra_applet(\n 800,500,\n [\n A: [\n definition: p1,\n label_visible: false\n ],\n B: [\n definition: p2,\n label_visible: false\n ],\n m: [\n definition: \"Midpoint(A,B)\",\n label_visible: false\n ]\n ]\n)", "description": "", "templateType": "anything"}, "p1": {"name": "p1", "group": "Ungrouped variables", "definition": "vector(random(-5..-2), random(-4..4 except 0))", "description": "", "templateType": "anything"}, "p2": {"name": "p2", "group": "Ungrouped variables", "definition": "vector(random(2..5), random(-4..4 except 0))", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["p1", "p2", "app"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}]}