Including a (GeoGebra) calculator from Numbas + Safe Exam Browser

67 views
Skip to first unread message

Alexander Holvoet

unread,
Nov 8, 2023, 11:50:54 AM11/8/23
to Numbas Users
Dear all

We are currently organising BYOD-exams with Safe Exam Browser and Numbas. At the moment, students can use their graphing calculator at the same time. I am looking for a cheating-proof way to include a digital graphing calculator, hopefully GeoGebra.

Any experiences on this topic?

I would love to recreate the functionality shown here within Numbas with a button. So far I have been able to glue together a Numbas question where an empty GeoGebra applet is loaded within the page for the student to use you can find here. Note: I don't know javascript; just followed a combination of several GeoGebra tutorials and the Numbas docs.

Looking forward to your responses,
Alexander

Alexander Holvoet

unread,
Nov 8, 2023, 11:55:16 AM11/8/23
to numbas...@googlegroups.com
I have a feeling https://github.com/numbas/numbas-extension-geogebra#creategeogebraappletoptionsreplacementspartsquestion could be used with very little coding, but I don't know enough about it to understand the explanation in the documentation.

Op wo 8 nov 2023 om 17:50 schreef Alexander Holvoet <alexander...@gmail.com>:
--
You received this message because you are subscribed to a topic in the Google Groups "Numbas Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/numbas-users/gjbPkhzLDzQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to numbas-users...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/numbas-users/79ff0b5c-a999-40b2-9aa3-85dcde0fe2ecn%40googlegroups.com.

Christian Lawson-Perfect

unread,
Nov 9, 2023, 8:56:39 AM11/9/23
to numbas...@googlegroups.com
Yes, the geogebra extension can be used to do this. At the moment there aren't any functions for changing which bits of the interface should be displayed, so you have to write a bit more JavaScript code to do that.
I've made a question at https://numbas.mathcentre.ac.uk/question/149504/geogebra-calculator/ showing two geogebra applets hidden behind a <details> element that you can click to open. The first is GeoGebra's CAS view, which can be used as a calculator, and the second is the classic "graphing" view with algebra and geometry views.

There are some user interface considerations with this: ideally, the student would be able to interact with a calculator while looking at any part of the question. The GeoGebra example you linked to tries to achieve that by making the calculator appear in a draggable modal, but I don't think this would work particularly well with long questions where you'd have to drag the calculator along with you when you scroll down. It would be nice if it could follow you automatically or be in a fixed part of the screen, but I think that would require a custom theme, to change the layout of the question content and leave space to the side for the calculator on wide viewports.

I actually spent a couple of days a while ago wrapping up the GeoGebra API as a custom HTML element and making all the methods easier to use (https://somethingorotherwhatever.com/geogebra-component/ if you're interested), but I haven't got round to using it with the Numbas GeoGebra extension yet.

You received this message because you are subscribed to the Google Groups "Numbas Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to numbas-users...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/numbas-users/CAJTZJYsjnn79gG6HmpcE%2B%3DLrK-k3Oo7BrWPw7epDdvRUh1y6zQ%40mail.gmail.com.

Alexander Holvoet

unread,
Nov 13, 2023, 8:29:23 AM11/13/23
to Numbas Users
Dear Christian

Thank you for your extensive response! And thank you for the example question; this is definitely already a proof of concept for my colleagues.

About restricting what's visible for an exam: https://wiki.geogebra.org/en/Reference:GeoGebra_App_Parameters provides also enable3d and enableCAS itself, though i didn't check if you can pass these on in ggb_applet().

For the popup: as we are using Safe Exam Browser, I was hoping SEB would understand the draggable popup as a new tab, which can be easily accessed via the bottom left SEB icon, but unfortunately it didn't understand it this way. However, I have also talked to CTO of GeoGebra mentioning there's no general solution to use a BYOD-laptop with GeoGebra as calculator during a paper exam. In my talk with the CTO (Michael Borcherds) he mentioned there might be an exam.geogebra.org coming where appending different parameters could modify what functions are available, like enable3d, graphing, ... This could easily be added to SEB without Numbas, but also with Numbas as a simple link which opens in a new tab. I will forward this discussion to GeoGebra, in case they find it interesting.

Kind regards,
Alexander

Op donderdag 9 november 2023 om 14:56:39 UTC+1 schreef christia...@gmail.com:
Reply all
Reply to author
Forward
0 new messages