// Numbas version: exam_results_page_options {"name": "Match statement to graphs", "extensions": ["random_person"], "custom_part_types": [], "resources": [["question-resources/tennis_velocity_4OedUR5.svg", "/srv/numbas/media/question-resources/tennis_velocity_4OedUR5.svg"], ["question-resources/Straightspeedthenbreak_6aTug3L.svg", "/srv/numbas/media/question-resources/Straightspeedthenbreak_6aTug3L.svg"], ["question-resources/nwtusklength_I6qZnxb.svg", "/srv/numbas/media/question-resources/nwtusklength_I6qZnxb.svg"], ["question-resources/sprint_Dc9etJm.svg", "/srv/numbas/media/question-resources/sprint_Dc9etJm.svg"], ["question-resources/Productivity_FXzE9WD.svg", "/srv/numbas/media/question-resources/Productivity_FXzE9WD.svg"], ["question-resources/limpetheartrate_TAJQrxv.svg", "/srv/numbas/media/question-resources/limpetheartrate_TAJQrxv.svg"], ["question-resources/tennis_velocity_tUQXb8i.svg", "/srv/numbas/media/question-resources/tennis_velocity_tUQXb8i.svg"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Match statement to graphs", "type": "question", "statement": "

Select the figure that best matches each of the given statements.

", "variablesTest": {"condition": "", "maxRuns": 100}, "variables": {"person2": {"description": "", "definition": "random_person()", "templateType": "anything", "name": "person2", "group": "Ungrouped variables"}, "person1": {"description": "", "definition": "random_person()", "templateType": "anything", "name": "person1", "group": "Ungrouped variables"}, "s1": {"description": "", "definition": "if(person1['gender']='neutral','','s')", "templateType": "anything", "name": "s1", "group": "Ungrouped variables"}, "s2": {"description": "", "definition": "if(person2['gender']='neutral','','s')", "templateType": "anything", "name": "s2", "group": "Ungrouped variables"}}, "extensions": ["random_person"], "functions": {"insert_svg": {"parameters": [["url", "string"]], "type": "html", "language": "javascript", "definition": "return $('').attr({'data': url, 'type':'image/svg+xml', 'class':'graph'}); \n"}}, "tags": ["graphings of scenarios", "graphs", "matching graph to situations", "relationships between variables"], "variable_groups": [], "parts": [{"scripts": {}, "minMarks": 0, "distractors": ["", "", "", "", "", ""], "variableReplacementStrategy": "originalfirst", "displayType": "radiogroup", "choices": ["

", "

", "

", "

", "

", "

"], "showFeedbackIcon": true, "prompt": "

A tennis ball is thrown up from ground level. The height of the tennis ball from its original position is plotted against time. 

", "shuffleChoices": false, "matrix": ["0", "1", 0, 0, 0, 0], "variableReplacements": [], "marks": 0, "displayColumns": 0, "showCorrectAnswer": true, "maxMarks": 0, "type": "1_n_2"}, {"scripts": {}, "minMarks": 0, "distractors": ["", "", "", "", "", ""], "variableReplacementStrategy": "originalfirst", "displayType": "radiogroup", "choices": ["

", "

", "

", "

", "

", "

"], "showFeedbackIcon": true, "prompt": "

A car is driving down a straight road at constant speed. After some time, the car suddenly brakes. The speed of the car is plotted against time. 

", "shuffleChoices": false, "matrix": ["1", "0", 0, 0, 0, 0], "variableReplacements": [], "marks": 0, "displayColumns": 0, "showCorrectAnswer": true, "maxMarks": 0, "type": "1_n_2"}, {"scripts": {}, "minMarks": 0, "distractors": ["", "", "", "", "", ""], "variableReplacementStrategy": "originalfirst", "displayType": "radiogroup", "choices": ["

", "

", "

", "

", "

", "

"], "showFeedbackIcon": true, "prompt": "

{person1['name']} is working at {person1['pronouns']['their']} summer job and {person1['pronouns']['they']} start{s1} the day tired and unproductive at 8:00. As the day goes on, {person1['pronouns']['they']} become{s1} more productive, but as the day approches 17:00 has become tired again. {capitalise(person1['name'])}'s productivity is plotted against time.

", "shuffleChoices": false, "matrix": ["0", "0", 0, "1", 0, 0], "variableReplacements": [], "marks": 0, "displayColumns": 0, "showCorrectAnswer": true, "maxMarks": 0, "type": "1_n_2"}, {"scripts": {}, "minMarks": 0, "distractors": ["", "", "", "", "", ""], "variableReplacementStrategy": "originalfirst", "displayType": "radiogroup", "choices": ["

", "

", "

", "

", "

", "

"], "showFeedbackIcon": true, "prompt": "

{person2['name']} has a phone contract that starts with a fixed fee, then increases in cost with every minute {person2['pronouns']['they']} spend{s2} on phone calls. This is a plot of the price of {person2['name']}'s contract against the number of minutes {person2['pronouns']['they']} spend{s2} on phone calls.

", "shuffleChoices": false, "matrix": ["0", "0", 0, "0", "1", 0], "variableReplacements": [], "marks": 0, "displayColumns": 0, "showCorrectAnswer": true, "maxMarks": 0, "type": "1_n_2"}, {"scripts": {}, "minMarks": 0, "distractors": ["", "", "", "", "", ""], "variableReplacementStrategy": "originalfirst", "displayType": "radiogroup", "choices": ["

", "

", "

", "

", "

", "

"], "showFeedbackIcon": true, "prompt": "

A limpet undergoes increasing stress as temperature increases, so that its heart rate increases with temperature. When a temperature threshold is reached, the limpet can no longer compensate and its hear rate drops to zero. The heart rate of the limpet is plotted against temperature. 

", "shuffleChoices": false, "matrix": ["0", "0", 0, "0", "0", "1"], "variableReplacements": [], "marks": 0, "displayColumns": 0, "showCorrectAnswer": true, "maxMarks": 0, "type": "1_n_2"}, {"scripts": {}, "minMarks": 0, "distractors": ["", "", "", "", "", ""], "variableReplacementStrategy": "originalfirst", "displayType": "radiogroup", "choices": ["

", "

", "

", "

", "

", "

"], "showFeedbackIcon": true, "prompt": "

A sprinter starts off slowly, accelerates and picks up speed, before slowing again. The distance that the sprinter has travelled is plotted against time.

", "shuffleChoices": false, "matrix": ["0", "0", "1", "0", "0", "0"], "variableReplacements": [], "marks": 0, "displayColumns": 0, "showCorrectAnswer": true, "maxMarks": 0, "type": "1_n_2"}], "ungrouped_variables": ["person1", "person2", "s1", "s2"], "rulesets": {}, "preamble": {"css": "object.graph {\n height: 200px;\n}", "js": ""}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

This question involves matching images of graphings to descriptions of the relationships between variables.

"}, "advice": "

a)

\n

The tennis ball will initially travel up, reach a maximum height, and then return back to the ground. From this we can expect an inverted parabola that starts at the origin.

\n

\n

b)

\n

For an object moving with constant speed, we expect a flat line on a speed time graph. The sudden breaking would cause a rapid decrease in speed. Therefore we expect a straight flat line followed by an abrupt downward slope. 

\n

\n

c)

\n

We would expect output to start somewhere above zero becuase even if productivity is low, we would still expect some level of output. The description then describes a gradual increase which must peak, as there is a decrease later in the day. This would suggest an inverted parabola starting above the $x$-axis, and finishing above the $x$-axis.

\n

\n

d)

\n

The fixed cost would be represented on the graph as the intercept, where the $x$-value is $0$ and the $y$ value is a constant greater than zero. Then, as the number of minutes increases, price increases with a linear relationship. Therefore we expect a straight line, with a positive gradient and an intercept greater than zero.

\n

\n

e)

\n

We expect a $y$ intercept greater than zero, and a general trend of $y$ (the heart rate) increasing as $x$ (temperature) increases, before $y$ starts to quickly decrease as $x$ continues increasing. When the heart rate reaches zero, it cannot fall any further.

\n

\n

f)

\n

The value of $y$ (distance) only increases as $x$ (time) increases, however the rate of increase changes as the sprinter first accelerates and then decelerates. 

\n

", "contributors": [{"name": "Chris Graham", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/369/"}, {"name": "Bradley Bush", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1521/"}]}]}], "contributors": [{"name": "Chris Graham", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/369/"}, {"name": "Bradley Bush", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1521/"}]}