633 results authored by Christian Lawson-Perfect - search across all users.
-
Exam (8 questions) in Demos
Some questions demonstrating how explore mode can be used.
-
Question in How-tos
Should not be used: this relies on a custom JavaScript which is not guaranteed to continue working.
Wrap the student's answer in
set()
so it's marked as a set. -
Question in Demos
Shows how the "give a number which satisfies an equation" part type can be used to makr the student's number correct if it satisfies an equation of the form $f(x) = 0$.
-
Question in Demos
Examples of the following custom part types: Yes/no, List of numbers, Give a numerical input for an expression, Number entry modulo.
-
Question in Demos
This shows how to take an expression given by the student and plot the implicit curve of points where it equals zero.
-
Exam (11 questions) in Demos
Some questions which use JSXGraph to create interactive graphics.
-
Question in Demos
This question shows a JSXGraph diagram above a mathematical expression input, containing a plot of the expression the student enters.
-
Question in DIAGNOSYS
No description given
-
Question in DIAGNOSYS
No description given
-
Question in DIAGNOSYS
No description given
-
Question in DIAGNOSYS
No description given
-
Question in DIAGNOSYS
No description given
-
Question in DIAGNOSYS
No description given
-
Exam (1 question) in Christian's workspace
No description given
-
Question in Demos
In the first part, the student must write an R function to compute the first $n$ terms of the series $\frac{1}{k!}$.
In the second part, they must use that function to calculate an approximation to $e$ using a given number of terms of the series.
-
Question in Demos
Several questions on interrogating the
mtcars
dataset built in to R. -
Question in Demos
The student must write R code to assign the given value to the variable
x
. -
Question in Demos
This question shows how to display a plot generated in matplotlib from code written by the student.
-
Question in Demos
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 Demos
Given an unknown list, the student has to write code to return the last item in the list.
-
Question in Demos
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 Demos
The student must write code to compute the standard deviation of an unknown list of measurements.
The suggested answer uses numpy.std.
-
Question in Demos
This is the simplest demonstration of the "code" part type I could think of: write Python to assign
x = 1
.An alternative answer gives a hint if the student's code doesn't define x at all.
-
Question in Demos
In four parts, the student builds up the definition of a class representing a rectangle. First they write the constructor, then add methods to compute area and perimeter.
In the final part, they must use the methods to write a function which determines if a rectangle's area is larger than its perimeter.
-
Exam (6 questions) in GCSE level questions
This test contains a few easy questions on subjects covered in the GCSE syllabus. I made it to try out the "School" theme, adapted for younger students.
-
Question in Christian's workspace
This is a deliberately easy question that I use for testing.
-
Exam (1 question) in Christian's workspace
This exam has a custom diagnostic algorithm which gives the progress as a rational value. At the moment, this means "NaN%" is displayed in the sidebar.
-
Question in Christian's workspace
The statement contains two blank geogebra applets: one with the computer algebra view, which can be used as a calculator, and the other with algebra and geometry views.
There are custom functions which set the perspective of a geogebra applet and show the toolbar or algebra input line. These will probably be included in the geogebra extension eventually.
-
Question in DIAGNOSYS
No description given
-
Question in DIAGNOSYS
No description given