Moodle Plugins directory: Lewis Structures | Moodle.org
Lewis Structures
Question types ::: qtype_easyolewis
Maintained by
Carl LeBlond
Part of set EasyOChem.
The Lewis structure question type allows teachers to design problems in which students must assign formal charges or add lone pair electrons/radicals to atoms in molecules. This question type requires Marvin Applets by Chemaxon.
Latest release:
11 sites
1 downloads
5 fans
Current versions available: 1
Overview
This software is no longer maintained and has been superseded by the OpenOChem LTI Assessment System.
With this question type the instructor draws valid Lewis structures with all lone pairs and charges for a molecule. The student is presented with the structure stripped of lone pairs or formal charge, and they must add correct number of lone pairs/radicals or charges to any atoms.. Note: This plugin requires Marvin Applets from Chemaxon
You can ask questions such as;
- Add the formal charges to any atoms requiring it in the following structure?
- Show all lone pair or radical electrons required to satisfy the charge on any atoms in the following molecule?
License
This plugin adopts the same license that Moodle does. The Marvin Applets are free for academic purposes.
Authors
This plugin was developed at the Indiana University of Pennsylvania (IUP). Neither IUP or Carl LeBlond are affiliated with Chemaxon.
Requirements
This plugin requires Marvin Applets from Chemaxon which can be downloaded here. Download the full package and install it at your web servers root directory.
Examples
Example questions are provided as a Moodle xml file in the examples folder. (coming soon)
Contributors
Carl LeBlond (Lead maintainer)
Please login to view contributors details and/or to contact them
Many thanks for sharing this plugin with the Moodle community.
I was successfully able to install the plugin and it appears to function as expected. I am going to go ahead and approve this plugin.
It is encouraged to follow Moodle's coding style as outlined in:
http://docs.moodle.org/dev/Coding_style
http://docs.moodle.org/dev/Coding
Tthe code checker plugin can be quite helpful in fine tuning your code and can be found at:
https://moodle.org/plugins/view.php?plugin=local_codechecker
You may wish to consider using that tool to further improve your plugin. Below, are the initial results:
question/type/easyolewis/lib.php - 1 error(s) and 0 warning(s)
question/type/easyolewis/renderer.php - 3 error(s) and 4 warning(s)
question/type/easyolewis/easyolewis_script.js - 68 error(s) and 0 warning(s)
question/type/easyolewis/question.php - 1 error(s) and 0 warning(s)
question/type/easyolewis/lang/en/qtype_easyolewis.php - 1 error(s) and 0 warning(s)
question/type/easyolewis/backup/moodle2/backup_qtype_easyolewis_plugin.class.php - 1 error(s) and 0 warning(s)
question/type/easyolewis/backup/moodle2/restore_qtype_easyolewis_plugin.class.php - 1 error(s) and 0 warning(s)
question/type/easyolewis/backup/moodle1/lib.php - 1 error(s) and 0 warning(s)
question/type/easyolewis/db/upgradelib.php - 1 error(s) and 0 warning(s)
question/type/easyolewis/version.php - 1 error(s) and 0 warning(s)
question/type/easyolewis/module.js - 1481 error(s) and 0 warning(s)
question/type/easyolewis/edit_easyolewis_form.php - 1 error(s) and 0 warning(s)
question/type/easyolewis/easyolewis_styles.css - 1 error(s) and 0 warning(s)
question/type/easyolewis/questiontype.php - 1 error(s) and 0 warning(s)
question/type/easyolewis/README.txt
Total: 1563 error(s) and 4 warning(s)
Peace - Anthony