35 results.
-
Question in MAS2908 Data visualisation
- This question assesses students' ability to:
- create basic visualisation of multivariate data using ggplot2, and
- identify errors and issues with ggplot2 code and fix them accordingly.
- The students submit code to each part. It is envisioned that they will try the code in RStudio, and only submit to Numbas when they are satisfied with the resulting visualisation or output.
- As of 2026-02-24, this question is not randomised.
- This question assesses students' ability to:
-
Question in MAS2908 Data visualisation
- This question assesses students' ability to:
- create basic visualisation of multivariate data using ggplot2, and
- identify errors and issues with ggplot2 code and fix them accordingly.
- The students submit code to each part. It is envisioned that they will try the code in RStudio, and only submit to Numbas when they are satisfied with the resulting visualisation or output.
- As of 2026-02-24, this question is not randomised.
- This question assesses students' ability to:
-
Question in MAS3927
These questions are designed to help you verify that you can successfully apply the techniques related to maximum-likelihood estimation we have learned in class, e.g., numerical and analytical derivation of estimators, construction of large-sample confidence intervals, and likelihood-ratio tests.
-
Question in Programming extension
Demonstrates how to display a plot generated in R.
-
Question in Demos
Demonstrates how to display a plot generated in R.
-
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.
-
Question in Toby's workspace
Edit the Python code to make a 3D plot of a surface defined parametrically.
-
Question in Toby's workspace
Plot the Fourier series coefficients for a piece-wise linear function. Write a Python script to reproduce the same figure.
-
Question in Programming extension
Shows how to use the programming extension's preload function to load files from the question resources into the Python or R code runners.
Look at the question's JavaScript preamble.
-
Question in PA1900 Computing
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
mtcarsdataset 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 R programming
The student must write R code to generate samples and calculate CDFs of some common distributions.
-
Question in Programming extension
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.
-
Question in Programming extension
Several questions on interrogating the
mtcarsdataset built in to R. -
Question in Programming extension
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 R programming
The student must write R code to define vectors, in a few ways.
-
Question in Programming extension
The student must write R code to assign the given value to the variable
x. -
Question in Programming extension
This question shows how to display a plot generated in matplotlib from code written by the student.
-
Question in Programming extension
Asks the student to calculate the sum of the triangular numbers (up to some randomised number).
Steps guide the student through each step in the calculation.
-
Question in Programming extension
The student must write a list comprehension to map the elements of a given list.
-
Question in Programming extension
The student must write code to filter a given list of numbers, returning only the positive elements.
-
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.