// Numbas version: finer_feedback_settings {"name": "Identify point on number line (fraction version)", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Identify point on number line (fraction version)", "tags": [], "metadata": {"description": "
The student is shown a GeoGebra worksheet containing a single point at the origin. They must move the point to the required coordinates.
\nThe part is marked as correct if the point is in the right position.
", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "{app}
\nCopyright © International GeoGebra Institute, 2013, https://www.geogebra.org
", "advice": "", "rulesets": {}, "extensions": ["geogebra"], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"app": {"name": "app", "group": "Ungrouped variables", "definition": "geogebra_applet(\n \"snzz5xmd\"\n,\n [\n \n ],\n [\n [\"C\", \"p0\"]\n ]\n)", "description": "", "templateType": "anything", "can_override": false}, "target_position": {"name": "target_position", "group": "Ungrouped variables", "definition": "vector(value,0)", "description": "", "templateType": "anything", "can_override": false}, "value": {"name": "value", "group": "Ungrouped variables", "definition": "numerator/denominator", "description": "", "templateType": "anything", "can_override": false}, "numerator": {"name": "numerator", "group": "Ungrouped variables", "definition": "random(-10..10 except [0, denominator])", "description": "", "templateType": "anything", "can_override": false}, "denominator": {"name": "denominator", "group": "Ungrouped variables", "definition": "random(2..6)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["app", "target_position", "value", "numerator", "denominator"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "extension", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "pos:\n value(app,\"C\")\n\nmark:\nfeedback(\"The point is at \\\\(\\\\var{latex(string(rational(precround(x(app,'C'),3))))}\\\\).\");\n if(withintolerance(target_position[0],pos[0],0.005),\n correct(\"Your answer is correct to within a tolerance of \\\\(\\\\frac{1}{200}\\\\).\" ),\n incorrect(\"Your answer is at least \\\\(\\\\frac{1}{200}\\\\) away from the correct position.\"))\n\ninterpreted_answer:\n pos", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Move the point to $\\frac{\\var{numerator}}{\\var{denominator}}$. Move the point to close to the correct location, then use the Zoom In button to very accurately place the point. Click the \"Submit answer\" button when you have finished.
"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}, {"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}, {"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}]}