// Numbas version: exam_results_page_options {"name": "Transformation - Reflection", "extensions": [], "custom_part_types": [], "resources": [["question-resources/graph_reflection_circ_x_zsnE02O.svg", "/srv/numbas/media/question-resources/graph_reflection_circ_x_zsnE02O.svg"], ["question-resources/graph_reflection_circ_x_correct_oKe609k.svg", "/srv/numbas/media/question-resources/graph_reflection_circ_x_correct_oKe609k.svg"], ["question-resources/graph_reflection_circ_y_gx01gno.svg", "/srv/numbas/media/question-resources/graph_reflection_circ_y_gx01gno.svg"], ["question-resources/graph_reflection_circ_y_correct_O200k08.svg", "/srv/numbas/media/question-resources/graph_reflection_circ_y_correct_O200k08.svg"], ["question-resources/graph_reflection_circle_yx_6UIuin2.svg", "/srv/numbas/media/question-resources/graph_reflection_circle_yx_6UIuin2.svg"], ["question-resources/graph_reflection_circle_yx_correct_qTO6FYY.svg", "/srv/numbas/media/question-resources/graph_reflection_circle_yx_correct_qTO6FYY.svg"], ["question-resources/graph_reflection_rect_x_TIdTdJL.svg", "/srv/numbas/media/question-resources/graph_reflection_rect_x_TIdTdJL.svg"], ["question-resources/graph_reflection_rect_x_correct_Rs0CpMG.svg", "/srv/numbas/media/question-resources/graph_reflection_rect_x_correct_Rs0CpMG.svg"], ["question-resources/graph_reflection_rect_y_MmV3ZAK.svg", "/srv/numbas/media/question-resources/graph_reflection_rect_y_MmV3ZAK.svg"], ["question-resources/graph_reflection_rect_y_correct_Robg15m.svg", "/srv/numbas/media/question-resources/graph_reflection_rect_y_correct_Robg15m.svg"], ["question-resources/graph_reflection_rect_yx_76qXVib.svg", "/srv/numbas/media/question-resources/graph_reflection_rect_yx_76qXVib.svg"], ["question-resources/graph_reflection_rect_yx_correct_ojRIhWk.svg", "/srv/numbas/media/question-resources/graph_reflection_rect_yx_correct_ojRIhWk.svg"], ["question-resources/graph_reflection_triangle_x_wjCxAeu.svg", "/srv/numbas/media/question-resources/graph_reflection_triangle_x_wjCxAeu.svg"], ["question-resources/graph_reflection_triangle_x_correct_bf48jod.svg", "/srv/numbas/media/question-resources/graph_reflection_triangle_x_correct_bf48jod.svg"], ["question-resources/graph_reflection_triangle_y_PN3pJ31.svg", "/srv/numbas/media/question-resources/graph_reflection_triangle_y_PN3pJ31.svg"], ["question-resources/graph_reflection_triangle_y_correct_vRjIlRy.svg", "/srv/numbas/media/question-resources/graph_reflection_triangle_y_correct_vRjIlRy.svg"], ["question-resources/graph_reflection_triangle_y-x_9JedlAc.svg", "/srv/numbas/media/question-resources/graph_reflection_triangle_y-x_9JedlAc.svg"], ["question-resources/graph_reflection_triangle_y-x_correct_hte3xZa.svg", "/srv/numbas/media/question-resources/graph_reflection_triangle_y-x_correct_hte3xZa.svg"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"extensions": [], "rulesets": {}, "name": "Transformation - Reflection", "functions": {}, "ungrouped_variables": [], "metadata": {"description": "

Determine the way in which an image A has been reflected onto an image B.

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "variable_groups": [{"variables": ["images", "chosen_image", "distractors", "answer", "correct_image"], "name": "Reflection"}], "advice": "

The line of reflection is {chosen_image['answer']}. This is represented as a green dashed line on the graph below.

\n

{image('resources/question-resources/'+chosen_image[\"correct_image\"])}

", "statement": "

Determine how the image A has been reflected onto image B.

", "preamble": {"js": "", "css": ""}, "variables": {"answer": {"templateType": "anything", "description": "

Takes the correct answer from chosen_image.

", "name": "answer", "group": "Reflection", "definition": "chosen_image[\"answer\"]"}, "chosen_image": {"templateType": "anything", "description": "

Takes from images the chosen image and it's variables

", "name": "chosen_image", "group": "Reflection", "definition": "random(images)"}, "distractors": {"templateType": "anything", "description": "

Takes the distractors from chosen_image.

", "name": "distractors", "group": "Reflection", "definition": "chosen_image[\"distractors\"]"}, "correct_image": {"templateType": "anything", "description": "

Takes the correct image (the advice) from chosen_image

", "name": "correct_image", "group": "Reflection", "definition": "chosen_image[\"correct_image\"]"}, "images": {"templateType": "json", "description": "

Uses JSON data to assign answers with images and distractors (other options when answering)

\n

", "name": "images", "group": "Reflection", "definition": "json_decode(safe(\"[\\n {\\n \\\"image\\\": \\\"graph_reflection_circ_x_zsnE02O.svg\\\",\\n \\\"answer\\\": \\\"y = 0\\\",\\n \\\"correct_image\\\": \\\"graph_reflection_circ_x_correct_oKe609k.svg\\\",\\n \\\"distractors\\\": [\\\"x = 0\\\", \\\"y = x\\\", \\\"y = -x\\\"]\\n },\\n {\\n \\\"image\\\": \\\"graph_reflection_triangle_y_PN3pJ31.svg\\\",\\n \\\"correct_image\\\": \\\"graph_reflection_triangle_y_correct_vRjIlRy.svg\\\",\\n \\\"answer\\\": \\\"x = 0\\\",\\n \\\"distractors\\\": [\\\"y = -x\\\", \\\"y = 0\\\", \\\"y = x\\\"] \\n },\\n {\\n \\\"image\\\": \\\"graph_reflection_triangle_x_wjCxAeu.svg\\\",\\n \\\"correct_image\\\": \\\"graph_reflection_triangle_x_correct_bf48jod.svg\\\",\\n \\\"answer\\\": \\\"y = 0\\\",\\n \\\"distractors\\\": [\\\"x = 0\\\", \\\"y = x\\\", \\\"y = -x\\\"] \\n },\\n {\\n \\\"image\\\": \\\"graph_reflection_triangle_y-x_9JedlAc.svg\\\",\\n \\\"correct_image\\\": \\\"graph_reflection_triangle_y-x_correct_hte3xZa.svg\\\",\\n \\\"answer\\\": \\\"y = -x\\\",\\n \\\"distractors\\\": [\\\"x = 0\\\", \\\"y = 0\\\", \\\"y = x\\\"] \\n },\\n {\\n \\\"image\\\": \\\"graph_reflection_rect_x_TIdTdJL.svg\\\",\\n \\\"correct_image\\\": \\\"graph_reflection_rect_x_correct_Rs0CpMG.svg\\\",\\n \\\"answer\\\": \\\"y = 0\\\",\\n \\\"distractors\\\": [\\\"x = 0\\\", \\\"y = x\\\", \\\"y = -x\\\"] \\n },\\n {\\n \\\"image\\\": \\\"graph_reflection_rect_yx_76qXVib.svg\\\",\\n \\\"correct_image\\\": \\\"graph_reflection_rect_yx_correct_ojRIhWk.svg\\\",\\n \\\"answer\\\": \\\"y = x\\\",\\n \\\"distractors\\\": [\\\"x = 0\\\", \\\"y = 0\\\", \\\"y = -x\\\"] \\n },\\n {\\n \\\"image\\\": \\\"graph_reflection_rect_y_MmV3ZAK.svg\\\",\\n \\\"correct_image\\\": \\\"graph_reflection_rect_y_correct_Robg15m.svg\\\",\\n \\\"answer\\\": \\\"x = 0\\\",\\n \\\"distractors\\\": [\\\"y = x\\\", \\\"y = 0\\\", \\\"y = -x\\\"] \\n },\\n {\\n \\\"image\\\": \\\"graph_reflection_circle_yx_6UIuin2.svg\\\",\\n \\\"correct_image\\\": \\\"graph_reflection_circle_yx_correct_qTO6FYY.svg\\\",\\n \\\"answer\\\": \\\"y = x\\\",\\n \\\"distractors\\\": [\\\"x = 0\\\", \\\"y = 0\\\", \\\"y = -x\\\"] \\n },\\n {\\n \\\"image\\\": \\\"graph_reflection_circ_y_gx01gno.svg\\\",\\n \\\"correct_image\\\": \\\"graph_reflection_circ_y_correct_O200k08.svg\\\",\\n \\\"answer\\\": \\\"x = 0\\\",\\n \\\"distractors\\\": [\\\"y = x\\\", \\\"y = 0\\\", \\\"y = -x\\\"] \\n }\\n]\"))"}}, "parts": [{"variableReplacementStrategy": "originalfirst", "choices": ["

$\\var{latex(answer)}$

", "

$\\var{latex(distractors[0])}$

", "

$\\var{latex(distractors[1])}$

", "

$\\var{latex(distractors[2])}$

"], "matrix": ["1", 0, 0, 0], "displayColumns": 0, "maxMarks": 0, "type": "1_n_2", "minMarks": 0, "marks": 0, "prompt": "

{image('resources/question-resources/'+chosen_image[\"image\"])}

\n

Reflection in the line:

", "variableReplacements": [], "showFeedbackIcon": true, "displayType": "radiogroup", "shuffleChoices": true, "scripts": {}, "distractors": ["", "", "", ""], "showCorrectAnswer": true}], "tags": ["reflection", "Reflection", "taxonomy", "transformation", "Transformation"], "variablesTest": {"maxRuns": 100, "condition": ""}, "contributors": [{"name": "Aiden McCall", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1592/"}]}]}], "contributors": [{"name": "Aiden McCall", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1592/"}]}