Concept Map question type

Concept Map question type

by Jorge Villalon -
Number of replies: 36

Hello everyone!

I just wanted to share with you a new question type I developed for an experiment at my uni. I'm doing a Ph.D. on technology applied to education and I'm using Concept Mapping techniques. I developed a Concept Map question type, that allows teachers to create Concept Map questions, which are basically questions for which a Concept Map is the answer. They are manually graded and a web based Concept Map editor is included for students to answer. The editor includes undo-redo and it is very straightforward to use as it is based only on double clicking on the map to create concepts and drag and drop concepts on top of each other to create relationships.

The question type should work on Moodle 1.9+ however I have only tested it on Moodle 2.0 so I can't guarantee it will work on older versions.

Installation instructions are included in a README file in the attached zip. You can download the plugin from this link.

Average of ratings;Useful (2)
In reply to Jorge Villalon

Re: Concept Map question type

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

I would be very surprised if any question type could be made to work with both 1.9 and 2.0, so it probably only works with 2.0.

You may wish to add your question type to the modules and plugins databasehttp://moodle.org/mod/data/view.php?id=6009. See Development:Guidelines_for_contributed_code for more information.

For the benefit of the lazy (including me) would you like to show us some screen-shots. Thanks.

In reply to Tim Hunt

Re: Concept Map question type

by Jorge Villalon -
Hi Tim. I already added it to the plugins database, including a screenshot as it is suggested. I think i followed most of the guiding lines, however most of the code is javascript compiled from GWT. Once the plugin is activated I'll continue updating it for bugs and improvements. Cheers, Jorge
In reply to Jorge Villalon

Re: Concept Map question type

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Hi Jorge,

Just tried your Concept Map question type on moodle 2.0. Filling the map as student works fine. However, when reviewing the submission either as student or teacher, one sees an empty map, which means teacher cannot view map and of course cannot grade it. Maybe you have not quite finished your programmation?

Joseph

In reply to Joseph Rézeau

Re: Concept Map question type

by Jorge Villalon -
Hi Jospeh. Thanks for trying it out. I must have brooken something because it was working before uploading it. I'll double check that, do you have any other comments on the interface for creating the maps? Cheers, Jorge
In reply to Jorge Villalon

Re: Concept Map question type

by Jorge Villalon -

Hi Joseph.

Thanks for finding the bug, I already fixed it. I was just adding the history to the student's answer. For undo-redo and teacher's ability to replay the Concept Mapping process.

I uploaded a new version in the same link.

Cheers,

Jorge

In reply to Jorge Villalon

Re: Concept Map question type

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Jorge,

It's working OK now, thanks.

Some remarks:

  1. "Add relationships by dragging one concept on top of another." It would be more intuitive to drag an arrow from one concept to another.
  2. When "Adding relationship" popup window is displayed, the focus should be inside the input box (as when adding concepts).
  3. It would help potential users if you provided some concrete examples (or links to websites) of concept maps (see next point).
  4. You should create a page in the documentation here: http://docs.moodle.org/en/question/type/conceptmap
  5. Attached French translation of language strings.
  6. You should provide localization for the online Help when drawing the map itself.
  7. There seem to exist fairly large cache files in your conceptmap\cmapweb\cmapweb\ folder. How are they purged?

Joseph

Average of ratings;Useful (1)
In reply to Joseph Rézeau

Re: Concept Map question type

by Jorge Villalon -

Wow! Thanks heaps Joseph for all your help. Regarding your remarks:

1. I love the idea, however I need to distinguish between dragging and dropping for moving a concept, and dragging and dropping for creating a relationship. And I can't know in advance what the user wants to do. My original interface had a button to activate an "add relationship" mode, however it was pretty tiring to go back and forth from the map to the button. Do you think an external button would be better?

2. I'll fix this, thanks for reporting.

3 and 4. Sure, I will definitely create the page and provide a link from the online help.

5. Thanks heaps for the french translation, I already did the spanish one, now I need to link it to the Moodle variable (I'm still trying to find it) that holds the current language (or locale).

6. As I mentioned in 5 I did, now I need to link it to the Moodle settings.

7. The caches seem large but it is not like that. What GWT does is to create a copy of the whole interface for each implemented Locale, at them moment it has spanish and english so the real implementation has half the size (french will add a 50% more space). The reason for this is to improve performance and save space at the browser level, because only one of the implementations is sent (the one corresponding to the locale).

Well, thanks again and I'll let you know as soon as I have fixed this and added french.

Cheers,

Jorge

In reply to Jorge Villalon

Re: Concept Map question type

by Jorge Villalon -

Here are the files in English and Spanish for the online interface. If you can help me on the French version I will add it right away.

In reply to Jorge Villalon

Re: Concept Map question type

by Martha M -

Hi Jorge,

I downloaded the file and I have the same issue Joseph had.

Everytime I click on submit the map disappears and neither student or teacher can see it. Do you have an idea about why this is happening? or what I can do to fix it?

Gracias smile

Martha

In reply to Jorge Villalon

Re: Concept Map question type

by simin noori -

Hi! Jorge

download link does'nt work,  and I can not find this plugin in Modules and Plugins database too! I want to try it, Please

Simin

In reply to simin noori

Re: Concept Map question type

by Yvonne Schneider -

I want to use it too and download link is still broken. Does anyone has the package already and can upload it here in the forum?

 

Thanks a lot

In reply to Yvonne Schneider

missing link

by david bodily -

yes, i would also like this block to test . . . and it's not at the end of the download links. 

In reply to Jorge Villalon

Re: Concept Map question type

by Luke Burton -

I am testing Moodle 2.0.3 (Build: 20110505) and have installed your Concept Map question type.  I can create a Concept Map question, add it to a quiz, a student can create a map in the quiz adn submit it, but when the instructor views the quiz results, they see a blank grid rather than the student's work.  What am I doing wrong?

In reply to Luke Burton

Re: Concept Map question type

by Jeff Mehring -

Same problem as Luke. Any ideas? You seemed to fix it when Joseph asked earlier. Have changes been made since?

In reply to Jorge Villalon

Re: Concept Map question type

by Andrew Chambers -

This isn't working for me. I keep getting a "Plugin "mod_conceptmap" is defective or outdated, can not continue, sorry." I am using 2.1 

More details:

Debug info: Missing version value in version.php
Stack trace:
  • line 458 of \lib\upgradelib.php: plugin_defective_exception thrown
  • line 265 of \lib\upgradelib.php: call to upgrade_plugins_modules()
  • line 1460 of \lib\upgradelib.php: call to upgrade_plugins()
  • line 317 of \admin\index.php: call to upgrade_noncore()

I am a complete Newb to moodle but managed to get the server up and running OK...

In reply to Andrew Chambers

Re: Concept Map question type

by Andrew Chambers -

Whoops silly me, it's a question type. Wrong folder smile

In reply to Andrew Chambers

Re: Concept Map question type

by Matt Bury -
Picture of Particularly helpful Moodlers Picture of Plugin developers

Hi everyone,

For anyone who's interested in deploying Concept Maps in Moodle 1.9, I've developed a Snapshot service script for the SWF Activity Module. This allows learners to save a PNG or JPG snapshot of their screen. I've included an example drawing and text application which can be used as a simpler but more flexible Concept Map activity.

Pushing grades is optional and pushed grades can be overridden and commented on by a teacher.

SWF Activity Module: http://code.google.com/p/swf-activity-module/

Snapshot wiki page: http://code.google.com/p/swf-activity-module/wiki/Snapshot

Downloads: http://code.google.com/p/swf-activity-module/downloads/list

Demo: http://moodle.matbury.com/course/view.php?id=9

Of course, concept mapping is only one of many possible uses of the Snapshot script.

I hope this helps! smile

In reply to Andrew Chambers

回應: Re: Concept Map question type

by tong adam -
I am using moodle 2.1 too. I can successfully install it but when i add the question, it cannot be shown. Is it working fine with you?
Average of ratings;Useful (1)
In reply to Jorge Villalon

Re: Concept Map question type

by Aaron Schnakenberg -

Any way we can get a 2.1.2 compliant version? i guessing thats the issue causing my 

Fatal error: Class 'default_questiontype' not found inC:\Moodle\htdocs\question\type\conceptmap\questiontype.php on line 27

 

loved it while using the 2.0

In reply to Aaron Schnakenberg

Re: Concept Map question type

by Jorge Villalon -

Hi all,

I just uploaded a new version to the new modules and plugins database. Same XML format and some interface improvements.

You can get it from here.

In reply to Jorge Villalon

Re: Concept Map question type

by Mark Bryant -

I click on the supplied link and there is nothing there.  If I go to the old database of modules and plugins there is an ancient version of the plug in.  I would like to try it out but can't seem to get the latest version.

In reply to Mark Bryant

Re: Concept Map question type

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

@Mark: you have to wait until the plugin is approved. It may take a few days or weeks...

Joseph

In reply to Joseph Rézeau

Re: Concept Map question type

by Jorge Villalon -

Oops I didn't know it wasn't available right away. Here's another link.

In reply to Jorge Villalon

Re: Concept Map question type

by Franck PETIT -

Hi, I installed it on moodle 2.1. Installation seemed to run smoothly until I tried to access a quiz. I couldn't see the quiz anymore nor create questions. After removing the conceptmap question type folder from the server, everything went back to normal.

Cheers, Franck

In reply to Franck PETIT

Re: Concept Map question type

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

@Frank: the release notes (README.txt) say: "This question type has only been tested in Moodle 2.0."

For Moodle 2.1 you need a new, compatible version. The question engine is completely different between moodle 2.0 and 2.1.

@Jorge: are you working on a 2.1 version?

Joseph

In reply to Joseph Rézeau

Re: Concept Map question type

by Jorge Villalon -

Hi guys, I'm already working on the 2.1 version, 90% advance so far, I'm on the testing phase. WIll let you know when it's ready.

In reply to Jorge Villalon

Re: Concept Map question type

by Aaron Schnakenberg -

any update on the progress of the new version?

In reply to Aaron Schnakenberg

Re: Concept Map question type

by guly guly -

and what about 2.2?

In reply to guly guly

Re: Concept Map question type

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

If a questiontype works for Moodle 2.1, then it is very easy to make it work in 2.2 as well. The details are in https://github.com/moodle/moodle/blob/master/question/type/upgrade.txt.

In reply to Tim Hunt

Re: Concept Map question type

by Jean-Michel Védrine -

Hello Tim,

Given this is a manually graded question, I wonder if it wouldn't be better to just extend essay question rather than trying to port the current code from 2.0 to 2.1/2.2 ?

Average of ratings;Useful (1)
In reply to Jean-Michel Védrine

Re: Concept Map question type

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Concept map should definitely be a separate question type.

In Moodle 2.1+ any question type can declare itself to be manually graded.

I have not seen the existing concept map code, so I cannot comment on what is likely to be the easiest way to get a worrking 2.1+ qtype, but the options are 'port' existing code; or start again from a blank qtype, and add the conceptmap bits.

In reply to Tim Hunt

Re: Concept Map question type

by Jean-Michel Védrine -

Maybe I was unclear, I was not thinking of merging it with essay !

Looking at the code I was thinking of making it a separate question type but inheriting a lot of methods from essay and just overwritting a few ones (namely the renderer, ...) as I have done with shortanswer and a few of my qtypes. The goal was to reduce the amount of code needed and ease maintaining it.

But you know a lot more than me about the question engine so I am sure you are right.

By the way is there any "template" qtype for the new question engine somewhere ?

In reply to Jean-Michel Védrine

Re: Concept Map question type

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Ah, thanks for clarifying what you meant. What you meant is a good suggestion.

There is not yet a 'new qtype template' for Moodle 2.1+. I cannot now remember what I did when starting qtype_stack, but I probably copied one of the other qtypes, and then deleted the contents of most of the methods.

It would be good to have such a template, but I can't see myself having time to produce one, so if anyone else feels up to the challenge, please go for it!

In reply to Jorge Villalon

Re: Concept Map question type

by Wen Hao Chuang -

I'm glad that I found this interesting thread. Just a idea, have anyone thought of creating a moodle "course format" (instead of a question type) for "concept map?" So, instructors can use this Moodle "course format" to easily plan the activities (quizzes, assignments, etc.) and create conditions (e.g. pass the first quiz with 80%) that will lead to the next event/activity. I think it would be very helpful for instrutcors (and students) who tend to be "visual" learners.. Thoughts or comments?

Average of ratings;Useful (1)