PhET simulations in quiz: Difference between revisions
m (expanded a bit the info) |
(Added ==Embedding a simulation in a quiz==) |
||
Line 8: | Line 8: | ||
* However, editing the URL in the embed code to be https, then it worked. | * However, editing the URL in the embed code to be https, then it worked. | ||
==Embedding a | ==Embedding a simulation in a quiz== | ||
You can either: | |||
* have the students first interact with the simulation embedded in a [[Page]] (see below) and take a quiz later. | |||
* embed the simulation in a [[Question_types#Description|description question type]] (see below) prior to asking the relevant questions with the usual [[Question types|question types]]. | |||
==Embedding a PhET simulation in a Moodle Page== | |||
It is quite easy to insert the HTML5 code into a Moodle [[Page]]. Just remember to activate the <> button in the [[Text editor]]. | It is quite easy to insert the HTML5 code into a Moodle [[Page]]. Just remember to activate the <> button in the [[Text editor]]. | ||
Revision as of 00:51, 18 June 2015
PhET is a site for interactive simulations for science (physics, biology, chemistry, Earth sciences) and Math at elementary, middle school, high school and University levels, from the University of Colorado at Boulder, USA, that provides fun, free, interactive, research-based science and mathematics simulations. The simulations are written in Java, Flash or HTML5, and can be run online or downloaded to your computer. All simulations are open source.
Can you embed PhET code in the Moodle Quiz?
According to this post, Tim Hunt tried this (with the balancing act SIM), with these results:
- At first it did not work, because his test Moodle site is running on https, and the embed code has http://, so it gets blocked by browser security settings.
- However, editing the URL in the embed code to be https, then it worked.
Embedding a simulation in a quiz
You can either:
- have the students first interact with the simulation embedded in a Page (see below) and take a quiz later.
- embed the simulation in a description question type (see below) prior to asking the relevant questions with the usual question types.
Embedding a PhET simulation in a Moodle Page
It is quite easy to insert the HTML5 code into a Moodle Page. Just remember to activate the <> button in the Text editor.
Embedding a PhET simulation in a Moodle question
It is quite easy to insert the HTML5 code into a Moodle description question type. Just remember to activate the <> button in the Text editor.
When you click the 'Save changes' button, the simulation code will be saved and you can see the preview when you edit the question: