Numbas training session - 2020-07-15

0:00:00

OK Hello everybody, it's 10:00 o'clock here in the UK now, so I think we'll get started.

0:00:05

Welcome to this Numbas training session. I'm just going to introduce Numbas and go through a few things.

0:00:14

This session is for beginners. So, a lot of people are just beginning to use Numbas and haven't used it before, so I'm going to talk through the basics of what it does and how to use it.

0:00:23

OK, so uh, Chris Graham should be here.

0:00:25

He's my colleague at Newcastle.

0:00:32

He said he went off to get a cup of coffee and hasn't reappeared yet, so he will be here.

0:00:39

[Chris] I'm here, caffeined up. [Christian] You're here? Good. Hi.

0:00:42

So Chris is going to be watching the chat, and telling me when people want to interrupt me.

0:00:49

OK, so we have a quite a few people in already, around the world.

0:00:59

I'm aware we have quite a lot of colleagues from Indonesia joining us.

0:01:04

So hello to all of you.

0:01:06

So let's just go through the plan for the day - and make sure I pick the right mouse up.

0:01:10

So.

0:01:13

First of all, some rules for using Zoom.

0:01:19

This is an informal session so don't worry about things going terribly wrong, interruptions, and all that.

0:01:23

I'll try and roll with it.

0:01:26

But please mute yourself when you're not speaking, just to make it clear for everybody else.

0:01:31

There's a raise hand button.

0:01:35

If you click on the participants button, you will see everybody and then at the bottom there's a list of things you can do to get our attention.

0:01:41

One of them is raise your hand. And please use the text chat to ask questions or to comment on what's going on.

0:01:51

Chris will be watching that and will stop me if there's something I need to deal with.

0:01:55

If there's something that you didn't hear or don't understand, or you want to ask a question about before I move on, please do.

0:02:03

I don't mind stopping what I'm doing and going into a bit more detail in things.

0:02:08

It's very hard to get an idea of what people are following with, so please tell me if you want a bit more detail on something.

0:02:18

Right, so. The plan for today is I'm going to introduce Numbas, tell you what it is, and how we use it in Newcastle and how it's used around the world and then give a quick demo of the system itself.

0:02:35

After that, I'll pause and find out what all your backgrounds are, what you want to use Numbas for, to guide the rest of the session, and then I'll have a look at using the Numbas editor and go through the process of writing a first question.

0:02:50

And then we'll have Q&A, and I think I removed that line from my slides at one point - no, I didn't.

0:03:04

Right. OK, so... I need to make sure I've got the chat window up, which has disappeared again.

0:03:12

Hello, chat. So we will begin.

0:03:16

Numbas is an open source web based e-assessment tool, developed here in Newcastle University in the school of math, stats and physics.

0:03:26

It initially was for our maths course.

0:03:31

It's aimed at numerate disciplines. The sciences, and maths in particular, have particular needs to do with assessment, a lot of calculation and a lot of automatic marking can be done.

0:03:45

Where subjects in the humanities will typically be working on essays and have human markers.

0:03:51

So there's a lot of automatic assessment you can do in maths, and Numbas is really set up to do very well at that.

0:03:58

So there are a few things that are really the key features of Numbas, that are the important design points.

0:04:07

It's scalable.

0:04:12

Everything runs - all the exams run on the client's device, on the student's computer.

0:04:20

So you can have thousands of students using Numbas and it doesn't really matter.

0:04:26

Reliability is obviously very important, because we use Numbas for course credit.

0:04:30

And accessibility is one of the other really big design points.

0:04:33

Ease of use is important.

0:04:37

I know from other e-assessment systems that it's typically an afterthought because you want to get the actual assessment done and then people start thinking about, "is it easy to use?", but that's really something from the beginning in Numbas.

0:04:49

And the aim in that question authors who aren't experts should be able to write questions and give them to their students.

0:05:01

So making things easier for question authors is an important design goal.

0:05:05

Feedback is important.

0:05:07

It's important that students get told how their answers were marked.

0:05:16

Really, that's how you learn. It's all well and good typing an answer into a box, feedback saying, "This is correct, this is incorrect" will get you some of the way, but it's important to do a bit more than that.

0:05:28

Customisability is important.

0:05:34

I think maths is such a huge subject and there's so many different things you can do, you can quite easily run up against wanting to do something that's not in the built-in feature set.

0:05:46

So Numbas supports extensions, custom marking algorithms, even custom part types, which I'll get onto later on.

0:05:54

The way you get it to students.

0:05:57

A Numbas test is just a web page, so you can just download that from the editor, put it somewhere, students will do the test, but if you want to keep track of scores you need somewhere for the data to go.

0:06:09

So there are a variety of options for delivering it through a VLE - a Virtual Learning Environment - such as Blackboard, Moodle, Canvas, that kind of thing.

0:06:19

And finally, as I said, it's aimed initially at maths and the sciences, so there's a lot of features to support assessing mathematical subjects.

0:06:32

Right.

0:06:34

So now I'll move on to my demo.

0:06:38

So here we go. I've been busy rewriting this demo, so this is my in progress thing, it's the first time I've used it.

0:06:47

Chris, could you just mute all, please?

0:06:50

Right, so, this is a Numbas exam.

0:06:57

It's in the new menu mode, so we get given a menu of questions to choose from.

0:07:03

Another way of delivering exams is you give the student a list of questions and they have to work through them, they're numbered like an exam.

0:07:16

So I'll go straight into this one and show this is what a question looks like.

0:07:22

A question has a statement at the top that could give some information that you need to know in order to answer the rest of the question.

0:07:29

Not in this demo one, this just gives some explanation.

0:07:33

And then one or more parts. A part is where you ask a student to enter an answer.

0:07:37

They submit it, Numbas does some marking and gives some feedback and some points.

0:07:41

So in this question, we just have to enter a number.

0:07:49

The prompt is, "I eat five apples a day.

0:07:52

How many do I eat in a week?" And I think the answer is 35.

0:07:56

So that's correct.

0:07:59

So you get immediate feedback. You get this nice green tick and you get an explanation of how the score was awarded.

0:08:09

Another real test of automatic assessment is, does it also mark the wrong answer wrong?

0:08:15

So this answer is incorrect. So that's sort of the absolute minimum of e-assessment.

0:08:19

Write a number, check it's the right number, and give feedback.

0:08:23

You can ask the student to enter a mathematical expression.

0:08:29

So here is a polynomial that I have to differentiate.

0:08:34

I think I can just about do that in my head.

0:08:40

So here we go.

0:08:43

You can see as I'm typing I get a rendering of the answer to the right here, so I can see that it's been interpreted by Numbas correctly.

0:08:51

So if I'd written something like that, I might have meant, "seven over x minus two, like all of that, under the brackets, and I see that that's not grouped together.

0:09:03

So I need to put some brackets on. There we go.

0:09:08

I'll just submit that and make sure I got that right.

0:09:11

There we go.

0:09:14

So, moving on, you can ask the student to enter a matrix, which certainly comes up, linear algebra, that kind of thing.

0:09:29

So here I have to enter an identity matrix, so I think that's something like that.

0:09:35

And optionally I could resize that. You can turn these options on or off, what you allow the student to do.

0:09:44

Short text string.

0:09:46

I think we basically never use this part type, but it exists just in case somebody wants to use it.

0:09:51

So you would have to type some text.

0:09:55

And then there's a lot of multiple choice part types.

0:09:59

So here I have to choose one item from this list.

0:10:03

I think a watermelon is the biggest fruit. There we go.

0:10:07

Choose several from a last, I've got to tick every prime number here.

0:10:13

That's not prime, that is, that is. There we go.

0:10:18

And this grid thing here.

0:10:23

So I've got a list of countries and I have to match them up with their capital cities.

0:10:29

I've got a few distractors here as well.

0:10:34

So capital of Argentina is Buenos Aires, capital of France is Paris.

0:10:37

Let's get that one wrong. Capital of China is not Brussels.

0:10:41

And there we go.

0:10:44

And finally, here's a custom part type.

0:10:48

It's not one of the built-in ones, it's something I've written, a customized marking algorithm, it's a really simple part type, it just offers options yes or no.

0:10:59

The abacus was indeed invented before the mobile phone.

0:11:03

So I can get on to what custom part types mean later on.

0:11:09

So that's, I think, as much as I want to show you of that.

0:11:14

We'll maybe come back to this demo later on.

0:11:21

What else do I want to show you?

0:11:25

Yeah, I'll come back to that later on.

0:11:28

Over the years that we've been doing e-assessments...

0:11:36

E-assessment at Newcastle started before I worked there.

0:11:40

It's been well over a decade now, but Numbas is coming up for 10 years in use.

0:11:49

Initially, we started using computer aided assessment to replace homework, so that students got some practice during their course and it was worth course credit.

0:11:58

That was very successful.

0:12:02

Over the years, we've realized that computer aided assessment is particularly good for formative assessment, where the assessment is for the student's learning and growth rather than so that we can award a final mark for the course.

0:12:16

Numbas is used summatively for some final exams.

0:12:21

But we think formative use is really where it's best employed.

0:12:27

So, one of the really big things about e-assessment - and I didn't demonstrate that - is that the questions can be randomized.

0:12:39

So you can set up a question on a certain topic and randomize it and the student can try it over and over again, until they're happy that they can do the thing that you're assessing.

0:12:51

For summative assessment you have a couple of problems.

0:12:54

How to prevent cheating is a big one, and I guess everyone has experience with this now, with moving to online teaching.

0:13:02

There were always problems with doing stuff at home.

0:13:08

Even written homework, it seems to become more of a problem as soon as you introduce the computer, in people's minds.

0:13:17

But then apart from that, how do you ask sufficiently challenging questions in maths?

0:13:26

So you might want to assess students' ability to write out a proof or explain a motivation for something, and you can't do that with automatic assessment.

0:13:39

So there are limits to what you can do with automatic assessment.

0:13:45

So at Newcastle we use Numbas for a variety of things.

0:13:50

This sort of goes chronologically through the academic year here.

0:13:54

So before students get to Newcastle, once they've accepted their place, we send them out an induction pack with information about the university and what they're going to do on their course.

0:14:05

We also send them some practice material to make sure that they are up to speed with the maths that we expect them to already have before they start the course, covering the English A Level.

0:14:19

And then once they get here in week one, they're given a diagnostic test which is in fact the same test as the one they were sent in the pre entry pack, which we then used to identify weak points for students and tell them to go and get help from our maths support people.

0:14:36

Throughout the semester we have banks of practice material available through our VLE, which was Blackboard and is going to be Canvas, which students can just access whenever they like, so if they want to get some practice on something they just had a lecture about.

0:14:58

Typically, students access these just before tests and before the final exam when they're doing revision.

0:15:03

We use Numbas for some in course assessment, largely just to keep students engaged.

0:15:10

And we're going to have to do a lot more of that, I think, with remote teaching next academic year.

0:15:17

We're still working out exactly how much material we're going to have to write.

0:15:20

So typically they're given a test that's available for a week, they'll get on attempt at it, and shown their feedback once they finish the test.

0:15:34

And there are a few courses around Newcastle that use Numbas for a final exam, particularly stats service courses where the students are just expected to do some pretty rote techniques, and it can all be marked automatically, and a few engineering modules as well.

0:15:53

Actually, before I move on there, on the subject of final exams.

0:15:56

in the semester that's just finished where all the exams - all the assessment - had to happen remotely, all of our first year exams were through Numbas and we think that was pretty successful.

0:16:14

We might talk about that later on, I think. Yeah, Chris Graham gave a talk at the recent EAMS conference, which you can pop a link to, about our experiences with that.

0:16:26

So Numbas is used - this is at Newcastle again - in the maths and stats degree, in physics, and then across all these other subjects.

0:16:36

Engineering, chemistry, they have a lot of their own stuff.

0:16:41

Business studies and psychology, these are statistics service courses that we teach a first year statistics for psychology course.

0:16:49

The Biomedical Science course is new, and Sports Science Course.

0:16:52

Those have a lot of Numbas material.

0:16:58

And there are other uses that I'm just not aware of.

0:17:06

Right, so outside Newcastle Numbas is used very widely. I just checked the stats again and we've now passed the 1000 institutions mark, for people who have registered on the Numbas editor.

0:17:22

Whether they've used it continuously or seriously, I have no way of knowing.

0:17:26

And we have just over 4000 users registered on the public editor and a bank of over 8000 questions available under Open Access licenses to use.

0:17:37

Because of the way Numbas works, everything is entirely standalone, we don't really have great ways of checking how thoroughly Numbas is used around the world, so we just sort of have to guess based on what people are doing on the public editor.

0:17:57

So the numbers are underestimates. But who knows how much they're underestimates.

0:18:02

Right.

0:18:06

So.

0:18:09

This public editor is hosted through mathcentre, which is a UK-wide, I think, repository of Open Access maths resources for higher education.

0:18:25

So the Numbas editor is accessed through that. It's web based, open to everybody, free to use.

0:18:31

You can either have a look at the stuff that's been published and collect it together into your own test, or write your own questions.

0:18:41

And I think I'll get on to show you that shortly, um, yeah, it's a load of screenshots here.

0:18:51

So I think I'll stop here and get an idea of what you want out of this workshop.

0:19:00

I definitely will - the next thing after this will be - I'll go and show you how to write a simple question.

0:19:09

But maybe let's get an idea of - you could write in the chat - where you are, what subjects you are going to use Numbas for and what experience you have with e-assessment already, while I get ready with the editor.

0:19:25

Stony silence here, so maybe I'll just move on.

0:19:50

Here we have some answers.

0:19:59

To use as a teaching tool, both formative and summative.

0:20:06

Alex Corner says, "looking at using it for regular homework and concept checks." Linear algebra, trig and complex numbers, graph sketching.

0:20:22

We can talk about graph sketching.

0:20:24

The answer is largely "no" at the moment.

0:20:27

Elementary school math.

0:20:30

Now that's interesting.

0:20:34

First year engineering. We have a lot of engineering material.

0:20:38

Chemistry lectures.

0:20:40

Yeah, OK. And somebody in finance, so I hope I'm not going to have to talk about actuarial notation.

0:20:51

OK, thanks for that.

0:20:55

I'd be really interested to know what our Indonesian colleagues are using Numbas for.

0:21:02

I noticed a huge number of you all signed up overnight for this workshop, so...

0:21:06

Formative assessment at the start of a first year calculus and ODES course, and summative assessment if the formative trial goes well.

0:21:15

OK, so all largely stuff I'm familiar with, so I can definitely help you all with that.

0:21:26

OK, so keep sending those in, and Chris will keep me up to date with what's going on there.

0:21:36

Right, so.

0:21:40

Going to the Numbas editor. So what I'm going to do is - actually first of all, I'll show you the documentation.

0:21:50

This is where you should start. And in fact, show you how I got to the documentation?

0:22:00

So this is the Numbas editor, I've already got onto the create a new question screen because I'm an administrator on here and so you would see everything if I showed you the home page.

0:22:10

Actually, no, let's log out.

0:22:12

This is what you get. The address again is numbas.

0:22:18

mathcentre.ac.uk. I'm not expecting you to follow along with this, but please feel free to if you'd like to.

0:22:21

Chris might put the link in the chat as well.

0:22:29

So you create an account here, log in again, and hopefully not reveal my password to anybody.

0:22:40

Here we go. And this is what you get shown. So I'm going to go to the documentation, which is this help link at the top right here.

0:22:50

I'll talk about what's in here.

0:22:54

So there's a set of tutorials under the getting started heading, taking you through creating an account, have a look round the editor, writing a question, and then how you actually deliver Numbas exams to your students.

0:23:10

It's a good idea - we're going to go through this today - once you've done that, please make sure you have a skim through the rest of the documentation.

0:23:25

There's a good document on how to plan the design of a question, which I might talk about in a while.

0:23:31

This "How do I?" page has a lot of tips for little things that might not be completely obvious.

0:23:39

In fact I'll show you that.

0:23:41

Stuff like how to get videos and diagrams into a question, stuff to do with formatting bits of text, tips and tricks for randomizing questions.

0:23:55

Right, and I'll go back. And then underneath there's a reference for the entire editor.

0:24:01

At the moment it's just sort of a list of for every screen and every field in the editor and a description of what it does.

0:24:15

I'm working on writing up a more - what's the word - a separate book which will motivate a lot of the design features of Numbas.

0:24:28

And then there's a load of stuff about more advanced things which you might get onto after using Numbas for a while.

0:24:37

Right.

0:24:40

So what I'm going to do is, first of all go through - have a look around the editor.

0:24:45

What I'll do, rather than looking at that page, is I will go back to the editor itself and drag the zoom bits out of the way.

0:24:55

There we go. So what you can do is click the explore button at the top and have a look around the stuff that's been published.

0:25:04

Everything you create on the editor is by default visible only to you.

0:25:11

You have to actively publish it so other people can see it.

0:25:13

So don't worry about your students finding your questions unless you pressed publish.

0:25:22

So we've published quite a lot of material, and collected it in a couple of projects.

0:25:28

There's this "Content created by Newcastle", which is largely stuff coming out of our mouths and stats degree course.

0:25:36

So we've got quite a few things here.

0:25:44

As ever, it's tricky keeping stuff up to date. We're going to have a big shift of stuff over from our private editor to the public one at some point this summer, so we'll be updating that fairly soon.

0:25:56

But there's a whole lot of stuff there that you can use.

0:25:59

And we also have a project on transition to university.

0:26:08

So supporting students who are moving maybe not into the maths degree, but into a degree that uses maths.

0:26:11

We've found that a lot of students get into courses like psychology and business studies and sometimes even economics, and don't realize just how much maths they need.

0:26:24

This is a load of material that is made available to our students through our maths support website.

0:26:27

And there's plenty more.

0:26:30

It's not just Newcastle. There's some stuff on engineering.

0:26:35

Ben Brawn's been doing some stuff in high school in the USA, so linked to the Common Core standard.

0:26:43

There's a lot.

0:26:45

OK, actually, let's carry on looking through things.

0:26:53

So here's the transition to university project.

0:26:58

I click on browse, here, I can have a look through a lot of things.

0:27:02

Click on percentages, why not?

0:27:09

So here's a list of questions and I can click on play for one of them.

0:27:12

And see that question.

0:27:17

So I'm not going to do that.

0:27:19

In my head.

0:27:23

While I'm here actually I'll just show you, I think these prices are randomized.

0:27:30

Yeah.

0:27:33

So the price of this laptop is randomized and the discount is randomized too, so I can click try another question to have another go at something else, and there's also reveal answers.

0:27:45

Where it will show you the correct answer and then the person that wrote this question has also written a fully worked solution.

0:27:52

So here we've got all the randomized bits in it.

0:27:56

That's really good for a student who's not understood how to do this and give them some help.

0:28:06

Maybe they can have another go at another instance of this question.

0:28:09

So you can do that.

0:28:13

You can go around the editor.

0:28:20

Now there's this little trolley Icon. There's no money anywhere, this is just collecting questions into a basket.

0:28:26

If I collect a lot of questions, they go up into my basket and I can create an exam from those.

0:28:31

We'll call that demo exam.

0:28:39

Everything in Numbas goes into a project. When you create an account, you get a personal workspace that's just for you.

0:28:49

Or you might create a project for a particular module you're teaching or a particular purpose.

0:28:53

So here I've created this exam.

0:29:02

I just need to make sure I've got the chat window open, it keeps disappearing.

0:29:07

Right, OK?

0:29:14

So yeah, here's my exam. This is the exam editor.

0:29:20

I've got my list of questions.

0:29:22

I can reorder them. I can set a pass mark, which will decide at the end of the exam, the student will be told, you've passed or you haven't.

0:29:31

There are a few options.

0:29:36

I can pick a different theme. I've got a couple more here than anybody else can access, because I'm doing development work.

0:29:45

And pick an interface language.

0:29:48

Numbas has been translated into quite a few languages, as you can see.

0:29:56

Some more completely than others. As we do updates, there are new bits of text that need to be translated, so some have fallen behind a bit.

0:30:05

So if Numbas isn't currently available in your language, you can translate it for us.

0:30:15

I'll maybe come back to that later, how you can do that.

0:30:19

And then finally, there's a whole load of options about what you allow the students do, what kind of feedback they get, for different use cases.

0:30:28

So you can ask for a password.

0:30:33

We use that in invigilated tests.

0:30:35

For a summative assessment, you probably don't want to let the student regenerate questions, and keep trying them until they get the right thing.

0:30:42

There are some options around letting students move backwards and forwards.

0:30:52

I think my opinion is that it's always good to let students move around, but some colleagues differ.

0:30:57

And some more options here.

0:31:00

And then there's the question navigation mode.

0:31:05

Actually, if I run this exam... So the standard mode for a numbers exam is you get a list of questions.

0:31:12

You see down here we've got question one, two and three and the student has to work through them all and then press end exam.

0:31:15

We realize that's not the best way of presenting material for formative use, where students are just accessing it at will, and just want to practice a particular thing.

0:31:31

So there's also the menu mode, which is what my demo example's set up with.

0:31:37

So you just go straight into a list and you get to choose things.

0:31:41

There's no end exam because it's not intended to be for summative purposes.

0:31:45

You can still keep track of your scores to see what you've been through, what you've achieved.

0:31:53

I think that's really good for practice use.

0:31:57

Right, there are some timing options. You can set a time limit and you can decide how much feedback the student can get while they're doing the exam.

0:32:08

So, for something that is worth course credit, you probably don't want to give the students feedback while they're entering their answers, because they might use that feedback to change the answer and brute force their way towards getting full marks without really understanding why their answer is correct.

0:32:27

So I think that's it for an exam.

0:32:38

Yeah, OK.

0:32:39

I think what I'll do next is I'll move on to the next bit of the documentation, if I can find it.

0:32:46

Which is writing a question.

0:32:55

So again, rather than looking back and forwards between the documentation and the editor, I'm going to try and do this from memory, so I'll go back to the editor and I need that group chat again.

0:33:08

And click new question.

0:33:11

I'm going to call it my first question, it's not, as you can see I've typed that before, but I'll pretend.

0:33:24

Right, OK, so here's the question editor.

0:33:29

And we've got a load of tabs for the different parts of the question.

0:33:38

As I said earlier, a question begins with a statement which is just a block of fixed text where you give the student any information they'll need to answer the rest of the question.

0:33:46

You then have a list of parts where you're asking the student to enter something.

0:33:54

The advice is where you write that worked solution that appears either when the student gives up and says reveal answers or once they've finished the exam and they're reviewing their feedback.

0:34:03

And there's a load of other stuff.

0:34:07

I skipped over variables.

0:34:12

This is how you set up the randomization. I will do some of that in a bit.

0:34:15

So the really simple question I'm going to write here is the question from that demo earlier about eating apples.

0:34:22

Chris came up with this one because he realized he eats a lot of apples, but it's a nice easy bit of arithmetic just to show off basically how Numbas works.

0:34:36

So the first thing I need to do is add a part.

0:34:40

Now the answer I'm expecting to get is a number, so I'll pick number entry.

0:34:49

And I have to give a prompt and then set up how the marking is going to work.

0:34:55

So, the prompt here is going to be: "Chris eats three apples per day.

0:35:03

How many apples does he eat per week?" Right, so there's my prompt, and actually what I can do now is click test run.

0:35:20

And see how this question would look for a student, and I'm going to get an error because I haven't set up the marking.

0:35:25

So.

0:35:29

Click on marking settings and I get a whole load of things here.

0:35:35

The most important bits are the minimum and maximum accepted value.

0:35:39

The number entry part takes a range for cases where you have to do some calculation involving decimals, and there might be some rounding.

0:35:47

You might want to give a bit of tolerance of error to the student.

0:35:51

In this case, it's a whole number, so it's going to be the same thing in both boxes.

0:35:59

It was three a day, which is - right keyboard - 21 a week.

0:36:04

Right, now I'll click test run again.

0:36:07

Here we go, right.

0:36:11

So there's my prompt,my input box, I'll write 21.

0:36:13

It gets marked correct.

0:36:19

Anything else is marked incorrect. So really simple.

0:36:25

That's straightforward.

0:36:28

So if you're just transferring questions that have been paper homeworks in the past and you just want to get a computer based version of those.

0:36:35

It might be as simple as that.

0:36:39

Yeah, you write out the text and then say what the answer is, and it'll get marked for you.

0:36:46

Things get more complicated when you want to randomize things.

0:36:52

So what could we randomize in this question? The obvious candidate is the number of apples that Chris eats per day.

0:36:57

So the way we'll do that: define a variable.

0:37:07

I went to the variables tab, clicked add a variable, and I get this interface.

0:37:17

I need to give it a name and then a definition. Numbas uses a language called JME, which we inherited from the previous system that we used.

0:37:27

The syntax is very similar to most other programming languages, the kind of stuff you would type into a graphical calculator.

0:37:38

There's documentation on all of that linked from under here.

0:37:41

The documentation has a page about JME.

0:37:50

Right, so I need a variable to say how many apples Chris eats per day.

0:37:55

What I'm not going to do is call it N. It doesn't explain very much.

0:37:59

I'm going to call it apples per day.

0:38:04

And then I get to pick a data type.

0:38:06

JME Code is I get to write some code to define this variable.

0:38:14

So I could write something like random two to five.

0:38:18

So it's a random number between two and five. And over here I get shown up a generated value and I can click regenerate and see the sorts of values it's going to create.

0:38:27

None of this is surprising to me at the moment because it's just picking at random from those numbers, but when you've got more complicated randomization, this is really handy.

0:38:39

But this is quite a common thing, so this data type drop-down has a few templates for setting up this kind of thing more easily.

0:38:50

I'm going to pick random number from a range and I get a couple boxes here, so random number between two and five.

0:38:58

The step size is 1, so whole numbers there.

0:39:01

And then finally, there's a box for description where I say what this variable represents, what it's used for.

0:39:09

When you write a question, it's very easy to set things up, while you're sort of hacking away at the code and then if you come back in a couple of months and need to fix something, it's not at all obvious what each variable is for or why it's generated in the way that it is.

0:39:29

So this box gives you an opportunity to document how things work.

0:39:31

So I'm going to repeat some information here because I gave such a good descriptive name for this variable.

0:39:42

There we go.

0:39:47

Right, so now I need to use this.

0:39:53

I'll go back to my part prompt, and replace that three with some curly braces and the name of my variable, so that substitutes the value of the variable into the text at that point.

0:40:09

These curly braces just substitute it in as plain text, which is fine here, because I've got just a number.

0:40:15

When you've got mathematical notation, things get more complicated and we'll get on to that in a bit.

0:40:23

Right.

0:40:28

So let's see how that works. Here we go.

0:40:35

Now, what are the chances that I got three again.

0:40:39

I'll try again.

0:40:43

Chris eats five apples per day. So that's been nicely randomized, but I've forgotten to do something, I forgot to change the marking.

0:40:50

So what's five times seven?

0:40:54

35. Not marked correct, because the answer is still set up to be always 21, so I need to change that.

0:40:58

Right, so here it says 21.

0:41:04

I'm going to say seven times apples per day and copy that into the max accepted value field as well.

0:41:11

OK, there we go.

0:41:18

So we'll do test run. Chris eats four apples per day.

0:41:24

Four times seven is 28.

0:41:28

There we go. So this question's now randomized. That's good.

0:41:33

Chris Jobling's just asked, is there a number to word function that can be used in questions?

0:41:45

It would need localization.

0:41:47

I can't remember if there is one, actually. I've definitely done that in the past and I can't remember if that's a built-in function now.

0:41:54

Let's go and have a look.

0:41:58

Click on the documentation.

0:42:00

Click on the right thing.

0:42:04

There we go.

0:42:06

What would it be called? Word.

0:42:12

I think the answer is no, but there should be.

0:42:14

There could be.

0:42:19

It would be a nice thing to have. I guess you're thinking about cases where convention would say that you have to spell out a number rather than use digits.

0:42:29

The big wrinkle with having that built in is that it would have to be localizable, and the rules for writing numbers in different languages are not in agreement with each other, so it would get complicated.

0:42:50

Maybe an extension to do that would be good.

0:42:51

Right.

0:42:55

So. What have I done?

0:42:58

I've randomize this question. Under my variable now I can see where it's used, so I can see it's used in the prompt and in the Min and Max accepted value for this.

0:43:06

This is a really handy thing for being able to have a look at variable names, and if you've got a lot of variables work out which ones correspond to the answers for things.

0:43:22

Right. So now I've written this question.

0:43:28

What else might I want to randomize?

0:43:35

Actually, I did that calculation there, number of apples per week, inside the field for this number entry part.

0:43:42

What would be nice would be if I had a variable called apples per week.

0:43:46

So I only have to do the calculation once and I can reuse that elsewhere.

0:43:57

So let's make a new variable, call it apples per week.

0:44:03

And it's seven times apples per day.

0:44:10

There we go. So over here on the preview, two apples a day is 14 apples a week.

0:44:17

And I can regenerate these.

0:44:21

And underneath I can see that this variable depends on the variable apples per day.

0:44:31

Go back to apples per day and it's used by apples per week.

0:44:35

Right, so I think that's a decent minimal question.

0:44:38

Let's have a peek at the documentation to see what the next thing to do is.

0:44:50

Right, so I've written a question, I've written a statement, set up some variables.

0:44:57

Oh yeah, worked advice.

0:44:59

Where are we?

0:45:05

Over in the advice field.

0:45:08

So I have to give a description of how to get the right answer to this question.

0:45:18

So maybe you might be missing the information there are seven days in a week.

0:45:28

And then maybe I'll do some maths notation here, so I should multiply apples per day by 7 to get that many apples per week.

0:45:44

So there's my text, I've used curly braces to put those variables in.

0:45:54

But I can click this preview button to see just this bit of text without going into running the whole question itself.

0:46:02

So there we go. If I run the question again.

0:46:06

There we go, I've revealed answers, under advice, there's my worked solution.

0:46:17

Lovely. Right, I could see a couple questions came up there.

0:46:22

Um, Augustine asked in the case of decimal answers, is it possible to restrict the number of decimal places.

0:46:29

It sure is! So let's make another part, and make up a decimal answer.

0:46:35

I mean.

0:46:39

There we go.

0:46:41

Something like this, so some calculation you want the student to round off.

0:46:47

So I can set the correct answer here.

0:46:54

Then further down, there's an option for precision restriction.

0:47:02

So I can say I want a certain number decimal places.

0:47:06

Two of them. Then there's an option.

0:47:10

In some contexts, it's really important you give exactly the right number of decimal digits.

0:47:14

I think in engineering, you use the number of digits after the decimal place to convey the precision to which you know the number.

0:47:24

So 1.2 isn't the same as 1.

0:47:29

20 because the margin of error is different in those. So you can require that or not.

0:47:33

Let's say we do require that at the moment.

0:47:38

And you can give partial credit if the student gives their answer to the wrong position.

0:47:41

So what Numbas is going to do, it's going to first of all see how many digits the student has given their answer to, round off the correct answer to that many digits, and then compare.

0:47:59

So.

0:48:01

There we go.

0:48:04

1.23, I think that is. I get a little hint here about writing my answer, just in case the prompt hadn't said that.

0:48:14

You could turn that hint off if you want. There we go, and if I'd given that whole number there - let's say I got the right number, but I didn't give it to the right precision.

0:48:30

OK.

0:48:31

Lynn says, is there an option to record a video solution for the advice.

0:48:38

Yes, certainly, I'll go back to my demo exam.

0:48:41

I said I'd come back to it. So I've got this question here.

0:48:45

You can put images in a question.

0:48:51

That there is a Numbat, which I'm trying to make the official mascot of Numbas.

0:48:55

You can use SVG, which is a vector image format for making up randomized pictures or things that scale nicely.

0:49:11

And then I've got a video down at the bottom. So if you've got a video on YouTube or Vimeo then it's quite straightforward to stick it in.

0:49:20

For a lot of our practice material we have these videos, which a colleague who's now retired recorded.

0:49:27

Couple of hundred of them. We'll stick these videos either in the advice or in steps, which I haven't talked about.

0:49:38

So I'll go back to this question here.

0:49:40

If you want to give the student a bit of a helping hand, a hint or walk them through the steps of a calculation, you can use steps.

0:49:59

So what that is...

0:50:02

I'm going to do information only.

0:50:04

These are extra parts that the student can choose to reveal or not.

0:50:10

So.

0:50:13

That's just some text there, and the way it works in the interface is you can click show steps and you get shown it.

0:50:20

So I could have several.

0:50:24

If this was a really involved calculation, I can have a few more number inputs for each of the steps along the way there.

0:50:31

So the student would get guided through it.

0:50:33

They get some scaffolding, but also they have the opportunity to get partial credit for as far as they get correct answers.

0:50:42

Right.

0:50:47

So what we often do is we stick a video in the steps there.

0:50:51

I could optionally - where's my option here?

0:51:01

Penalty for revealing steps - I could take away some points if the student shows the steps, so they won't get full marks for having seen the hint, but they can still get something.

0:51:14

Right.

0:51:17

Over on my demo. For each part type, I've got a question so I can show a load of options, and it might be worth quickly running through these, if not how to author them.

0:51:30

So for the maths expression part there's a straightforward one.

0:51:36

You can have randomized variables in the answer.

0:51:39

Implicit multiplication is something students always do.

0:51:42

When you're writing a mathematical expression on paper, it's conventional to not put a multiplication sign between a couple of variables or a number and a variable.

0:51:55

So Numbas allows for that, but there are also cases where you want the variable to have more than one letter, so that's an option.

0:52:07

You can ask for the student's answer to be in a certain form. The way Numbas marks a mathematical expression is it spots the variables in the expression.

0:52:17

So here 'a' is a variable.

0:52:18

It picks random values for those and then evaluates, both the student's answer and expected answer at those points.

0:52:25

If the values they produce are the same, then the expression is considered equivalent, so the student gets the marks.

0:52:34

That falls down when you're really interested in the form of the students answer.

0:52:41

So this one.

0:52:43

This is sort of a collect together powers thing. These two forms would both give the same results numerically, but you're interested in, "Has the student collected together all these powers?" So you can use a pattern match restriction to make sure they've written something like "a to the power of a number." And then this stuff about how you can mark things like there's an unknown function involved, or mark formulas.

0:53:16

This will be the demo exam linked on the Numbas website as soon as this training is finished, I nearly got it all wrapped up before we started.

0:53:33

Number entry. We've talked about precision restrictions, different notation styles.

0:53:37

So in the UK we use a dot for the decimal separator and commas for powers of a thousand.

0:53:49

In Europe typically they have it the other way around, and there's different notation in India.

0:53:54

Switzerland has its own unusual notation.

0:54:01

Or scientific notation.

0:54:05

So you can select those.

0:54:08

I sort of alluded earlier to the fact you can accept a number in a range.

0:54:12

You can use scientific notation.

0:54:14

Numbas now uses very high precision number representations, so you can talk about extremely big numbers and extremely small numbers without running into floating point rounding errors.

0:54:29

I could take a fraction.

0:54:33

Rather than a decimal number, which is important here because 22 over 7 doesn't terminate.

0:54:41

And you can optionally ask for the fraction to be reduced.

0:54:44

Chris Jobling's asked, "Is everything is done in JavaScript?" That is right.

0:54:56

How much would be revealed if the student turned on developer tools?

0:54:59

Well, they could see pretty much everything if they knew what to do.

0:55:04

So that's a really good point. In formative use, that doesn't matter because it's for the students own benefit, really, they can cheat whatever way they like.

0:55:13

Cases where it's a high stakes exam, you need to if the student's not physically present, and being invigilated, you need to use a lock down browser.

0:55:24

There are a few options for that.

0:55:26

Newcastle has a license for Respondus.

0:55:31

There's a really good open source tool called safe exam browser which you can use.

0:55:36

So those effectively just show the student the page, don't let them open developer tools or anything like that, and that's the best you can do.

0:55:50

Numbas is made this way because having all the stuff done on the client makes it really easy to use in a really wide range of places.

0:56:00

It lets us offer Numbas to the whole world without having to run some huge server that would get overloaded under use, so doing stuff on the client really makes it a lot more versatile.

0:56:13

And having a locked down browser is a good solution.

0:56:18

Even systems that do all the marking on the server tend to recommend using a lock down browser anyway.

0:56:27

Unless anybody has more questions, I think I'll skip some of these other part types.

0:56:32

If there's something you're particularly interested in, I can show you.

0:56:40

Choosing from a list, I mean there's a lot of options.

0:56:43

You can put things in columns. Each choice has its own number of marks available.

0:56:47

So for example in this one there might be an answer that's nearly correct, you want to give a bit of credit for, so I think that one gets one mark, but there's one which gets all the marks.

0:57:01

You can get distractor text to explain why an answer is wrong.

0:57:04

It's quite a self-referential thing, but in a real question you would say something like, explain why the answer is not correct.

0:57:17

And you can randomize the order of choices, and you can have variable numbers of choices or make the marking depend on random variables.

0:57:32

OK.

0:57:34

Right, say something about shared projects.

0:57:39

I'd sort of alluded to that, looked at that a bit earlier, didn't we?

0:57:44

So what can I do without showing too much here?

0:57:50

So we have an absolute tonne of projects.

0:57:56

Typically at Newcastle we'll make one project for each module and collect together all the materials for that module there.

0:58:03

So here on the public editor we've got a few things, our maths support projects supporting particular subjects.

0:58:15

And then the transition to university stuff.

0:58:19

The way a project works, every question and exam in Numbas belongs to a project.

0:58:25

A project has a list of members who can edit stuff in the project, and you can give people just viewing access if you want.

0:58:36

So everything inside the project is visible to the members of the project.

0:58:43

So you get this timeline of material that's being worked on, activity inside the project, you get a breakdown of status of content to help you collaborate.

0:58:55

I'll go into some of these things. Let's pick some stuff a while ago.

0:59:06

I've done a load of work here. This is a project we worked on with some student interns so they had a lot of back and forth.

0:59:10

Gosh, how many years ago was it?

0:59:14

Was it 3 or 4? [Chris] It's four.

0:59:22

Can't believe it. [Christian] Four years ago? Wow. Doesn't time fly?

0:59:26

Just keep going back until we find, I don't know.

0:59:32

There we go to that one.

0:59:38

So yeah, I sort of glossed over the collaboration features.

0:59:43

And that happens on the editing history tab.

0:59:47

Oh, here we go. So, uh, Hannah wrote this question.

0:59:56

When she was finished, she labeled it as needs to be tested.

1:00:02

I'll go way up to the top here.

1:00:05

There's a button here, you can give some labeling on questions, just sort of where it is in the editing process.

1:00:10

We have a rule that somebody who writes the question cannot say that it's ready to use.

1:00:19

Somebody else has to look at it. So, Hannah wrote it, so it needs to be tested.

1:00:24

It looks like Chris went in and ran it, then had some feedback for her so he left a comment.

1:00:31

Some suggestions of changes.

1:00:35

It went back and forth as she was fixing stuff.

1:00:37

Vicki came and gave some more feedback, and so it's been quite a long back and forth about how this question should work.

1:00:47

I think we tried to get as many people as possible looking at these questions because they were going to be used by a lot of people.

1:00:55

And I've written a lot of stuff. When was it finally ready to use?

1:01:04

There we go. So finally I was happy with it and said ready to use.

1:01:08

I wasn't very polite there.

1:01:14

I didn't leave a comment saying this is good.

1:01:18

I normally did. And then later on, somebody has come along and said there was a problem.

1:01:26

So because this was published, everybody else has been able to look at it.

1:01:29

Yeah, so that person noticed the typo and I spotted it.

1:01:34

So that's largely the workflow.

1:01:39

We used this for writing our end of year exams this summer.

1:01:43

We had a team people spread around the region, writing content and then back and forth with feedback and editing.

1:01:58

Proofreading. Catching up again.

1:02:04

Mochamed Apri says can we draw a randomized graph of a function?

1:02:09

Yes, we can. There's my demo. Here we go. There's a few options for this.

1:02:13

There's no really good option for me.

1:02:16

There's no one absolute sure fire answer for drawing diagrams.

1:02:20

There are a few, based on what you want to do and how much coding you want to do.

1:02:24

So.

1:02:27

First thing that we ever used was a package called JSXGraph.

1:02:32

There's an extension in Numbas, which lets you insert JSXGraph diagrams?

1:02:39

And that gives you geometry tools. You can draw geometrical diagrams, plots of graphs, charts, that kind of thing.

1:02:48

In order to set it up you have to do some coding in JavaScript though, so I think that's quite a big barrier for most people.

1:02:59

But this question is quite nice because here I've got to write a formula for the height of this object.

1:03:07

A projectile that's shot upwards.

1:03:11

As I write and expression it gets plotted for me.

1:03:13

We have plenty of questions where there's just like a static graph is shown to the student, but this one's a nice dynamic one.

1:03:24

What's really good about this question is that it cements the link between the algebraic form of a function and its plot.

1:03:29

Students when they're learning this - and I know I did when I was young - take a while to get the hang of what the different bits of a formula mean and how they affect the plot.

1:03:44

So I'm going to try and do this one. A hundred T minus T times T squared over 2.

1:03:50

Something like that. Good old equation of motion.

1:03:58

I think that's the right answer.

1:04:02

Yeah, it is. So the diagram here is used for illustration.

1:04:07

You can also have interactive elements that - we have some questions where you move points around and that fills in an input box, so it can go both ways.

1:04:15

Another option is GeoGebra.

1:04:21

GeoGebra is really easy to use and very powerful.

1:04:26

It's again an open source system, they have a really nice graphical editor.

1:04:31

Here I've made a diagram of a couple of points and sort of bisected them, a circle through them and then a perpendicular bisector.

1:04:39

So it gives you a load of again geometry tools.

1:04:45

But then there's a lot about stuff drawing graphs and interactivity.

1:04:51

So that's a really nice, easy to use method of getting diagrams in.

1:05:00

And I can use question variables to set up the GeoGebra diagram, but getting stuff back from GeoGebra out into Numbas is a bit more complicated.

1:05:14

They used to have a good feature for assessing constructions.

1:05:17

But they've taken that away and so it's sort of a one-way process now.

1:05:21

But for illustrating. providing some interactivity so the student can get a feel for how things move about, that's really good.

1:05:34

And then finally sort of in the middle, there's Eukleides, which is a language I found years and years ago, and I've re-implemented in JavaScript and made the Numbas extension for, which makes it easy to create diagrams.

1:05:48

It's sort of halfway between JSXGraph and GeoGebra.

1:05:52

You don't have to write JavaScript.

1:05:56

The language is a lot more simple. You can say "line between these two points, and circle at this point with this radius", without a load of extra code and syntax.

1:06:08

But it lets you create diagrams based on random variables.

1:06:12

If these questions were randomized, we'd just draw diagrams and they would be fixed.

1:06:21

It's the fact that they need to update with the random values that's the hard part.

1:06:28

OK, so that's about diagrams.

1:06:34

Got a question from Rinovia, "How do I embed exams in LMS other than Moodle, MS Teams and Google classroom?" So I'll go to the documentation to talk about that.

1:06:49

Going to the page on delivering examples to students. So, an exam can run standalone in the browser.

1:06:53

Standalone means that the data doesn't go anywhere.

1:06:59

For both, for scalability and for data protection reasons, we don't offer a database where you can save student data to.

1:07:09

So you need to have something through your learning environment.

1:07:18

So you can do that.

1:07:22

When you - let's see, where was it? - run something through the editor you can click the share button and that address is something you can embed or link to.

1:07:33

And your page and test will run completely stand alone. To save data, you need somewhere for it to be saved.

1:07:42

So a couple of virtual learning environments offer a SCORM Player.

1:07:48

Blackboard and Moodle do in particular.

1:07:52

Blackboard's SCORM player is very buggy so we don't recommend it, but just for formative use you can do that.

1:07:57

Moodle's is very good and can be relied on.

1:08:04

If you don't have access to SCORM then you need to use LTI.

1:08:10

There's a Numbas LTI tool. The way LTI works is you start in your learning environment.

1:08:19

The student clicks the link to launch an activity and The LTI standard says how information from the learning environment gets sent off to some other service, in this case the Numbas service.

1:08:33

Launch the activity, the student does the thing, and then a score gets reported back to the learning environment.

1:08:38

So this needs a server to be handling all the Numbas attempt data.

1:08:47

That's open source, we've released, but you do need to set it up locally, so you need your IT people to set up a server, a virtual machine or physical one, running this software, and then it connects to your VLE.

1:09:01

There's documentation on what's involved there, what you need.

1:09:09

It really doesn't need very much in terms of resources And it's quite straightforward to set up.

1:09:13

And we're happy to offer some support setting things up, but we don't offer a public LTI tool, again for scalability and data protection reasons.

1:09:26

We are thinking very hard about what we can offer in a way that would make it feasible for us to offer something easier to use.

1:09:36

But anyway, that's there and a lot of places are using it.

1:09:40

I know a fair few universities in the UK and around the world are already using that.

1:09:49

So that's what we use in Newcastle.

1:09:52

We have an LTI connection to our learning environment.

1:09:58

I'm not sure. I don't think MS Teams - Microsoft Teams - supports LTI, so you would be linking to standalone tests.

1:10:07

You can get the students to send you their scores. You can - actually, I'll show you - where are we?

1:10:11

Just run a test.

1:10:17

If I end the exam, there's a button to print a results summary and that will give this results page plus all of their questions.

1:10:30

So they could send you a PDF of their transcript, which is a bit slow and manual, but if you don't have a way of saving data, that's what you could do.

1:10:43

Yeah OK, and Google classroom, I feel like I've looked into it before.

1:10:48

I'm not sure if it supports LTI. It might or might not, but you would have to set up this server.

1:10:57

Right?

1:11:02

No more questions there. Where was I? I was going through my demo.

1:11:06

I want to talk about some more things that Numbas can do.

1:11:10

A few of these things are quite new this year actually.

1:11:14

The first one is alternative answers.

1:11:20

It really often comes up that you've either got certain errors that you're expecting the student to make and you'd like to give some feedback based on that, or partial marks, or if you have a question that has more than one acceptable answer, to accept those.

1:11:40

So the way you can do that is with alternative answers.

1:11:46

If I go back to my first question. There we go.

1:11:52

Right.

1:12:01

So here if I want to think of another error here.

1:12:07

What could the student do? I suppose instead of multiplying by 7, they might add 7.

1:12:11

Click add an alternative answer.

1:12:14

So this is a copy of that part, and the marking settings were copied over and I can change whatever I like.

1:12:21

So instead, I'm going to say the correct - the accepted - value for this version is plus 7, plus 7.

1:12:33

Right?

1:12:37

I don't want to give any marks for this answer because it's completely incorrect, but I do want to give the student some feedback.

1:12:43

So for something that was almost right, you could give partial credit.

1:12:49

So I can give a feedback message and say something like, "Did you add 7 Instead of multiplying 7?" So in this version, the correct answer is this thing.

1:13:11

I don't want to make a copy of that, I want to run it.

1:13:16

And here we go. So if I make this error and enter the answer 3 plus 7, I get this specific feedback message, rather than just saying it's incorrect.

1:13:35

It takes a lot of time to think about errors that students would make, but sometimes there are obvious errors you're expecting.

1:13:41

Part of the design process for a question should be thinking about how a student could get a question wrong.

1:13:50

And so you should be able to program in those answers and give students more tailored feedback.

1:13:57

That's really handy.

1:14:00

That's a nice easy way of setting those things up.

1:14:04

So here in my demo question the example was, I'm going to give partial marks for getting close.

1:14:09

So I've got two numbers to add here.

1:14:14

Without thinking too hard, I could just add up the first digits.

1:14:19

I get some feedback here.

1:14:23

I'm within 100 of the correct answer. So I've been given 3 marks.

1:14:28

I might see, can I get a bit closer?

1:14:35

So I get closer and closer, I get within 10, and I get more marks.

1:14:41

I think the correct answer is 2087. There we go. I got full marks for that.

1:14:46

So there's a lot of alternatives there that accept progressively narrower ranges around the correct answer.

1:14:54

And they gave different feedback, different number of marks each.

1:14:59

OK, so that's alternative answers. I'll come to explore mode after adaptive marking.

1:15:06

I think explore mode takes a bit more work.

1:15:12

So adaptive marking. A motivation for this was error carried forward.

1:15:17

If you have a question with several parts and the student gets the first part wrong, then they're probably going to get the rest of them wrong as well.

1:15:27

So students think this is sort of unfair. It's not a fair assessment of whether they can do the techniques that are being assessed in the later parts.

1:15:36

So you can accommodate this by saying, "If the answer to this second part here depends on the answer to the first part", and that's a question variable where you replace the value of the question variable with whatever the student wrote there and re- calculate what the correct answer for this second part would be.

1:15:58

So then if the student gives that answer, then you know that they've used the wrong value that they had earlier, but they've done the right thing with it.

1:16:10

So you can give them some marks. So here if I enter - I'm fairly sure one is a wrong answer to this.

1:16:13

Yeah, there we go.

1:16:18

Then I'm told that one bag of apples cost £1.

1:16:20

10 so I will spend £1.

1:16:25

10 on one bag. That gets marked correct and I get some feedback here saying this was marked using your answer to previous parts.

1:16:33

So even though that's not the right answer, this can be 9 times that, I get the marks for this part's calculation.

1:16:44

And if I do reveal answers, the correct answer is still like that.

1:16:49

So that's fairly easy to set up. Let's have a look at that question.

1:16:58

Adaptive marking.

1:17:05

So I had my second part here.

1:17:12

Then the number entry gap.

1:17:17

There we go, adaptive marking. So I replace the variable number of apples to buy with the answer to the part whose title was "how many apples to buy." So when the student submits an answer to this part, it first of all tries to mark against the correct answer.

1:17:35

So try without replacements first.

1:17:38

If that doesn't work, if you don't get full credit, it then tries doing this replacement.

1:17:44

So it recalculates whatever the correct answer was going to be.

1:17:47

Total cost, which is itself a variable, so cost per apple times apples to buy, we've replaced that value.

1:17:59

Which gives you a new range of acceptable answers.

1:18:03

And then that gives you some marks.

1:18:05

Whichever version gives the most marks is used.

1:18:11

I can optionally apply a penalty if that error carried forward marking is used, which the engineers asked for this year.

1:18:22

You can use adaptive marking a bit more creatively. The chemists at Newcastle have set up digital labs, so the students will go and do an experiment in the lab, take a lot of measurements and then they have to do some calculations with that - sort of work out yield or something.

1:18:43

I don't know what chemists do. Anyway, the way they used adaptive marking was, they had the first part where they say, "enter your data." The rest of the question is based on that.

1:18:51

They use adaptive marking to set up the question variables following what the students did.

1:18:58

So that's worked very well for them. I think they used that quite a lot.

1:19:03

Which leads onto my next thing I want to show you.

1:19:06

Yeah, Chris Jobling's just asked in the chat, are the transition questions available for other unis to use.

1:19:17

Yeah, those are published, so if you click that explore icon, you get that those things are all released under a Creative Commons Attribution license.

1:19:27

Right, so the next thing is explore mode, which is this year's big new feature.

1:19:39

And the motivation for this, well, there are a few things that we wanted to do.

1:19:46

I had colleagues saying, we want to offer the student a choice of hints at different levels of usefulness, or on different things, so it might be do some really complicated calculation, and you might want to offer students a reference to their notes for a small penalty, or you might want to offer them a really scaffolded, guided work through the whole calculation, for which they would get quite a big penalty.

1:20:19

And that wasn't possible with steps.

1:20:21

It was, either show of them or none.

1:20:24

So that was one use case, another one is, sort of, an interactive exploration of a topic.

1:20:34

So you might...

1:20:41

I'll show you this example here.

1:20:45

This one's an experiment. The idea is you're going to go through a series of steps and set up an experiment, then do the experiment and then evaluate it.

1:20:57

So it's about coin flipping. I've got to decide whether a coin that I've got is fair or not.

1:21:07

How do I do that? In the standard view, this might tell you what to do, say do it ten times, work out how often it was heads, is it fair or not?

1:21:20

Which doesn't give the student much choice.

1:21:22

Here I think I've only got one path through this, but I could have more, sort of "choose which technique you want to do", "what you want to measure".

1:21:30

So explore mode makes it possible to choose your path through things.

1:21:37

How many times will you flip your coin? So I'm going to say I'm going to flip my coin four times.

1:21:45

So that is then set as a question variable. If I move on, that gets stored.

1:21:50

The next question is, "how many times do I have to come up heads for me to think the coins biased?" I think anything other than exactly fair is.

1:21:59

probably biased, so I'll say 3.

1:22:01

And actually before I enter that answer, I had an option for a hint here.

1:22:07

So to help me decide what number would make sense, I could say, "Here's a hint: with an unbiased coin, how many flips would you expect to be heads up?" And the answer there should be 2 and that's based on the number that I put in earlier.

1:22:21

So going on that, two would be unbiased, so I might say "well, three's probably biased." If I'd chosen to do more flips I might pick something a bit further away.

1:22:37

So next enter the data. So flip the coin. There's my number 4.

1:22:43

And, let's say it landed 3 heads and a tails.

1:22:51

There's a custom marking algorithm which interprets this here.

1:22:58

That gets saved to a question variable as well. So next I have to say what percentage of flips landed heads.

1:23:06

If that's beyond me, I've got a hint here. Count up how many heads, how many tails?

1:23:12

Just in case I needed to check.

1:23:15

Because if I'd done a lot, I might lose count.

1:23:19

So that's a good way of getting me past that.

1:23:24

So I think 75%. Yeah, there we go.

1:23:30

I can move on. So you see this this is sort of leading me through down one pass.

1:23:35

You can design questions where you get a choice of paths.

1:23:38

You can move around. It's really versatile.

1:23:43

Finally, based on all of that, I have to decide if it's biased.

1:23:46

I think it is, yes. Now it's not, no.

1:23:50

Because I got that wrong, I get this hint, "Calculate critical likelihood." So again, work out what my threshold percentage should be.

1:24:03

So yeah, that's really powerful.

1:24:05

I'll show you how it works in the editor again.

1:24:10

I'll just find that question, explore mode.

1:24:20

This feature is brand new and I'm really keen to use it in a lot of ways.

1:24:30

I could probably talk for ages about it. I think I'll talk more about it in the advanced session next week.

1:24:33

I'll have to make sure I stop myself here.

1:24:41

So the way it works: for each part, I have a list of options for the next parts to move to.

1:24:45

Where's my...

1:24:50

move in a little bit more.

1:24:53

So for each option you can say when the option becomes available and you can do some variable replacements like with the adaptive marking.

1:24:58

So that's really powerful.

1:25:03

Right.

1:25:05

Finally, I'll just talk about a couple of extensions.

1:25:08

I've referred to extensions a couple of times.

1:25:15

These are ways of adding extra features.

1:25:22

Either functions to use in variable generation, or embedding things like GeoGebra worksheets.

1:25:30

So here's a couple of them.

1:25:33

The random person extension solves a problem that we had, particularly with our maths support material.

1:25:41

We had a lot of word problems with named people in them, and I noticed that they were very largely male characters and they were very largely names of whoever was sitting next to the person writing the question.

1:25:57

Which, led to a bit of an inclusion problem, frankly.

1:26:00

So there's plenty of evidence showing that students need to feel that they are the subjects of teaching material, textbooks and assessment material.

1:26:17

So if the student never sees, or commonly sees names of - if you're a female student, you always see male names and things, if you're a student from a different cultural background to your lecturer, you might not feel like you belong on the course.

1:26:34

Anyway, what you want to do is make people feel like they belong on the course.

1:26:45

So what this extension does is it randomly picks names for characters.

1:26:49

I got some data from the UK on relative frequencies of names.

1:26:53

It picks from those. So basically this job's taken out of my hands.

1:27:01

This only applies in a UK context.

1:27:06

But if you can get hold of data for where you're from, then the same thing should apply.

1:27:12

There you go.

1:27:16

So that's what that does. It generates person and then randomises pronouns and things like that.

1:27:23

Now. Something that came out of the work with the chemists was that they always ask for units with their numbers, which we've never done in the pure maths course.

1:27:37

So I went away and found a package that deals with quantities with units and wrote an extension to add that into Numbas.

1:27:46

So now here we have a part type where the student has to give their answer along with some units.

1:27:51

And it's not just about marking, it's about random variable generation as well.

1:27:57

You can generate values with certain units attached to do arithmetic on those, so 9 centimetres cubed times 0.

1:28:04

7 moles per decimeter cube is going to end up in terms of moles, I think.

1:28:09

So all arithmetic to do with combining units together is handled very nicely.

1:28:16

So that makes that quite straightforward to work with.

1:28:22

Oh, here's a good example of steps.

1:28:26

I've no idea how to do this calculation, so, uh...

1:28:30

Hey, I'm taking through here.

1:28:34

There's a little layout bug there.

1:28:37

But I could work through these things. So I think, ... Is that correct?

1:28:44

No, no no, sodium hydroxide, right?

1:28:47

dm cubed, oh no.

1:28:55

Right, I don't know how to answer this.

1:29:00

Yeah. Let's reveal answers and see what the answers were.

1:29:02

Oh, there we go.

1:29:06

I didn't read it properly. So anyway, you see, the answers to these things have units attached and the student's answer is only correct if they've got the right number and the right units and there are a lot of options around what the right units means, would CM cubed be acceptable here?

1:29:27

No, because it's converting from centimeters cubed.

1:29:30

In another question where you're just interested in the dimensions like centimetres instead of kilograms, you might accept any of the orders of magnitude, for the right kind of measurement.

1:29:43

Right. So, we've got half an hour to go. I think I've demonstrated all the things.

1:29:48

I see Linda's asked, will we be able to see these questions afterwards?

1:29:53

Yeah, my intention was to finish this and get it published before the session started, on the Numbas website.

1:30:04

There's a big link called "See a demo" which at the moment goes to the old demo.

1:30:10

It will go to this new demo shortly and it will have a link to see the same thing in the editor.

1:30:18

So you can see how these questions are implemented.

1:30:22

By the way, the Numbas website has some information.

1:30:25

I said earlier on I would talk about how you can help contribute.

1:30:30

First thing - the easiest thing to do I think - if you speak another language, is to translate Numbas into that language.

1:30:41

There are some links here to go to the translation management site.

1:30:46

You can contribute translations.

1:30:52

As I said earlier, the translations fall out of step as the English version gets more text put in it, so even ones that were complete like Swedish I could do with help with.

1:31:03

So you sign up to this site and you get shown a list of text and you just have to write in there the translated version.

1:31:10

So if you can do that, that would be really helpful.

1:31:16

The code's all on GitHub. Help with code would be extremely welcome.

1:31:22

Doesn't happen too often, but if you spot a bug or even if you're just not sure how to do something in Numbas, you can file an issue on GitHub, or email us, or the user group.

1:31:43

There's a link there to the user group, which gets a fair bit of traffic.

1:31:47

We watch that and other people might be able to help you if you've got a question that's been answered before, so that's how you get help with things.

1:31:57

Yeah, so, I think I'm done with my demos.

1:32:05

Matti Harjula, hello Matti, said, "a question related to mathematical expression parts, can you build a question asking for an example of something?" Yeah, if you come to the advanced session next week, I'll talk about the custom marking algorithms feature, which lets you change how answers are marked.

1:32:31

The graphical editor gives you a load of options, but there's always going to be stuff you want to do that wasn't foreseen by me.

1:32:40

OK, right, so I think I'll stop my slide - actually, I'll skip to the end there, just remind you of some addresses and things.

1:32:48

So you can go to the Numbas website.

1:32:53

We're always happy to receive emails through the Numbas email address.

1:32:57

Don't count on a quick response, but don't worry about wasting our time because so many of the features in Numbas have come about from people asking questions outside Newcastle.

1:33:07

I'm always happy to help support use of Numbas elsewhere.

1:33:12

OK, so I've turned my screen share off.

1:33:16

I think I'll take questions now if there's anything else that you want me to take a look at.

1:33:25

One of the problems with Zoom is I can't see who's typing, so I could either sit here in silence indefinitely or someone could say something.

1:33:44

Alright, OK.

1:33:53

So Vivien asks, "What are the challenges using Numbas for summative assessment?" So the main challenge is what you can assess.

1:34:18

Everything has to be marked automatically, there's no feature to go back in and manually mark parts of a student's exam.

1:34:27

So for pure maths that limits what you can ask, you can't ask the student to write a proof.

1:34:32

For other subjects, you can't ask the student to write a long text answer like an essay or something justifying their answer.

1:34:43

So that's something to bear in mind.

1:34:49

For cases where everything can be marked automatically and fairly, so these kind of service courses, lots of math but the way they've traditionally been assessed is that there is a right answer.

1:35:03

For those you need to think about robustness of your questions.

1:35:13

If something is done in a high stakes environment where students don't get immediate feedback, you really need there to not be any errors in your way of setting things up.

1:35:24

The conditions under which students can cheat, you need to think about.

1:35:32

With all our students being at home, I think that made people more willing to be pragmatic in the way that we traditionally have at Newcastle.

1:35:41

You have to accept that students are going to have a friend that they can talk to, all those things that aren't relevant, aren't particular to electronic assessment.

1:35:55

Even if students were doing their exams on paper they would be able to do those things, but a lock down browser is an absolute must for Numbas, because otherwise a student who knew what they were doing could access everything.

1:36:10

So yeah, I think that's it.

1:36:18

You have to test your questions very well.

1:36:23

You need to think very hard about alternative forms students could enter their answers because you don't have that sort of feedback loop of the students saying "I got this wrong, it should be marked." Otherwise you'll have to go back and manually fix the marks for a lot of things.

1:36:38

I don't know, Vivien, if you joined halfway through, I talked about some options for a lock down browser earlier on.

1:36:54

At Newcastle we have a license for Respondus, which is set up to work through our Blackboard and we can't really use.

1:37:04

We wrote - I wrote - George wrote a separate app just for Numbas, but there's an open source tool called safe exam browser which is perfectly acceptable and is used very widely.

1:37:20

Completely on the level with the commercial offerings, I think.

1:37:25

And what that does is it launches the test, it provides some kind of secret key to the server so that the server doesn't let in anybody with a normal browser, launches the test and doesn't give a student access to developer tools where they could inspect the code of the Numbas software.

1:37:45

Suzanne Anderson, asking about students losing connection.

1:37:52

So it depends on how the test is being delivered.

1:37:58

Stand alone tests, where the students are going to email you their transcript at the end, it runs completely on their client, so nothing can go missing unless the computer breaks entirely.

1:38:14

For SCORM, which I'd only recommend using through Moodle.

1:38:18

It does save the data as student goes.

1:38:23

So if the connection breaks, or the computer crashes, they can go back in and resume from whatever was last saved to the server.

1:38:31

But if your internet connection goes down, then you might carry on filling in answers before you realize that and that stuff hasn't been saved to the server.

1:38:43

What the Numbas LTI tool does is it also saves to the device's local storage, so as long as you open the attempt again on the same device, it will resume from wherever you last were.

1:38:58

Either what's on the server or what's saved on the device, which ever was the latest version of the data, so really data won't go missing, using the LTI tool.

1:39:12

And that was very heavily tested over the past few years we've been using it in Newcastle, and particularly in the recent exam period.

1:39:19

OK.

1:39:21

I'll continue waiting for more questions.

1:39:27

I'll try and think about what else I can show you, if anybody else has anymore.

1:39:32

We've got a little bit longer in the timetabled activity, let's skip back and see what did I miss from the documentation.

1:39:41

I didn't talk about LaTeX, I can do that, and I didn't talk about the question planning, which I think is good general advice, so I'll I'll go back into screen share and do that unless a question has popped up.

1:39:59

So.

1:40:01

You probably spotted some mathematical notation throughout some of these questions.

1:40:13

Numbas uses LaTeX to represent mathematical notation.

1:40:16

It's very widely used in maths and the sciences.

1:40:20

If you don't know it already, it's not too hard to pick up.

1:40:25

And there's some links in the documentation to good places to learn LaTeX.

1:40:36

The way it works is you write dollar signs and inside that you have some LaTeX code.

1:40:42

Here in the other - I'll just zoom that in a bit.

1:40:46

I've got a preview of what I've written. There we go.

1:40:52

Now there's a problem with substituting random variables into LaTeX.

1:41:00

Actually, let's set up a couple of variables first.

1:41:03

Call A, random number between minus five and five.

1:41:12

B, again a random number between minus five and five.

1:41:20

Oops, just clicked the stop share button.

1:41:23

Just wanted to make sure I had the chat window open still.

1:41:27

Right. Right, so I'll go back to this part, right?

1:41:31

So there's a command called slash var, which substitutes a variable in in place without looking at context.

1:41:43

So here we go.

1:41:46

The value of a is five. I might want to say, a times x plus b times y, something like that.

1:41:56

The problem here is, what if these values are negative?

1:42:03

I've got lucky straight away.

1:42:06

So that minus two was just subbed in place, which is no good because it has a plus sign right next to it.

1:42:13

If you'd been writing this, you would have written five X minus two Y.

1:42:20

So you really need to know some context about where things are being substituted in.

1:42:27

Which is why there's a separate command called simplify.

1:42:34

Which. Simplify is not a word you should ever use with a student, I don't think.

1:42:42

It's really ambiguous.

1:42:44

In different contexts, simplify means different things.

1:42:48

Here, indeed it can mean different things and I'll show you.

1:42:54

So you write simplify, have some curly braces containing things, and then you write a JME Expression because the system needs to interpret it as a mathematical expression, as a tree of operations, and then do some stuff to it to work out how to draw it as LaTeX which then gets rendered in the page.

1:43:13

So here we go.

1:43:16

It's noticed that it's got a plus and a minus and instead just written a minus sign.

1:43:23

So that's how you substitute variables into LaTeX.

1:43:36

Now there's another wrinkle here about what simplify means.

1:43:41

Suppose I've just got two numbers that I'm adding up.

1:43:43

By default, simplify applies a rule that says if you see two constants collect them together, sort of gather things up.

1:43:54

It tries to apply simplification rules to make an expression look more natural.

1:44:02

In this context, I don't want to do that because I want to show those two numbers separately.

1:44:07

So it's configurable, which I could do with some square brackets - and all these rules are listed in the documentation.

1:44:14

So when I do this I have to go off and look at the documentation to work out which rules I want to turn on and off.

1:44:22

So here with just the basic rules that make sure you get something that's valid notation, so like never have a plus and minus next to each other, but otherwise don't mess with stuff.

1:44:32

Here I get five minus two.

1:44:35

I can regenerate and see that it makes nice choices.

1:44:42

OK, I've got a question from - sorry, I don't know how to pronounce Polish names - Maciej.

1:44:52

"How do you get explore mode?" You have to make that choice when you create the question.

1:44:58

Because explore mode works so differently to the list of parts mode, it's not possible to switch between them on the fly.

1:45:06

So I go to create a question and then parts mode I'll pick explore.

1:45:11

Right, what else did I say?

1:45:16

I haven't looked at documentation on how to plan a question.

1:45:22

Question writing is a skill. Writing questions that can be marked automatically, there are lots of things you have to bear in mind, and then writing questions that could be randomized is even harder.

1:45:37

You certainly develop that skill as you do it more and more.

1:45:40

We've collected some guidelines in this document.

1:45:47

We wrote this for our student interns because the students were writing questions that, the prompts that they get the student didn't give them enough information or relied on some conventions that weren't obvious, or the marking was set up in a way that it was impossible to submit a wrong answer or there were certain correct forms of answer that weren't accepted so we sort of wrote this down to remind them they have to think about all of these things.

1:46:22

So.

1:46:24

The general idea is: First of all, before you even come into the Numbas editor, think about what you want to assess.

1:46:34

Don't think, "I want to question on this chapter of the course." Think about exactly what particular thing you need to assess whether the student can do.

1:46:41

So the example I give to start with is, "complex numbers" is not a thing you're assessing.

1:46:50

"Recall the definition of complex conjugate and find the conjugate of a given number" is a thing that you can assess.

1:46:56

The student can either do that or not.

1:47:01

And it says "make this the title of the question".

1:47:04

The way that we organize stuff in the editor is the title of the question says what the student needs to do.

1:47:11

So if we need a question on that we can find it again.

1:47:13

My predecessor at Newcastle gave question titles like MAS106 question 3 which is no use to anybody.

1:47:25

I mean, it tells you which module it's in and where it appears in the exam, but other than that, no use at all.

1:47:36

So think about what you want to assess, and then think what will you ask the student to do in order to assess that?

1:47:45

So will they have to perform a calculation, and give you the results?

1:47:50

Will they have to give you an example of something?

1:47:54

Will they have to make a decision?

1:47:56

So quite often a statistics questions end with, is there a significant difference?

1:48:05

That kind of thing. Or they might have to identify something.

1:48:09

You might give them a load of data or a lot of text and they have to pick out, and have to interpret it, and demonstrate their reading comprehension.

1:48:18

So you might ask a student to do several of these things at once.

1:48:22

So once you've thought about what you want student to do, then think, what could they do to get it wrong?

1:48:33

This came up surprisingly often writing these recent exams, that a lecturer would set a question, they hadn't thought about what a student would do wrong.

1:48:47

So that the marking scheme that they suggested would make it possible for a student who's understood nothing to get half the marks or make it so that you couldn't submit something that we thought was a reasonable attempt at an answer, but the way they'd set it up Numbas would say this is completely invalid.

1:49:14

You have to think about that.

1:49:17

So for example here I've got Differentiating cos of two X.

1:49:24

There's a whole lot of different things a student could do wrong.

1:49:28

Some of them you might want to get partial marks for, like forgetting a minus sign, forgetting to apply the chain rule.

1:49:37

You might want to give some specific feedback there.

1:49:40

They might do things in the wrong direction, so you might integrate instead of differentiate.

1:49:46

Or you might make a typo and that last one you probably want to prevent the student from submitting their answer, because that's not what they meant.

1:49:55

There's a separation between whether the student's answer is a valid answer, meaning it's the kind of thing you're expecting, and whether it's correct.

1:50:08

And you should prevent the student from submitting invalid answers, but allow them to submit reasonable incorrect answers.

1:50:15

But don't get too far into this because trying to think about every possible error and programming that in individually is a huge time outlay on your part and often not much more benefit to the student than just getting a tick or a cross and going, "Yeah, I know what I did wrong." So once you decide all these things, think about the structure of the question.

1:50:40

Implement it in Numbas. Don't randomize it at first.

1:50:44

It's easy to get really bogged down in working how to randomize a question before you've even got anything working.

1:50:55

And in fact, something might come up once you've made a static version of a question that you see which bits are easier to randomize.

1:51:02

Something I haven't mentioned here, which I used to give in these demos, is a really good technique for randomizing questions.

1:51:10

For example, if we've got a quadratic, you might give the student a quadratic of the form A X squared plus B X plus C, ask them to factorize it.

1:51:19

You might think, "I'll randomize the values A, B and C and then workout what the roots are." The problem you have then is, you very rarely get nice roots.

1:51:30

You maybe want the roots to be whole numbers.

1:51:34

Certainly not complex numbers.

1:51:39

Doing it backwards, starting from the answer, so let's randomly pick the answers and then work out what quadratic to show to the student, is a much easier way of doing it.

1:51:46

So working backwards from the answers is a good technique for randomization.

1:51:54

And then finally, make sure you've given the student all the information they need.

1:52:05

I mean, you've thought hard about how to design the question, so you might forget to mention that variable X is positive, or you might forget to tell them exactly what form they need to enter their answer in.

1:52:19

It's possible to do very badly on this, and the question that you can work through and answer and do the correct answer and the incorrect answer and you think it's fine, but someone else looks at it has no idea what to do.

1:52:32

This is something that's really worth having someone else looking at a question for.

1:52:38

And then finally randomization.

1:52:39

And then - I can't remember if that's a deliberate mistake, saying proofread and I've missed off the P.

1:52:49

Let's call that a deliberate mistake. Yeah, so I haven't talked about the admin bits here or how to publish stuff.

1:53:00

So in the settings tab there's a description field which appears when you search for questions.

1:53:03

So you can describe what the question's for, what the student has to do, maybe which bits of the course it links to.

1:53:14

I've got some tips here on what you should put in.

1:53:17

You can tag things to make them easier to find.

1:53:24

Select a licence if you're going to publish it. You need to say under what terms other people can reuse it.

1:53:28

There's a load of Creative Commons options.

1:53:31

All rights reserved, you probably don't want to be publishing stuff if you think it's all rights reserved.

1:53:38

And then there's some taxonomies which you can use, although they're not very widely used, but if you're committed to tagging things properly you could really make use of that.

1:53:52

If I need to publish things, actually that's already been published.

1:53:57

Let's go over here.

1:54:00

Access. This is my thing. So I've got a check list of stuff that I should probably do before I publish.

1:54:03

This question does not have a statement at the moment, I've done some parts and variables.

1:54:11

These are sort of optional. Name, fill out the description I haven't done yet, and I haven't picked a license yet.

1:54:20

Once I've done that it'll suggest to me that I can publish it.

1:54:22

At the moment I can override if I'm really sure.

1:54:26

And you can grant individual access to things without publishing them by a couple of links here.

1:54:32

Or you can type in somebody's name to give them access through the editor if they've already got an account.

1:54:39

Chris Graham - there's two Chris Grahams there.

1:54:42

Chris was granted access. Let's remove that just in case it's the wrong one.

1:54:46

Yeah, so.

1:54:51

Right, I think that's probably all I want to say now and now we're coming up to the two hour mark, so I think we'll stop there.

1:55:00

Thank you all for coming along.

1:55:05

We are running an advanced session next week for people who've already got quite a bit of experience using Numbas.

1:55:15

I'll be going through some of the more complicated parts, taking questions from people there, so you might want to come along and watch that.

1:55:23

Otherwise, I hope that was helpful.

1:55:28

Have fun using Numbas. We're always available through the Numbas email address or the users group.