New "Question Model" : Syllogism

New "Question Model" : Syllogism

Bernard Boucher發表於
Number of replies: 11

Hi,
     here is my first attempt to make syllogism exercices for the students of my Phylosophy colleagues.

Socrate Syllogism question model

     That question is composed of 17 cloze questions embedded in one quiz question.

    You can play with syllogisms using the attached XML file. It import fine in Moodle XML format from version 1.6 to 2.2 beta 眨眼

    I use the expression  "Question Model" but I am not sure it is the best one. For sure it's not a new question type as Moodle question engine. If you have a better naming convention I will be pleased to use it, as many new formats are on the work to accomodate the needs of differents domains of formation.

That file is generated by Socrate , without modification of Moodle Question Engine files.

When the question model will be tested, many questions will be generated from a simple text file. No more Moodle question editing for that question model!

An Alpha version will be released soon.

Salutations from Québec,

Bernard

評比平均分數: -
In reply to Bernard Boucher

這一討論區的貼文已經被移除

這一討論區的貼文已經被移除且無法再被存取
In reply to Deleted user

Re: New "Question Model" : Syllogism

Bernard Boucher發表於

Hi Pierre,
               thanks for pointing my inversion about cloze and multichoice questions in the generated xml file 愚蠢.

Socrate don't edit questions, it "only" genetate them.  But it do that fast and easily: from that generated XML file

Fast: about 3 seconds to parse a complete book ( Le père Milon de Maupassant in the attached XML file), compare each word of the book  agains the 18848 differents forms ( french words list to make distinction of words finishing by é,er,ez,ée, ... ) giving  1137 matchs and  generate 1137 multichoice sub questions! ( you also have the choice to split theses multichoice sub question in many cloze questions, that big question is more to demonstrate that Moodle question engine can handle that perfectly )

Easily: The authoring part is relatively easy: Only 2 files : The first is the book in text format UTF-8. The second file is the words list, one word by line with it lemma or root form seperated by comma! No editing of cloze question.  If you want another text change the first file ( the book or you personnal text ) and go!

Using only to simple files permit to minimize the "semantic gap" that is the problem not mentionned but responsible of the problem in your linked post. What seem very clear to developpers may be incomprehensible to others.

But teachers and courses authors know simple text file. That is relatively easy for them.  The put the text to analyse in the first one, the words list in the second and they choose the question model and bingo! No more editing of cloze stuff!

That way we separate the domain of knowledge from the exercices we want to suggest to our students. If a new question model seem appropriate  to the domain, the teacher apply it to its existing files containing the domain to learn! A couple of seconds to generate question plus a couple of minutes to use these new questions in activities ( quiz, games, ... )

Another advantage is that the generated XML is importable in many recents Moodle versions ( 1.6.X, 1.9.X and 2.2 beta tested )

Using Itamar framework all the generation work is done by the client machine browser leaving server CPU to other tasks.

And all that without modifying Moodle questions files! Not too bad 酷

Many more questions models are on the way!

Stay tuned 眨眼

Socrate french documentation ( a little bit too long  ) is here. Slide 74 show how the feedback in form of Socratic Dialog will be generated too. That part will be added next semester only.

Thanks for your comments,

 

Bernard

P.S. Today, from my profile, it is my "Moodle Birthday" 眨眼 9 years ago!

In reply to Bernard Boucher

這一討論區的貼文已經被移除

這一討論區的貼文已經被移除且無法再被存取
In reply to Bernard Boucher

Re: New "Question Model" : Syllogism

Itamar Tzadok發表於

My "Socrates" takes a constructivist approach. 大笑 You need to construct statements and syllogisms as building blocks for eventually constructing the requested valid argument. 微笑

評比平均分數:Useful (1)
In reply to Itamar Tzadok

Re: New "Question Model" : Syllogism

Bernard Boucher發表於

Hi Itamar,

              Socrate is not really born but he get "compétition" 眨眼

Your constructivist view is great.

At this time my question model is a simple test to validate if the student recognize the parts of the syllogism. In Bloom's taxonomy, it stand at a low level of difficulty as all my actual questions models. This is due to the fact that Socrate is not really Socrate because it is not able to interpret the rules, a little bit as the Prolog programming language do. My rule definition is very large. For example a formula is considered as a rule or a relation and will be interpreted to generate questions/feedback. 

Only the easy part of Socrate is realised and works : the question models generator. Incidently that generator is based on your framework. Thanks again. Now it treat text files and the copy/paste of the textarea is replaced by a "beautiful save as" in a new browser windows 眨眼

Next semester, I will add rules interpretation and Socrate will be able to generate more complex questions/activities and also it will be able to start a sort of "Socratic Dialog" with the student in case of error. His name come from that type of dialog.

If you have some french reading capabilities please check slide #74 of that presentation. You will see how from a simple gender grammar agreement rule, it is possible to automatically generate 14 differents feedbacks from a very general, forcing the student to apply the agreement rule, to the more specific, nearly giving the answer to the student. The teacher will have only to enter the rules, not the questions/feedback that can be derived from it 眨眼

For the construction of proof, I have considered doing something similar to Jasper, proof editor in Javascript, using many multichoice questions to help Moodle keep track of the student work. That way it will be possible to the student to proove or to construct a solution to a problem based on any rule entered by the teacher in any domain! Mathematics, physics, logics, electronics, ... rules will be treated the same ways!

Thanks for your feedback,

Bernard

 

In reply to Bernard Boucher

Re: New "Question Model" : Syllogism

Itamar Tzadok發表於

You're most welcome! 微笑

I don't buy into "learning/understanding" taxonomies in general and Bloom's in particular. I don't see how they fit the paradigm example of learning, that is, lang equisition by children. For what these taxonomies are worth, too often I've seen them effectively employed in justifying ineffective practices.

Looking forward to hear about the progress you make with socrate.

Could you give an example of what you mean by "a formula is considered as a rule or a relation and will be interpreted to generate questions/feedback"? 微笑

In reply to Itamar Tzadok

Re: New "Question Model" : Syllogism

Bernard Boucher發表於

Hi Itamar,

              me too I am not very taxonomy inclined but some are. That said first Bloom level is easier than last one 眨眼

For the equation part of Socrate, it is treated as relation as all other things.

The trick or the challenge of Socrate is to completly separate, isolate,  the domain of knowledge from the exercices we want to suggest to our students. The teacher never edit a question, Socrate generate questions based on predifined questions models. For sure if a teacher want to manually edit a question, all Moodle features are always available but outside the generation process of Socrate.

Socrate started few years ago and at that time my organisation use a Québec government LMS Decclic and for my departement I choose Moodle. In it first start of it life, Socrate was a Visual Basic鬼臉 that create Scorm/HTML exercices based on CourseLab. These exercices, mostly their HTML forms, were compatibles with Moodle and Decclic. If you want to see the look of the questions generated at this moment check that Socrate "auto-presentation" ! ( be patient the file is heavy )

The knowledge, to be interpreted as pseudo facts or as rules, is entered in a 3 columns format:

Concept,        Property,   Value

Accélération , Définition , Accroissement de la vitesse
Accélération , Définition de l'unité , m/s2
Accélération , Équation , a = F / m
Accélération , Grandeur , Accélération
Accélération , Symbole de grandeur , a
Accélération , Symbole de l'unité , m/s2
Accélération , Unité , Mètre par seconde carré
Accélération , Voyelle , A
Accélération , Genre , f
...

Tension , Définition , Énergie divisée par une charge
Tension , Équation , V = R * I
Tension , Équation , V = W / Q
Tension , Grandeur , Tension
Tension , Symbole de grandeur , V ou E
Tension , Symbole de l'unité , V
Tension , Unité , Volt
Tension , Définition , Énergie divisée par une charge
Tension , Équation , V = R * I
Tension , Équation , V = W / Q
Tension , Grandeur , Tension
Tension , Instrument de mesure , Voltmètre
Tension , Negative , Inverse
Tension , Représentation graphique , Source de tension
Tension , Représentation graphique , Batterie
Tension , Symbole de grandeur , V ou E
Tension , Symbole de l'unité , V
Tension , Unité , Volt
Tension , Genre , f

These simple statements are interpreted by Socrate as pseudo facts or rules:

Tension , Genre , f

concept(Tension , Genre , f)

The teacher or author enter simple text to describe it domain in 3 columns but Socrate can interpret these as pseudo Prolog.

Many question models are ( will ) be available from the simple that ask to recognize the definition of the concepts to those more complex that include the equation property. For example one model ( I will post images only tomorrow VB not installed on my new computer! ) include 5 differents curves generated with Geogebra applet. The equation curve and 4 distractors curves with each a slightly different equation to see if the student recognize the curve.  Many more questions models can/will imaginated as numerical calculations problems. These models are applicable to equations V = R * I, a = F / m, V = W / Q, ...

 Socrate use also fact about concepts ( gender, plural, ... ) and apply agreement rules to compose good sentences.

Thanks for reading seriously Socrate,

Bernard

 

 

 

In reply to Itamar Tzadok

Re: New "Question Model" : Syllogism

Bernard Boucher發表於

Hi Itamar,

               here is the Socrate prototype ( not to be use by end users only by me ) done to check the feasibility of the project and to check some concepts:

.

As you see It was named PrologForNext because I was convinced that the interpretation of simple pseudo facts and rules like Prolog is the way to minimize the semantic gap for course authors by allowing them to use a sort of declarative language to generate their activities. The ForNext was to mimic Prolog chaining in a procedural language with ForNext loops.

 You see 6 Geogebra curves ( instead of 5 as I said in my previous post )  generated in a web page displayed in a VB Browser windows to test the real curve related to the equation relation and 5 others curves as distractors for a multichoice question.

Now a prototype of SQL query to, again, to mimic Prolog chaining in a  SQL query instead! The interpretation of these rules are essential to generate sentences that keep in account agreements of words and to generalise questions in using concepts properties.

.

Last one part of directory listing:

.

At that time Excel was the tool for creating concepts with a sheet with 3 columns and a macro to convert theses in txt for importing in VB.

The generator itself modify an XML file created by CourseLab ( in another folder ) to add questions to it, create 3 txt files with questions for importing in Moodle Gift format, 2 XML files for importing in Moodle and 1 Prolog file .pl to check if my generated stuff give the samething as a real Prolog program interpreted by SwiProlog!

Last year my organisation did'nt gave me time to work on that.

This year I have 1.5 day by week to redo it uniquely for Moodle. A lot of pleasant work to do!

This is Socrate story 眨眼

Salutations from Québec,

Bernard

 

 

 

In reply to Bernard Boucher

Re: New "Question Model" : Syllogism

Itamar Tzadok發表於

Impressive!

I've done something related but quite limited and fairly modest by comparison. It is meant to generate statements for symbolization. So I have lists of names, tasks, qualities etc. in Excel, and a list of template statements. The actual statement in the question is generated by first selecting a random template and then assigning random paramters from the list to the variables in the selected template. This gives variation, but not all the statements are sensible which is mostly an advantage because some of the nonsense statements can be quite funny. 微笑

In reply to Itamar Tzadok

Re: New "Question Model" : Syllogism

Bernard Boucher發表於

Hi Itamar,

happy to see the creativity of another question generation adept 眨眼

Your translation question is very cute and interesting. I have few questions.

1 - To what students it is intended ? ( age, course )

2 - How did you get Syntax Highlighting with the assorted symbols menu/editor included at the bottom of the question? Did I miss something similar to the data module javascript model that I discover in your "framework" to generate questions?

Thanks for your kind words,

 

Bernard

In reply to Bernard Boucher

Re: New "Question Model" : Syllogism

Itamar Tzadok發表於

That's from a university level Introduction to (symbolic/formal) Logic course (but that does not necessarily mean that it can't be offered to other levels, age 10-89).

Syntax highlighing is by search and replace. The brackets part is a bit more complex search and replace. Before that there's some more search and replace. The input statement may be written as it appears in the illustration or in the following way (and any mix of both):

(notTa and notTb) iff ((existx(Bx and Tx) or existy(Ny and Ty) ...

which is much faster than entering the connectives with the virtual keypad.

It does not involve the data module. It is embedded in a cloze question and I use further cloze questions for datasets from which the question draws random parameters for the template statements. The template looks something like:

In order that both N00 and N10 won't T01 it is necessary and sufficient that there is P00 and P10 such that either one or the other T00 but not both

The N00, T01 etc. are references to columns in a multidimensional dataset from which the values are selected randomly in each instance of the question.

Each question is a different template and the quiz is composed of a random set of these questions. And thus we have variation.

微笑

評比平均分數:Useful (1)