Loading...
Error
There was an error loading the page.
Taxonomy:
Contributors
History and Feedback
Chris Graham 1 year, 8 months ago
Fixed bug in correct line plot, caused by reading wrong student answer box (must have had a part added)
Christopher boyd 2 years, 1 month ago
Gave some feedback: Ready to use
Chris Graham 2 years, 6 months ago
Gave some feedback: Ready to use
Christian LawsonPerfect 2 years, 6 months ago
Gave some feedback: Ready to use
Christian LawsonPerfect 2 years, 6 months ago
Saved a checkpoint:
Made sure neither of the points lies on the $y$axis.
Split $a$ into two parts, since you need to work out the gradient before you find the $y$ intercept.
Reworded some of the advice a bit.
Chris Graham 2 years, 7 months ago
Gave some feedback: Needs to be tested
Chris Graham 2 years, 7 months ago
This was a bit of a mess, as the points A and B had originally been illogically ordered, and this had only been half fixed.
Part a) had mathematical expression gaps which should have been number entry, and I have added fractionNumbers simplification in the advice and displayed answer.
I've adjusted the axis ranges so that the intercept is always on the grid.
Chris Graham 2 years, 7 months ago
The points A and B should be switched; it doesn't make sense to describe the leftmost point as B, and in fact the gradient is calculated from A to B in the advice. There are places in the advice where $y_1y_2$ needs to be inverted.
Chris Graham 2 years, 7 months ago
Gave some feedback: Has some problems
Elliott Fletcher 2 years, 7 months ago
Published this.Chris Graham 2 years, 7 months ago
RE the point below from Aiden, this is OK, it is giving the student the opportunity to explore the terms in the equation and how they relate to the graph. This sort of question is really for formative use.
Aiden McCall 2 years, 7 months ago
This is also true for all other questions of this nature.
Aiden McCall 2 years, 7 months ago
Saved a checkpoint:
I have edited the main and advice to make sense and tweaked parts. There is a problem with the question that where you put y = mx +c you can write m in the gap fill and even when restricting the string it shows what m is on the graph so you can effectively 'cheat' this also works in the same way if you type in c. I cannot think of a way to fix this without the JSXgraph code and I don't know where abouts that is.
Bradley Bush 2 years, 7 months ago
Gave some feedback: Needs to be tested
Bradley Bush 2 years, 7 months ago
Thank you for the feedback Chris, I have done everything you've suggest4ed here as well as making the same changes to differenet versions of this question.
Chris Graham 2 years, 7 months ago
One more. If I do not attempt the question, but reveal the answers, then the advice refers to an absent green line. This is another good reason to put the correct plot in the advice.
Chris Graham 2 years, 7 months ago
Similar points to our earlier discussion:
This is a candidate for using the Numbas variables to set the jsxgraph axis limits. Move the block of code where you grab the Numbas variables in front of making the board, so that you have access to them. And then you can use them in the bounding box definition
boundingBox:[yb2,...]
or whatever is sensible. Don't forget you'll want the intercept to be on the board.Since you are only asking for the equation of the straight line through the points, you might consider creating a step with gapfills for the gradient and intercept, to allow the student to break the question down.
And you could add a second plot with the solution to the advice.
One final thing: on one run I had B at the origin. You may wish to avoid this as it makes parts of the advice obsolete.
Chris Graham 2 years, 7 months ago
Gave some feedback: Has some problems
Bradley Bush 2 years, 7 months ago
Gave some feedback: Needs to be tested
Bradley Bush 2 years, 8 months ago
Created this.No variables have been defined in this question.
This variable doesn't seem to be used anywhere.
Name  Type  Generated Value  

Error in variable testing condition
There's an error in the condition you specified in the Variable testing tab. Variable values can't be generated until it's fixed.
No parts have been defined in this question.
Select a part to edit.
Ask the student a question, and give any hints about how they should answer this part.
Pattern restriction
Variables
String restrictions
Answers  

Choices 
Test that the marking algorithm works
Check that the marking algorithm works with different sets of variables and student answers using the interface below.
Create unit tests to save expected results and to document how the algorithm should work.
There's an error which means the marking algorithm can't run:
Name  Value  

Note

Value  Feedback 


Click on a note's name to show or hide it. Only shown notes will be included when you create a unit test.
Unit tests
No unit tests have been defined. Enter an answer above, select one or more notes, and click the "Create a unit test" button.
The following tests check that the question is behaving as desired.
This test has not been run yet This test produces the expected output This test does not produce the expected output
This test is not currently producing the expected result. Fix the marking algorithm to produce the expected results detailed below or, if this test is out of date, update the test to accept the current values.
One or more notes in this test are no longer defined. If these notes are no longer needed, you should delete this test.
Name  Value 

Note  Value  Feedback  

This note produces the expected output  Current: 


Expected: 

This test has not yet been run.
When you need to change the way this part works beyond the available options, you can write JavaScript code to be executed at the times described below.
To account for errors made by the student in earlier calculations, replace question variables with answers to earlier parts.
In order to create a variable replacement, you must define at least one variable and one other part.
Variable  Answer to use  Must be answered?  

The variable replacements you've chosen will cause the following variables to be regenerated each time the student submits an answer to this part:
These variables have some random elements, which means they're not guaranteed to have the same value each time the student submits an answer. You should define new variables to store the random elements, so that they remain the same each time this part is marked.
to
This question is used in the following exams:
 my test by Chris Graham in Chris's workspace.
 Find the equation of a line through two points by Christian LawsonPerfect in Transition to university.
 maths practicerevision by David Martin in David's workspace.
 Numbas Workshop by Caitríona Ní Shé in Caitríona's workspace.
 Find the equation of a line through two points by Angus Rosenburgh in Angus's workspace.
 Introductory Maths for analytical chemistry by aine whelan in aine's workspace.
 Alex 1st exam by Alessandro Ottazzi in Alessandro's workspace.
 första lilla testtest by Ida Landgärds in Test projekt .
 Test1 by Joan Lewis in Joan's workspace.
 Huuuuuge test by Angus Rosenburgh in Angus's workspace.
 Find the equation of a line through two points [L3 Randomised] by Matthew James Sykes in CHY1205.
 NUMBAS Find the equation of a line through two points by Katy Dobson in Katy's workspace.
 JP by Julie Crowley in JP.
 Year 10 Practice Exam 1 by Neil Anderson in Neil's workspace.
 Test Exam 1 by Kevin Bohan in Kevin's workspace.
 test1 by Justin McGuinness in Justin's workspace.
 test1 by Justin McGuinness in Justin's workspace.
 Offer Holder Day by Chris Graham in Chris's workspace.