643 results authored by Christian Lawson-Perfect - search across all users.
-
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.
-
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
-
Question in DIAGNOSYS
No description given
-
Question in DIAGNOSYS
No description given
-
Question in DIAGNOSYS
No description given
-
Question in DemosAn interactive experiment about probability: the student must first 'design' the experiment by deciding how many times they're going to flip a coin, and define what number of heads would make them believe the coin is biased. They must then enter the results of their coin flips, calculate the percentage of heads, and finally decide if the coin is biased, using the condition they specified in the design stage. There are optional hints at each stage.
-
Exam (4 questions) in Graph theory extension
These are some questions on graph theory, pulled from a module on groups and graphs.
-
Question in Demos
A demonstration of embedding various kinds of media in a question.
-
Question in Demos
Shows how to use the bin function to group data into equal-sized intervals.
-
Question in Demos
Demonstrates how to construct a spreadsheet value from scratch, without uploading an .xlsx file.
-
Question in Demos
Given a data sheet with distances between cities and costs for different forms of transport, and some information about modes of transport used, fill in a form for a journey.
-
Exam (7 questions) in Demos
Several questions demonstrating the spreadsheets extension
-
Question in Demos
An experiment using a PhET applet. The student can attach masses of different weights to a spring, and is asked to measure and record how far it stretches. Their measurements are shown on a graph, and they're asked to estimate the formula for the length in terms of the mass.
-
Question in Demos
The student is shown a table with rows for each class in a school, and two columns of numbers: books, and children. They have to work out the column totals, and the number of books per child, and enter them in the table.
-
Question in Demos
The student is shown a diagram with measurements of rooms in a house. They have to enter the measurements in a spreadsheet, then the area of each room, and finally the total area of the house.
-
Question in Demos
Using some passages of text, fill in a product fact sheet.
A simple example showing how to mark entries in a spreadsheet.
-
Question in Demos
Fill in a truth table: the values for "A" and "B" are filled in, and the student has to work out "A or B" and then "(A or B) implies B".