Loading...

There was an error loading the page.


Try to answer the following questions here:

  • What is this question used for?
  • What does this question assess?
  • What does the student have to do?
  • How is the question randomised?
  • Are there any implementation details that editors should be aware of?

Metadata

Taxonomy:

Feedback

From users who are members of Transition to university :

History

Comment

Checkpoint description

Describe what's changed since the last checkpoint.

Picture of Chris Graham

Chris Graham commented 6 years, 2 months ago

The pattern match on line 10 of the custom function no longer appears to handle the commutativity of the expression, despite using the doCommute option. E.g. $2*(17x+2)$ is not acccepted, however $(17x+2)*2$ is.

Picture of Chris Graham

Chris Graham 6 years, 2 months ago

Saved a checkpoint:

Checkpointing before looking at the problem with the user defined function mark_factorised which no longer appears to be functioning correctly.

Restore this checkpoint

Picture of Chris Graham

Chris Graham 6 years, 2 months ago

Gave some feedback: Has some problems

Christian Lawson-Perfect 7 years, 4 months ago

Published this.
Picture of Christian Lawson-Perfect

Christian Lawson-Perfect 7 years, 4 months ago

Gave some feedback: Ready to use

Picture of Christian Lawson-Perfect

Christian Lawson-Perfect 7 years, 4 months ago

Saved a checkpoint:

It works!

I've rejigged the advice - each part's advice now begins with a description of the common factors, and I've been very careful about the use of brackets so that it's obvious what "pulling outside the brackets" means.

Restore this checkpoint

Picture of Christian Lawson-Perfect

Christian Lawson-Perfect 7 years, 4 months ago

Saved a checkpoint:

I'm working on writing a script to check that the expression really are factorised. At the moment, it expects the common factor to just be a number, which only works for part a!

Restore this checkpoint

Picture of Christian Lawson-Perfect

Christian Lawson-Perfect 7 years, 4 months ago

Gave some feedback: Has some problems

Picture of Christian Lawson-Perfect

Christian Lawson-Perfect 7 years, 4 months ago

Saved a checkpoint:

Factorising by finding a common (constant) factor and factorising quadratics are very different tasks. I think the scope of this question is only the first kind.

For example, to factorise $2x + 4y + 16xy$, I only need to see that $2$, $4$ and $16$ have a factor of $2$ in common. To factorise $x^2-1$, I need to know a fact about quadratics: the terms $x^2$ and $1$ don't have a proper factor in common.

So, I'm going to split the qudratics part into a separate question, leaving only the expressions with common factors.

Restore this checkpoint

Picture of Bradley Bush

Bradley Bush 7 years, 4 months ago

Gave some feedback: Needs to be tested

Picture of Bradley Bush

Bradley Bush commented 7 years, 4 months ago

Thank you for the advice Lauren. I have made all the changes you've suggested, I hope you don't end up having to give feedback on this one for a third time.

Lauren Richards 7 years, 4 months ago

Gave some feedback: Has some problems

Lauren Richards commented 7 years, 4 months ago

  • I think it is good to give directions on making sure numbas accepts the answer, but you don't need I.E. inside the brackets, the asterisk would be fine. 
  • You don't need the words "there is" in the last sentence of the first section of the advice.
  • Slight mistake in part ii) of the advice - it says 613 instead of 6x13 in the second bracket, before y^2. 
  • There isn't very much consistency in when you use X and when you use * and it gets a little confusing. Also for instance, in part a) when you state the question again before completing in in the advice, the statement of the question doesn't actually match the question in the parts, form-wise. I think you should only use * at the end, to show which form numbas would have accepted it in. 
  • Slight mistakes in parts iv) and v) of the advice. The second term in each stated (52) instead of (5x2) and (62) instead of (6x2). The third term in v) also stated (619) instead of (6x19). 
  • Typo right at the end of the advice talking about the video - bellow instead of below. 
  • Good question. 
Picture of Bradley Bush

Bradley Bush 7 years, 4 months ago

Gave some feedback: Needs to be tested

Picture of Bradley Bush

Bradley Bush commented 7 years, 4 months ago

Thank you for the feedback, I should have fixed the marking now and improed the advice. The brackets do make everyhing look clearer. I have also included all the *'s especially seeing as they're needed for the question to be marked right now.

I havent put full stops at the end of EVERY calculation because it just feel unnecissary where they aren't part of a statement.

Elliott Fletcher commented 7 years, 4 months ago

Main Parts

a) i) good

ii) There is an issue with the marking here, i had 102y+12y^2, and had the answer as 6*y*(17+2*y) which was marked incorrect and the displayed answer was 6*y(2y+17).

iii) Again there is an issue with the marking here.

In the question you don't write an * between each of the algebraic variables in the first term, making it look different to the other term. I think this then creates an issue in the marking as the displayed answer i got was xyz(41xyz+3) so the answer is only correct if you don't include the * between the variables even though in the statement you tell the students to include the * in their answer.

iv) good

v) again there is an issue with the marking here in the same way as in iii)

b)

iii) there is an issue with the marking here too, even inputting the displayed answer is marked incorrect as numbas thinks it is not a valid mathematical expression.

Advice

a) (all questions) i would write any products in brackets just for neatness, e.g 74x+62 = (2*37x)+(2*31).

Also, be careful when writing out big products of variables like xyz, i think you need to have an * between each variable

And i think there should be full stops at the end of each calculation.

b)

I think the formula for the quadratic equation should be ax^2+bx+c = (x+n1)(x+n2)

iii) i would put brackets around the products here.

Sorry for all the feedback!

Elliott Fletcher 7 years, 4 months ago

Gave some feedback: Has some problems

Picture of Bradley Bush

Bradley Bush 7 years, 4 months ago

Gave some feedback: Needs to be tested

Picture of Bradley Bush

Bradley Bush 7 years, 4 months ago

Gave some feedback: Doesn't work

Picture of Bradley Bush

Bradley Bush commented 7 years, 4 months ago

Thank you for your feedback, I have made all of your suggested changes apart from the a*b problem which is proving dificult to solve.

Lauren Richards 7 years, 4 months ago

Gave some feedback: Has some problems

Lauren Richards commented 7 years, 4 months ago

  • You're missing the word factors in the first sentence of the statement. 
  • It really does not like formatting like at all. My answers to part a) were marked wrong on 3 occasions because of underuse of * in between each term which wasn't required. For part b)iii), the question was to factorise 9x^2+6x. I had written "3x(3x+2)" and then "3x*(3x+2)", both of which it said was incorrect. It wanted "3*x(3x+2)". I don't think the user will immediately jump to writing "ax*(bx+c)" or "a*x(bx+c)" so if you want them to answer the question in this format, you should state so in the question. Otherwise, it can be quite demoralising when it is just marked wrong but what they have written is technically right. 
  • In part a) I literally can't get it to accept my answers for love nor money. They always seem to be in the wrong form. This is either due to * not being used or the brackets being in the wrong order, for example: for the question "37xyz+31x^2y^2z^2", I wrote "x*y*z(37+31x*y*z)" which it marked as incorrect, as it wanted "x*y*z(31*x*y*z+37)". I think most students would give up and would not expel too much energy trying to get it to accept their answer in the right form. Give some guidance on the right form that it will accept or make it accept a simplified form. 
  • Part a)i) gave me an incorrect expected answer. The question was to factorise: "86x+62" which I wrote as "2(43x+31)" but the expected answer was "2(43x+3)" which is wrong. It had the correct answer in the advice.  
  • In your advice for part b), you need a space after b and your semi-colon should have a space after it before both and not before it.  
  • In part b)i), "the only numbers fitting this description..." should be a new sentence and capitalised. The final answer should be centred. This point also applies to part b)iv), b)v) and b)vi).
  • The advice for part b)ii) seems quite short. You might want to explain what the difference of two squares is and what happens to the x terms. 
  • Prof should have a full stop after it. 
Picture of Bradley Bush

Bradley Bush commented 7 years, 5 months ago

I have made tha change now and the question is working but I was actually looking for a way to have a and b as a random vector of primes with b=(reapeat(random([1,2,3,5,7,11,13...] except a[i])),(Is there a way to code for this?). I instead ended up manually creating lists for a and b where every other prime was in a and the others were in b. Is there a way to code for this? Thank you! 

Picture of Christian Lawson-Perfect

Christian Lawson-Perfect commented 7 years, 5 months ago

When b is a list, random(something except [b]) will exclude the list containing the list b, not each element of b. So the square brackets are wrong - you want random(something except b).

Picture of Bradley Bush

Bradley Bush commented 7 years, 5 months ago

Could not get the except function to work because of the variables being vector so  have altered the vectors so the numbers they select their elements from are mutually exclusive. 

Picture of Bradley Bush

Bradley Bush 7 years, 5 months ago

Gave some feedback: Needs to be tested

Picture of Bradley Bush

Bradley Bush 7 years, 5 months ago

Gave some feedback: Doesn't work

Vicky Hall commented 7 years, 5 months ago

Question bii) asked me to factorise $x^2+4$ and the solution came up as $(x+2)(x-2)$. This needs to be fixed so that either the answer is 'has no real solutions and cannot be factorised' or the expression is $x^2-4$ instead.

Also, I would reword the question for b). There's no need for the student to complete the square for any of the expressions so I would just change it to say 'factorise the following expressions'.

Picture of Bradley Bush

Bradley Bush commented 7 years, 5 months ago

I've improved on the typos and changed the lettering for the questions and the advice as well as moving and prefacing the video. I have put the viedo on the Trello list of reasources to be made and changed the x and y variables in the last question to c and d. Thank you for the feedback!

Picture of Bradley Bush

Bradley Bush 7 years, 5 months ago

Gave some feedback: Needs to be tested

Picture of Chris Graham

Chris Graham 7 years, 5 months ago

Gave some feedback: Has some problems

Picture of Chris Graham

Chris Graham commented 7 years, 5 months ago

In the statement, "common factors that go into", you really mean "common factors of". You could start by stating what a factor is, if this is not covered elsewhere, e.g. what the the factors are of, say, 12.

It would be consistent with the other numbering styles to use a parenthesis after i),ii) and also place these in italics for emphasis. 

In a) iv) you move away from $x,y,z$, which is a good idea: you could do a bit more of this with the other expressions.

Typo "epressions" in part (a).

"when there are no further factorisation can be done" needs re-wording.

In the advice, the same adjustment to the numbering as above. If an equation is on its own line then use display style.

In the advice for (b), the video needs some context "In the following video...", and I would probably put it at the end of this part as students are likely going to be more interested in the specific solution in the first instance. A very valid alternative would be to add this as a step to part (b).

I think it would be nice to have a video for both parts, and if one does not exist for part (a) then you could create two new ones (or add to the list to be created).

Picture of Bradley Bush

Bradley Bush commented 7 years, 5 months ago

I am not sure whether I am being pedantic but I am unhappy with the spacing of the equations and the video in the advice section.

Picture of Bradley Bush

Bradley Bush 7 years, 5 months ago

Gave some feedback: Needs to be tested

Bradley Bush 7 years, 5 months ago

Created this.
Name Status Author Last Modified
Extract common factors of polynomials Has some problems Bradley Bush 20/11/2019 14:38
Marlon's copy of Extract common factors of polynomials draft Marlon Arcila 03/02/2018 16:28
Joël's copy of Extract common factors of polynomials draft Jo Cohen 02/12/2020 15:42
J. Richard's copy of Extract common factors of polynomials draft J. Richard Snape 26/09/2018 13:55
J. Richard's copy of Extract common factors of polynomials draft J. Richard Snape 03/10/2019 10:26

There are 10 other versions that do you not have access to.

Give any introductory information the student needs.

Name Type Generated Value

Error in variable testing condition

There's an error in the variable testing condition. Variable values can't be generated until it's fixed.

Error:

for seconds

Running for ...

No variables have been defined in this question.

This variable was automatically created because there's a reference to it somewhere in this question.

Error

Warning

  • When applying the function,
    Suggestions
    • Change the signature of parameter from to .

This variable is an interactive HTML node. Interactive HTML nodes can not be relied upon to work correctly when resuming a session - for example, attached event callbacks will be lost, and mathematical notation will likely also break.

If this causes problems, try to create HTML nodes where you use them in content areas, instead of storing them in variables.

Describe what this variable represents, and list any assumptions made about its value.

Generated value:

:
← Depends on:
→ Used by:

This variable doesn't seem to be used anywhere.

Help with explore mode

(sum of objective limits)

Objectives

Name Limit

Penalties

Name Limit

No parts have been defined in this question.

Select a part to edit.

This gap is not used in the parent part's prompt.

The student will not be able to enter an answer to this gap.

Ask the student a question, and give any hints about how they should answer this part.

The correct answer is an equation. Use the accuracy tab to generate variable values satisfying this equation so it can be marked accurately.


Advanced settings


Checking accuracy

Define the range of points over which the student's answer will be compared with the correct answer, and the method used to compare them.

Variable value generators

Give expressions which produce values for each of the variables in the expected answer. Leave blank to pick a random value from the range defined above, following the inferred type of the variable.

(this might be a )

Pattern restriction


Variables


String restrictions

(no maximum)

Advanced settings


(The midpoint of the minimum and maximum accepted values)


Advanced settings



Advanced settings


(not displayed in columns)
(no maximum)

Advanced settings


(not displayed in columns)
(no maximum)

For each choice, specify the number of marks to add or subtract when the student picks it.

For each choice, write 1 if the student should tick it, or 0 if they should leave it unticked.

You must set a maximum number of marks in order to use this marking method.

(no maximum)

Advanced settings


(no maximum)

You must set a maximum number of marks in order to use this marking method.

For each combination of answer and choice, specify the number of marks to add or subtract when the student picks it.

For each combination of answer and choice, write 1 if the student should tick it, or 0 if they should leave it unticked.

Both choices and answers must be defined for this part.

Advanced settings


(Same as correct answer)
(Same as correct answer)
(No limit)
(No limit)
(No limit)
(No limit)



Help with this part type



Base marking algorithm

                
Custom marking algorithm

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:


            
Your answer is being marked.

This is an extension type part. There is no expected answer, and it's assumed that the marking depends on interactions within the part's prompt.

You can test this part's marking algorithm by interacting with the rendering of the part's prompt below.

Your answer is being marked.
Gap Expected answer Student's answer
Feedback

Score:

Question variables

These variables are available within the marking algorithm.

Name Value

Marking parameters

These values are available as extra variables in the marking algorithm.

Name Value

Part settings

These values are available as entries in the settings variable.

Name Value

This feedback is based on your last submitted answer. Submit your changed answer to get updated feedback.

Warnings:

Alternative used:

These are the notes produced by this part's marking algorithm.

Note Value Feedback

Click on a note's name to show or hide it.


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:
Messages

No feedback messages.

Warnings

No warnings.

Expected:
Messages

A difference in feedback messages does not cause this test to fail.

No feedback messages.

Warnings

A difference in warnings does not cause this test to fail.

No warnings.

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.

Run this script the built-in script.

This script runs after the built-in script.

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.

More information about this problem

This part can't be reached by the student.

Add a "next part" reference to this part from another part.

None of the parts which can lead to this part are reachable either.

Next part options

Define the list of parts that the student can visit after this one.

  • Variable replacements

    No variable replacements have been defined for this next part option.
    Variable Value

Previous parts

This part can follow on from:

This part doesn't follow on from any others.

to

Choose a type for this new .

by
More information

Give a worked solution to the whole question.

Select extensions to use in this question.

  • There was an error loading this extension.

Define rulesets for simplification and display of mathematical expressions.

Functions

Define functions to use in JME expressions.

Select a function to edit.

No functions have been defined in this question.

Name Type
of
Output type

Built-in constants

Tick the built-in constants you wish to include in this question.

Custom constants

You can define constants in terms of the built-in constants, even if they're disabled.
Names Value LaTeX

Add styling to the question's display and write a script to run when the question is created.

This script will run after the question's variable have been generated but before the HTML is attached.
Apply styling rules to the question's content.

Use this tab to check that this question works as expected.

There was an error which means the tests can't run:


    
Part Test Passed?
Hasn't run yet Running Passed Failed
  • :

This question is used in the following exams: