Your Moodle version

Question types: Lewis Structures

qtype_easyolewis
Maintained by Picture of Carl LeBlond Carl LeBlond
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.
637
Moodle 2.3, 2.4, 2.5, 2.6

Overview

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)

Sets

This plugin is part of set EasyOChem.

Screenshots

Screenshot
Screenshot

Contributors

Picture of Carl LeBlond
Carl LeBlond (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Anthony Borrow
    Wed, Apr 9, 2014, 9:53 AM
    Carl,

    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
  • Anthony Borrow
    Wed, Apr 9, 2014, 9:55 AM
    p.s. - It seems that it would be helpful to create a set of plugins that are related to the marvin app. Would you mind thinking up the name of that set and a short description?
  • Picture of Carl LeBlond
    Thu, Apr 17, 2014, 4:09 AM
    I'm still thinking about a name for this set. Would it be OK to include all my question types (not just Marvin based) into a set?
Please login to post comments