150 likes | 169 Views
A technical perspective: Using GeoGebra from within other Java applications Wim van Velthoven. A technical perspective: Using GeoGebra from within other Java applications. Introduction The DME and authoring tool Parameters Save and Restore Testing pupil ’ s work Conclusion.
E N D
A technical perspective: Using GeoGebra from within other Java applications Wim van Velthoven
A technical perspective: Using GeoGebra from within other Java applications • Introduction • The DME and authoring tool • Parameters • Save and Restore • Testing pupil’s work • Conclusion
Introduction • Who am I • Freudenthal Institute
DME • Digital Mathematics Environment • Web based playground for students • Exploring with mathematical tools • Practicing mathematical skills • Testing and assessment • Contains many different applets
DME as playground • Applets allow students to continue where they left off. The environment is saved and restored • Educational designers and teachers at schools are allowed to modify the applets to their needs
The authoring tool • Editing mode for designers and teachers • Student mode, the player • Contains several tools, e.g. equation editors with mathematical meaning, graphing tools • Contains GeoGebra as a tool, that can be configured by authors.
GeoGebra as a tool • GeoGebra is written as a JApplet • Interfaces through AppletStub en init(), start(), stop(), destroy() sequence • Has a API to save/restore, request variables, set parameters, etc.
Problems to consider • Geogebra starts with a push on a button • How to set parameters • How to save and restore everything • How to get information in and out GeoGebra to grade student’s work
GeogebraPanel • GeogebraPanel is a new interface to GeoGebra especially for cases like this. • Why not?
Save and Restore • In EDIT mode save and restore the author’s work. • In PLAY mode save and restore the student’s work • GeoGebra has • setXML and getXML • getGGBfile but setGGBFile is missing
setGGBfile • Most elegant: • Implement a setGGBfile(byte[] data) • Less elegant • Extend openFile with base64:// urn • Not possible • Use ggbBase64 applet parameter (init time only)
Testing student’s work • The authoring tool allows randomization and scoring of students work. • GeoGebra interfaces to variables • getValue, setValue, getAllObjectNames • So we can • Check for existence of objects • Check for ‘equality’ with other objects
Conclusion • Any questions?
Summary • At the Freudenthal Institute instances of the GeoGebra applet are used as customizable interactive components within digital learning activities. The surrounding learning activity is also implemented in Java, so the GeoGebra applet is used as component within another Java-applet/application. • Because the learningactivities are generated by an (also Java-based) authoring tool, the situation is even more complex. On the hand the learning activities can be executed in student mode. In this mode the state of the learning activity (including the state of the used components) can be saved and restored. Moreover, the student task that are implemented in the different components should be gradable. On the other hand the learning activitities can be executed in edit-mode and being customized by a teacher or educational designer. • To make these features possible, we make use of the rich interfacing options that GeoGebra offer. Interfacing GeoGebra with another applet was in general possible, but showed a few shortcomings. I will present our approach and want to discusse some enhancements we made to be able to use GeoGebra in this way.