Adding calculator to a quiz question - Yep. Moodle does that!

Adding calculator to a quiz question - Yep. Moodle does that!

by Chris Kenniburg -
Number of replies: 8
Picture of Particularly helpful Moodlers Picture of Plugin developers

Do you have a question that might require a tool to complete like a calculator?  Embed the tool right in the question!  We have a teacher doing just that and more with Moodle.

http://iblog.dearbornschools.org/techcoaches/2016/02/09/transforming-assessment-with-ilearn-moodle/

It's a unique way to use embeddable widgets for sure.

Average of ratings: Useful (1)
In reply to Chris Kenniburg

Re: Adding calculator to a quiz question - Yep. Moodle does that!

by Chris Megahan -
Picture of Core developers

Great idea! I wonder what the embed code looks like. Perhaps something like this could be implemented one time as a block thats added the quiz so the code doe not need to be inserted into every question. I may explore that. Good to see teachers implementing creative solutions!

In reply to Chris Megahan

Re: Adding calculator to a quiz question - Yep. Moodle does that!

by Chris Kenniburg -
Picture of Particularly helpful Moodlers Picture of Plugin developers
Here is the first video in a new series we are launching called "Yep.  Moodle Does That!" .  It covers this unique embedding in quizzes.



Average of ratings: Useful (2)
In reply to Chris Kenniburg

Re: Adding calculator to a quiz question - Yep. Moodle does that!

by Christopher Blake -

If you would like to embed a calculator NOT requiring flash to work (for use on iPads etc.) here is a html/jscript embed code to use:

<iframe width="320" height="390" src="http://web2.0calc.com/widgets/minimal/?options=%7B%22angular%22%3A%22deg%22%2C%22options%22%3A%22hide%22%2C%22menu%22%3A%22show%22%7D" scrolling="no" style="border: 1px solid silver; "> 

</iframe>

<br />

<a href="http://web2.0calc.com/">Web 2.0 scientific calculator</a>


In reply to Christopher Blake

Re: Adding calculator to a quiz question - Yep. Moodle does that!

by Christopher Blake -

As I started using the tool posted above I was disappointed with it so ...I wrote a fully stand-alone jscript calculator which you can build into your site and link it to test questions where needed. The attached zip file needs to be unzipped in a public web site folder for your-hosted-domain (such as http://jsomtc.org) and then the calculator will be available on a page called your-hosted-domain/calculator.html ( http://jsomtc.org/calculator.html )

In your test question plug the calculator into the Question area using the code button (< >) on the TinyMCE editor and insert this iframe:

<iframe src="your-hosted-domain/calculator.html" style="border:0px #FFFFFF none;" name="calculator" scrolling="no" frameborder="0" marginheight="0px" marginwidth="0px" height="300px" width="300px"></iframe>

Don't forget to change the iframe source FROM "your-hosted-domain" to whatever your domain is

This calculator supports keyboard number pad including symbols (*-+/=) and works without the need for flash or an externally hosted solution which might break if the tools is moved or changed. You have full control of your calculator and can even change the look of the calculator by modifying the css component.

That is it. I'm going to start using it next week on a few exams we have scheduled which happen to be calculator active exams.

In reply to Christopher Blake

Re: Adding calculator to a quiz question - Yep. Moodle does that!

by Christopher Blake -

Found an error I wrote in the division calculation array this zip archive has the corrected files. Sorry for the mistake

In reply to Christopher Blake

Re: Adding calculator to a quiz question - Yep. Moodle does that!

by AL Rachels -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Hi Christopher,

Thanks for the calculator.

By chance, do you have the Generico Filter installed? For anyone who does, you can make it simpler to add the calculator anywhere you can edit in Moodle.

Instead of having to keep track of a copy of the iframe stuff listed in your previous post, Generico can do that for you. Then it becomes three simple clicks (click the Generico toolbutton, click the calculator filter option, then click Insert) to add your calculator wherever you need it.

Recently, Justin Hunt modified the Generico Filter add-on to make it very easy to exchange filter templates. There a number of them (post-it, flow chart, prettify, countdown, etc) available in this forum post: https://moodle.org/mod/forum/discuss.php?d=324771#p1317587

To make a Generico filter for your calculator all you need is to have your calculator code somewhere, a template name, and the code to go into a template body as shown in the photo and the attached filter bundle.

Average of ratings: Useful (1)
In reply to AL Rachels

Re: Adding calculator to a quiz question - Yep. Moodle does that!

by Chris Kenniburg -
Picture of Particularly helpful Moodlers Picture of Plugin developers

Thanks for the gerico filter.  I am going to check that out.  Seems to be a lot easier to share things like this site wide.

In reply to Chris Kenniburg

Re: Adding calculator to a quiz question - Yep. Moodle does that!

by AL Rachels -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Hi Chris,

The Generico Filter definitely makes it easier to share items like your calculator site wide and with the new "Bundle" capability that Justin added a few weeks ago, now you can share world wide. As I mentioned above, if you go to the forum link I included there are a number of nice filter bundles available, already.