647 results authored by Christian Lawson-Perfect - search across all users.
-
Question in DemosAn example of an iterative procedure: the student must factorise a given number. At each step, they're asked if the number is factorised. If not, they must give a prime factor. If it is fully factorised, they can then work out the number of factors of the number.
-
Question in DemosThis question demonstrates how to use explore mode to simulate a game, where each choice made by the student changes the state of the game.
-
Question in DemosThis question shows how to reveal a part if the student enters an incorrect answer that you're expecting - in this case, by not following the order of operations.
-
Question in DemosThis question demonstrates how to lock a part in explore mode after moving to the next part, to prevent the student changing their answer and invalidating the rest of the question.
-
Question in DemosAn interactive activity: the student enters the dimensions of a parcel, then has to calculate its volume, and classify its size by comparing against a table of maximum dimensions.
-
Question in DemosThis question demonstrates how you can offer a selection of hints, with each giving a different level of detail and applying a different penalty.
-
Question in DemosThe student is asked to identify the number of roots of a quadratic equation, and then to give the root or roots. There is a hint to calculate the discriminant, and then further hints with the formula for the discriminant and the decision to make based on its value.
-
Question in Demos
The student must calculate the number of digits a given decimal number would have when written in a different base. Alternative answers catch some common mal-rules and give appropriate feedback.
Based on table 2 from "diagnosing student errors in e-assessment questions" by Philip Walker, D. Rhys Gwynllyw and Karen L. Henderson.
-
Question in DemosA demonstration of the use of alternative answers to accept more than one correct answer. The student must write a number whose square is $n^2$. Both $n$ and $-n$ are accepted.
-
Question in DemosThe student must write a number to 2 decimal places. The number has a trailing zero, and an alternative answer is used to detect when the student omits it. If the student omits the trailing zero, they're offered an optional hint.
-
Question in DemosThe student is asked to add two four-digit numbers. Alternative answers are set up with progressively expanding ranges of accepted values, so the student gets more marks for getting closer to the true answer.
-
Question in Christian's workspace
A sneak peek at a really clever integration of GeoGebra with Numbas.
-
Question in How-tos
An example of using the GeoGebra extension to ask the student to create a geometric construction, with marking and steps.
-
Question in How-tos
This question contains a "choose several answers" part which has an "all-or-nothing" mark scheme: the student is only awarded marks if they tick all of the correct choices, and no incorrect choices.
-
Question in How-tos
Display a number as a mixed fraction when appropriate, using the mixedFractions display option.
-
Question in How-tos
The function randexp, provided by an extension, generates a random string matching the given regular expression.
-
Question in How-tos
Update: you can now use the conditional visibility button to do this more easily - see the documentation.
If the statement or advice for your question differs greatly depending on a random variable (for instance, if you're picking from a selection of scenarios), you only want to show content for the relevant scenario.
This question shows one way of doing that.
-
Question in How-tos
This question is out of date: use the currency function instead.
-
Question in How-tos
Display a number like "1234" as "1,234".
This question is out of date: the formatnumber function can format numbers using several different notational styles.
-
Question in How-tos
Use the numbro.js extension to format numbers and currencies.
-
Exam (1 question) in Christian's workspaceThis exam shows that the worksheet theme now includes the introduction text in each copy of the exam.
-
Question in How-tos
The custom function
rectangle(width,height)
draws a rectangle with the given dimensions, along with some labels. -
Question in Christian's workspace
Write down the Newton-Raphson formula for finding a numerical solution to the equation $e^{mx}+bx-a=0$. If $x_0=1$ find $x_1$.
Included in the Advice of this question are:
6 iterations of the method.
Graph of the NR process using jsxgraph. Also user interaction allowing change of starting value and its effect on the process.
-
Exam (3 questions) in Transition to university
Apply formulas to calculate the areas of various shapes.
-
Question in How-tosThis question generates two variables, a and b. They're chosen to be distinct, and neither takes the value zero.
-
Question in Quantities extension
Given mass and volume of an object in SI units, calculate its density. The units are given at different orders of magnitude.
-
Question in Demos
No description given
-
Question in Demos
No description given
-
Exam (4 questions) in Demos
No description given
-
Question in Demos
Give the student three points lying on a quadratic, and ask them to find the roots.
Then ask them to find the equation of the quadratic, using their roots. Error in calculating the roots is carried forward.
Finally, ask them to find the midpoint of the roots (just for fun). Error is carried forward again.