// Numbas version: finer_feedback_settings {"name": "SP Airline chart distance vs cost (7)", "extensions": [], "custom_part_types": [], "resources": [["question-resources/Long_haul_flights_vs_cost_chart.png", "/srv/numbas/media/question-resources/Long_haul_flights_vs_cost_chart.png"], ["question-resources/InkedLong_haul_flights_vs_cost_chart_advice1_small.jpg", "/srv/numbas/media/question-resources/InkedLong_haul_flights_vs_cost_chart_advice1_small.jpg"], ["question-resources/InkedLong_haul_flights_vs_cost_chart_advice2_LI_small.jpg", "/srv/numbas/media/question-resources/InkedLong_haul_flights_vs_cost_chart_advice2_LI_small.jpg"], ["question-resources/InkedLong_haul_flights_vs_cost_chart_advice3_LI_small.jpg", "/srv/numbas/media/question-resources/InkedLong_haul_flights_vs_cost_chart_advice3_LI_small.jpg"], ["question-resources/InkedLong_haul_flights_vs_cost_chart_advice4_LI_small.jpg", "/srv/numbas/media/question-resources/InkedLong_haul_flights_vs_cost_chart_advice4_LI_small.jpg"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "SP Airline chart distance vs cost (7)", "tags": ["LANTITE"], "metadata": {"description": "
Used for LANTITE preparation (Australia). SP = Statistics & Probability strand. Students are shown an unuaual chart and asked one of seven possible questions. The Advice for this question is general in nature.
", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "\n\n\n\n\n\n\nThe chart below shows the distance and change in cost of a number of common flight routes.
\n\n", "advice": "\n\nFirst, read the notes below to identify and understand the axes on this unusual chart:
\nSecondly, read the notes below to investigate how two routes might be related:
\nOnce you have undestood how to read this chart, read the question carefully, to determine what is required. Sometimes the answer can be read straight from the chart.
\nHowever, you might then be asked to increase or decrease an amount by a percentage. For example:
\nThe quickest way is to multiply $1 600 by 0.8 (which is equivalent to finding 100% - 20%).
\nThe 2018 fare was $1 280.
\nThis is a little more complicated, because $900 is 80% of the 2014 fare.
\nTo find 100% of the 2014 fare, divide $900 by 0.8. Note that this is NOT the same as multiplying by 1.2.
\nThe 2014 fare was $1 125.
", "rulesets": {}, "extensions": [], "variables": {"answer": {"name": "answer", "group": "Ungrouped variables", "definition": "scenario[\"correctanswer\"]", "description": "\n\nThe correct answer from the randomly selected scenario.
", "templateType": "anything"}, "question": {"name": "question", "group": "Ungrouped variables", "definition": "scenario[\"questiontext\"]", "description": "\n\n\nThe question from the randomly selected scenario.
", "templateType": "anything"}, "scenario": {"name": "scenario", "group": "Ungrouped variables", "definition": "random(scenarios)", "description": "\n\n\n\nThe randomly selected scenario.
", "templateType": "anything"}, "wrong2": {"name": "wrong2", "group": "Ungrouped variables", "definition": "scenario[\"distractor2\"]", "description": "\nThe second incorrect answer from the randomly selected scenario.
", "templateType": "anything"}, "wrong1": {"name": "wrong1", "group": "Ungrouped variables", "definition": "scenario[\"distractor1\"]", "description": "\n\n\nThe first incorrect answer from the randomly selected scenario.
", "templateType": "anything"}, "wrong3": {"name": "wrong3", "group": "Ungrouped variables", "definition": "scenario[\"distractor3\"]", "description": "\n\n\nThe third incorrect answer from the randomly selected scenario.
", "templateType": "anything"}, "scenarios": {"name": "scenarios", "group": "Ungrouped variables", "definition": "json_decode(safe(\"[\\n{\\n\\\"questiontext\\\":\\\"Which flight of less than 3000 km had the largest percentage reduction in price?\\\",\\n\\\"correctanswer\\\":\\\"Amsterdam - London\\\",\\n\\\"distractor1\\\":\\\"Boston - Dallas\\\",\\n\\\"distractor2\\\":\\\"Hong-Kong - Singapore\\\",\\n\\\"distractor3\\\":\\\"London - Frankfurt\\\"\\n},\\n{\\n\\\"questiontext\\\":\\\"Which two routes had the largest percentage reduction in price?\\\",\\n\\\"correctanswer\\\":\\\"Los Angeles - Paris and Los Angeles - London\\\",\\n\\\"distractor1\\\":\\\"San Francisco - Beijing and Los Angeles - Seoul\\\",\\n\\\"distractor2\\\":\\\"Singapore - Sydney and Orlando - Seattle\\\",\\n\\\"distractor3\\\":\\\"Orlando - London and New York - Paris\\\"\\n},\\n{\\n\\\"questiontext\\\":\\\"Any route longer than 5000 km is classified as long-haul. How many long-haul routes are shown on this chart?\\\",\\n\\\"correctanswer\\\":12,\\n\\\"distractor1\\\":8,\\n\\\"distractor2\\\":10,\\n\\\"distractor3\\\":6\\n},\\n{\\n\\\"questiontext\\\":\\\"Which statement is not true?\\\",\\n\\\"correctanswer\\\":\\\"Hong-Kong - Singapore and Hong-Kong - Beijing were the only two routes with prices that decreased by the same percentage.\\\",\\n\\\"distractor1\\\":\\\"As a general trend, the longer flights decreased by a larger percentage than the shorter flights.\\\",\\n\\\"distractor2\\\":\\\"The Singapore - Sydney route became more expensive.\\\",\\n\\\"distractor3\\\":\\\"Trans-Atlantic flights generally decreased by a higher percentage than other flights.\\\"\\n},\\n{\\n\\\"questiontext\\\":\\\"Prior to 2014, an economy-class ticket on the Los Angeles - Seoul route cost an average of $1 600. How much would it cost on average at the end of 2018?\\\",\\n\\\"correctanswer\\\":\\\"$1 280\\\",\\n\\\"distractor1\\\":\\\"$80\\\",\\n\\\"distractor2\\\":\\\"$320\\\",\\n\\\"distractor3\\\":\\\"$1 580\\\"\\n},\\n{\\n\\\"questiontext\\\":\\\"If John travelled Dubai - Singapore then Singapore - Sydney, how far approximately did he travel?\\\",\\n\\\"correctanswer\\\":\\\"12 100 km\\\",\\n\\\"distractor1\\\":\\\"5 800 km\\\",\\n\\\"distractor2\\\":\\\"6 300 km\\\",\\n\\\"distractor3\\\":\\\"12 500 km\\\"\\n},\\n{\\n\\\"questiontext\\\":\\\"After 2018, a ticket on the Los Angeles - Seoul route cost an average of $900. What was the average price prior to 2014?\\\",\\n\\\"correctanswer\\\":\\\"$1 125\\\",\\n\\\"distractor1\\\":\\\"$1 080\\\",\\n\\\"distractor2\\\":\\\"$920\\\",\\n\\\"distractor3\\\":\\\"$720\\\"\\n}\\n]\"))", "description": "\n\n\n\n\n\nThe 7 different scenarios. Each consists of the question, the correct answer, and three incorrect options.
", "templateType": "json"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["scenarios", "scenario", "question", "answer", "wrong1", "wrong2", "wrong3"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "\n{question}
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["\n{answer}", "{wrong1}", "{wrong2}", "{wrong3}"], "matrix": ["1", 0, 0, 0], "distractors": ["Well done!", "Make sure you have studied the axis labels on the chart, then re-read the question.", "Make sure you have studied the axis labels on the chart, then re-read the question.", "Make sure you have studied the axis labels on the chart, then re-read the question."]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}]}]}], "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}]}