// Numbas version: exam_results_page_options {"name": "GeoGebra: display a different worksheet depending on question variables", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "GeoGebra: display a different worksheet depending on question variables", "tags": [], "metadata": {"description": "

This question shows how to pick a GeoGebra worksheet to show to the student from a list, based on the value of a question variable.

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

This is version {version}.

\n

{worksheet}

", "advice": "", "rulesets": {}, "extensions": ["geogebra"], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"worksheets": {"name": "worksheets", "group": "Ungrouped variables", "definition": "[\n geogebra_applet('https://www.geogebra.org/m/fqUwedfs'),\n geogebra_applet('https://www.geogebra.org/m/Cy8bxaKS'),\n]", "description": "

The available worksheets. Which one is shown depends on the value of version.

", "templateType": "anything", "can_override": false}, "version": {"name": "version", "group": "Ungrouped variables", "definition": "random(0,1)", "description": "

Either 0 or 1. Determines which worksheet to show.

", "templateType": "anything", "can_override": false}, "worksheet": {"name": "worksheet", "group": "Ungrouped variables", "definition": "worksheets[version]", "description": "

The worksheet to display

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["worksheets", "version", "worksheet"], "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/"}]}