633 results authored by Christian Lawson-Perfect - search across all users.
-
Question in Programming extension
Given an unknown list, the student must write Python code to create a copy of it.
There's an alternative to catch the case where the student's variable is just a reference to the original list.
-
Question in Programming extension
Given an unknown list, the student has to write code to return the last item in the list.
-
Question in Programming extension
Given a randomly-generated list, the student must write code to return its first value.
There's an alternative to check if they get the second item, which they might do if they don't realise Python lists are zero-indexed.
-
Question in Programming extension
The student must write code to compute the standard deviation of an unknown list of measurements.
The suggested answer uses numpy.std.
-
Question in Programming extension
This is the simplest demonstration of the "code" part type I could think of: assign
x = 1
.An alternative answer gives a hint if the studen'ts code doesn't define x at all.
-
Question in Christian's workspace
A Eukleides diagram showing a list of numbers, each in their own box, with the sum drawn above.
-
Question in Christian's workspace
A Eukleides diagram showing a list of numbers, each in their own box, with the sum drawn above.
-
Question in Demos
Draws a diagram showing a randomly-chosen number of circles, packed in a box.
-
Exam (6 questions) in Getting Started
A collection of information and activities to introduce students to Numbas. There is some information on how Numbas works, information on how to write answers to mathematical expression and number entry parts, and a "test yourself" explore mode activity.
Note: This exam was written for students accessing Numbas exams through the Numbas LTI tool. Some of the information does not apply to exams accessed standalone or through a generic SCORM player.
-
Question in Question authoring examples
This question is the one described in method 2 of the example "Apply a standard integral" in the Numbas documentation.
The student is shown a randomly chosen function to integrate. The function is one of $e^{kx}$, $x^k$, $\cos(kx)$, $\sin(kx)$, with $k$ a randomly chosen integer.
-
Exam (12 questions) in Demos
A demo of the main new features in Numbas v5: explore mode, alternative answers and "Choose from a menu" question navigation.
-
Question in Demos
All the answers in this question are equations. In order to mark each equation, Numbas needs to pick some values that satisfy the equation and some that don't, and check that the student's answer agrees with the expected answer.
Any equation with the same solution set as the expected answer will be marked correct.
-
Question in How-tos
The answer to this question is a differential equation involving $y''$, $y'$ and $y$.
A variable value generator for $y$ ensures that the right values are tested to check that the student's answer is equivalent to the expected equation.
-
Question in How-tos
This question includes a JavaScript preamble which defines 'hbar' as a special variable name to be rendered in LaTeX as \hbar.
-
Question in How-tosThis question demonstrates how to use the \simplify command to create natural-looking randomised mathematical expressions.
-
Question in Demos
A demo of how custom marking algorithms can be used to replace the built-in marking methods.
-
Question in Demos
This question demonstrates a few ways of interacting with a Venn diagram drawn using JSXGraph.
-
Question in DemosThis question contains many examples of mathematical expression parts which require the student to enter their in a certain form, which is marked by applying a "pattern to match" restriction.
-
Question in Transition to university
Given the cost of hiring a room for a given number of hours, compare with competing prices given per hour and per minute.
-
Question in Demos
Two sample t-test to see if there is a difference between scores on questions between two groups when the questions are asked in a different order.
-
Question in Demos
No description given
-
Question in Numerical reasoning
Given an annual salary, tax allowance, tax rate and pension deduction, work out a person's take-home pay per month.
-
Question in Numerical reasoning
Given the stakes of three people in a lottery syndicate, and the amount the syndicate won, work out each person's share of the winnings.
Based on question 4 from section 3.2 of the Maths-Aid workbook on numerical reasoning.
-
Exam (7 questions) in Transition to university
Several questions on rounding number and using approximations to estimate. Several real-world examples.
-
Question in Demos
A demonstration of the random person extension, which picks representative names of people.
-
Question in FyiMaths December 2021
A question made for the FYiMaths December meeting, to show off some of the more adventurous things you can do with Numbas.
-
Exam (4 questions) in Demos
An exam set up to produce printed worksheets.
-
Question in TALMO Formative assessment talk 2022
Made for my TALMO talk. This demonstrates how you can use a part with no marks as an oracle to perform calculations, to help the student check their working.
-
Exam (8 questions) in TALMO Formative assessment talk 2022
Questions shown in my presentation for the Teaching And Learning Mathematics Online session, 16th November 2022.
-
Question in TALMO Formative assessment talk 2022
This question demonstrates a few ways of interacting with a Venn diagram drawn using JSXGraph.