// Numbas version: finer_feedback_settings {"name": "Graphs I: Linear - Coordinates", "extensions": ["jsxgraph"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {"dragpoint": {"definition": "// set up the board\nJXG.Options.point.showInfobox = false;\nvar div = Numbas.extensions.jsxgraph.makeBoard('500px','500px',{boundingBox:[-11,11,11,-11],grid:true,withLabel:true});\n\nvar board = div.board;\n\nvar x1 = Numbas.jme.unwrapValue(scope.variables.a);\nvar y1 = Numbas.jme.unwrapValue(scope.variables.b);\nvar x2 = Numbas.jme.unwrapValue(scope.variables.c);\nvar y2 = Numbas.jme.unwrapValue(scope.variables.d);\nvar x3 = Numbas.jme.unwrapValue(scope.variables.ee);\nvar y3 = Numbas.jme.unwrapValue(scope.variables.f);\nvar x4 = Numbas.jme.unwrapValue(scope.variables.g);\nvar y4 = Numbas.jme.unwrapValue(scope.variables.h);\n\nvar e = board.create('point',[10,0],{size:-1,name:'x'});\ne.setProperty({fixed:true});\nvar f = board.create('point',[0,10],{size:-1,name:'y'});\nf.setProperty({fixed:true});\n\nvar a = board.create('point',[x1,y1],{size:5});\na.setProperty({fixed:true});\nvar b = board.create('point',[x2,y2],{size:5});\nb.setProperty({fixed:true});\nvar c = board.create('point',[x3,y3],{size:5});\nc.setProperty({fixed:true});\nvar d = board.create('point',[x4,y4],{size:5});\nd.setProperty({fixed:true});\n\nreturn div;", "type": "html", "parameters": [], "language": "javascript"}}, "ungrouped_variables": ["a", "b", "c", "d", "ee", "f", "g", "h"], "name": "Graphs I: Linear - Coordinates", "tags": [], "advice": "

The correct answers are obtained as follows.

\n\n

", "rulesets": {}, "parts": [{"stepsPenalty": 0, "prompt": "

The coordinates of $A$ are $\\big($[[0]],[[1]]$\\big)$.

\n

The coordinates of $B$ are $\\big($[[2]],[[3]]$\\big)$.

\n

The coordinates of $C$ are $\\big($[[4]],[[5]]$\\big)$.

\n

The coordinates of $D$ are $\\big($[[6]],[[7]]$\\big)$.

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"integerPartialCredit": 0, "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "a", "minValue": "a", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"integerPartialCredit": 0, "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "b", "minValue": "b", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"integerPartialCredit": 0, "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "c", "minValue": "c", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"integerPartialCredit": 0, "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "d", "minValue": "d", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"integerPartialCredit": 0, "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "ee", "minValue": "ee", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"integerPartialCredit": 0, "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "f", "minValue": "f", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"integerPartialCredit": 0, "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "g", "minValue": "g", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"integerPartialCredit": 0, "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "h", "minValue": "h", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "steps": [{"prompt": "

Coordinates are given in the form $(x,y)$

\n

In order to find the coordinate of a certain point, you must first find the $x$ coordinate by looking at which value the point is on the x-axis (the horizontal axis). Then, find the $y$ coordinate by looking at which value the point is on the y-axis (the vertical axis).

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "marks": 0, "scripts": {}, "showCorrectAnswer": true, "type": "gapfill"}], "extensions": ["jsxgraph"], "statement": "

What are the coordinates of the points $A$-$D$ on the following graph?

\n

Note that all coordinates are whole numbers.

\n

{dragpoint()}

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": "c<>a and ee<>a and g<>a and ee<>c and g<>c and g<>ee"}, "preamble": {"css": "", "js": ""}, "variables": {"a": {"definition": "random(-10..10)", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": "

This is the x-coordinate of the first point.

"}, "c": {"definition": "random(-10..10)", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "description": "

This is the x-coordinate of the second point.

"}, "b": {"definition": "random(-10..10)", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": "

This is the y-coordinate of the first point.

"}, "d": {"definition": "random(-10..10)", "templateType": "anything", "group": "Ungrouped variables", "name": "d", "description": "

This is the y-coordinate of the second point.

"}, "g": {"definition": "random(-10..10)", "templateType": "anything", "group": "Ungrouped variables", "name": "g", "description": "

This is the x-coordinate of the fourth point.

"}, "f": {"definition": "random(-10..10)", "templateType": "anything", "group": "Ungrouped variables", "name": "f", "description": "

This is the y-coordinate of the third point.

"}, "ee": {"definition": "random(-10..10)", "templateType": "anything", "group": "Ungrouped variables", "name": "ee", "description": "

This is the x-coordinate of the third point.

"}, "h": {"definition": "random(-10..10)", "templateType": "anything", "group": "Ungrouped variables", "name": "h", "description": "

This is the y-coordinate of the fourth point.

"}}, "metadata": {"description": "

This question allows you to practice identifying the coordinates of points on graphs.

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Sarah Turner", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/881/"}]}]}], "contributors": [{"name": "Sarah Turner", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/881/"}]}