Diferencia entre revisiones de «Tipo de pregunta Fórmulas»

De MoodleDocs
(Página redirigida a Tipo de pregunta fórmulas)
 
(No se muestran 28 ediciones intermedias de 2 usuarios)
Línea 1: Línea 1:
{{esbozo}}
#REDIRECT [[Tipo_de_pregunta_f%C3%B3rmulas]]
{{Versiones| Esta documentación es para Moodle 3.1 y más recientes. Existe documentación anterior (del 2014) en [[30/Tipo de pregunta fórmulas]].}}
{{Pendiente de traducir}}
{{Infobox plugin
|type = question type
|entry = https://moodle.org/plugins/view.php?plugin=qtype_formulas
|tracker = https://tracker.moodle.org/browse/CONTRIB/component/14833/?selectedTab=com.atlassian.jira.jira-projects-plugin:component-summary-panel
|discussion = https://moodle.org/mod/forum/discuss.php?d=181049
|maintainer = [[user:Jean-Michel Védrine|Jean-Michel Védrine]]
|float = left
}}
{{Tipo de pregunta Fórmulas}}
 
 
==Complete documentation==
 
The documentation for the '''Formulas''' question type is based on that of [https://code.google.com/archive/p/moodle-coordinate-question/wikis/Documentation.wiki Hon Wai Lau's original project ] (available on Google Code Archive). The content has been slightly modified and updated to match Moodle 2.0 and up.
 
Use the navigation menu on the right in order to access the different pages of the documentation. You can also use the links in the [[:Category:Formulas question type|Formulas question type '''category''']].
 
<div style="background:#d9edf7;color:#3a87ad;0px;padding:8px;border:1px solid #bce8f1;border-radius:4px;margin:0;">
<p style="margin:2px 8px;">
'''Note to the MoodleDocs administrator.''' In order to differentiate them from the other pages of MoodleDocs, the name of the pages relating to the '''Formulas''' question type is prefixed with 'Formulas:_'. Since this prefix is only part of the name of the page, it does not affect the management of the MoodleDocs pages and does not seem contraindicated.
</p>
</div>
 
==Examples==
<div style="background-color:#d3ffd3;
            border:1px solid #abdaac;
            border-radius:4px;
            color:#4f691a;
            padding:5px 15px 10px;
            margin: 15px 0 15px;
            ">
Click the '''Play it''' buttons to play the examples. You can also download the questions file (Moodle XML format) from the '''Play it''' site.
<div style="margin:15px 0 20px;">
[http://35.193.77.29/ <span style="background-color:#f98012;box-shadow: 0 5px 10px #cbcbcb;border: none;color:white;padding: 8px 16px;text-align:center;text-decoration: none;cursor:pointer;">Play it</span>]   '''Play it''' site
</div>
<span style="font-size:120%;color:black;">'''Login info:'''</span>  
<span style="background-color:#ffffff;">  Login as ''''''student''''' ' with password ''''''Moodle2018#''''' '  </span>
 
<div style="margin:10px 0 10px;">
Tip
* '''Ctrl+Shift+Click''' button to open link in a new foreground tab
You may also
* Ctrl+Click button to open link in a new background tab
* Shift+Click button to open link in a new window
</div>
</div>
 
Also, the original examples in [https://code.google.com/archive/p/moodle-coordinate-question/wikis/Documentation.wiki Hon Wai Lau's original project ] can be found in the file called  'sample-formulas-questions.xml' (Moodle XML format) located in the 'moodle/question/type/formulas/sample' folder. Use the [https://docs.moodle.org/34/en/Import_questions Import questions] option to put them into your [https://docs.moodle.org/34/en/Question_bank Question bank] and see how they work.
 
==Características==
 
* '''Random values'''. Each student can receive questions with unique values and wording.
* '''Multiple subquestions'''. Multiple subquestions can be made to share the same set of random variables.
* '''Multiple answers'''. Multiple answer boxes can be used for one subquestion.
* '''Different answer types'''. Both numerical answers with units and algebraic answers can be used.
* '''Grading criterion'''. In addition to simple absolute error, responses from students can be graded using any formula.
* '''Units'''. Supports units and SI unit conversions. SI units with different SI prefixes are accepted using a built-in conversion rule.
* '''Multiple trials'''. A finite or infinite number of trials can be specified for each subquestion.
 
==El tipo de pregunta '''Fórmulas''' es para Usted!==
El tipo de pregunta Formulas es un plugin para Moodle con valores aleatorios y campos de respuesta múltiple. Los campos de respuesta pueden colocarse en cualquier parte de la pregunta, para que Usted pueda crear estructuras de respuesta variadas; como por ejemplo, coordinadas, polinomio, matríz, etc. Otras características, tales como revisión de unidades y sub-preguntas múltiples, también están disponibles. Estas funcionalidades pueden simplificar la cración de preguntas en muchos campos relacionados con matemáticas, números y unidades, como por ejemplo, física e ingenierías.
 
'''¡Si Usted está tratando con problemas como los descritos debajo, entonces el tipo de pregunta Formulas es para Usted!'''
 
Tome un problema en ingeniería estructural, por ejemplo, que puede involucrar varios parámetros cun un número de valores fijos y conocidos, como por ejemplo:
 
  '''Parámetro'''                      '''Valores posibles'''
  Bolt diameter (mm)              16, 20, 22, 24, 27, 30, 36
  Plate thickness (mm)            16, 20, 25, 35, 40, 50
  Steel strength (MPa)            300, 345, 350, 380
  Concrete strength (MPa)        20, 25, 30
  Reinforcing bar diameter (mm)  9.5, 12.7, 15.9, 19.1, 22.2, 25.4
 
A question that involves the five parameters, each with their possible values, has 7 x 6 x 4 x 3 x 6 = 3024 different possible versions, much more than the limit of 100 in the Calculated question.
 
Even a simple question in basic mathematics can have a large number of possible versions. The following one has 5 x 5 x 8 = 200 different possible versions:
 
  Find the value of ''x'' = ''a''*(''b'' + ''c'')
  where
    • ''a'' is an odd number between and including 1 and 9
    • ''b'' is an even number between and including 2 and 10
    • ''c'' is an integer value between and including 1 to 3 or 7 to 11
 
This kind of question can be easily created using the Formulas question. When creating the question, you would enter your sets of numbers in the 'Random variables' field as:
 
  a = {1:10:2};
  b = {2:11:2};
  c = {1, 2, 3, 7:12};
 
Note that sets of numbers can be in the format {start:stop:interval}, for example {1:10:2} and {2:11:2}. (The stop value is not included in the set and the interval is set to 1 when not specified). Sets of numbers can also be in the format of a list such as {1,2,3} for the set of numbers 1, 2 and 3. They can even be in a combination of the two formats, such as {1, 2, 3, 7:12}.
 
When an attempt is started, ''a'', ''b'', and ''c'' will take a value drawn from the corresponding set at random. If you want, you can define other variables as a function of the random ones in the 'Global variables' field. For instance, if you need the value of ''a'' + 2*''b'' somewhere in your question (that is the main question, subquestions, hints and feedbacks), just define a new variable, say ''d'', in the 'Global variables' field:
 
  d = a+2*b;
 
Once you have defined your variables, you can display them by putting them in curly braces, i.e. {a}, {b}, {c}, {d}, anywhere in the question.
 
Another advantage of the Formulas question is that a question can have several subquestions, called ‘parts’, that can share the same variables. The Formulas question also has a complete unit system that is quite useful for physics and engineering.
 
The '''Formulas question''' type is very powerful and permits the making of a wide range of questions. Although mastering all its possibilities require some practice, the basics can be learned quickly.
 
<div style="background-color:#d3ffd3;
            border:1px solid #abdaac;
            border-radius:4px;
            color:#4f691a;
            padding:5px 15px 5px;
            margin: 15px 0 0;
            ">
Una vez que empiece a dominar el tipo de pregunta de '''Fórmulas''', se dará cuenta de lo fácil que es usarlo, y cuán efectivo y completo es.
</div>
 
==Agradecimientos==
The Formulas question was originally written by [https://moodle.org/user/view.php?id=1069069&course=5 Hon Wai Lau] in about one year during 2009 and 2010, while he was working for the Physics Department at the [http://www.ust.hk/ Hong Kong University of Science and Technology].
 
Hon Wai Lau's Formulas question original project can be found on [https://code.google.com/archive/p/moodle-coordinate-question/ Google Code Archive]. Note that the initial name 'Coordinate question ' was later changed to 'Formulas question'. Hon Wai Lau's original Formulas question is compatible with Moodle 1.9 and 2.0.
 
The Formulas question was upgraded to the new question engine, introduced in Moodle 2.1, by [https://moodle.org/user/view.php?id=8026&course=5 Jean-Michel Védrine], professor of Statistics and Computing at  the Institut Universitaire de Technologie in Saint-Étienne, France. The upgraded version of the Formulas question is compatible with Moodle 2.3 and later versions, currently up to Moodle 3.1.
 
The current Formulas question project can be found [https://github.com/jmvedrine/moodle-qtype_formulas on GitHub].
 
==Documentación==
 
[https://code.google.com/archive/p/moodle-coordinate-question/wikis Documentation for the Formulas question], written by Hon Wai Lau, can be found in his original project on Google Code Archive. The documentation, available only in English, is quite complete and excellent. Note, however, that it has not been entirely updated.
 
* [[Tutorial de pregunta fórmulas]]
* [[Editando una pregunta fórmulas]]
 
'''Examples'''
 
Once the Formulas question plugin is installed, several examples of the Formulas question can be found in the file called  'sample-formulas-questions.xml' located in the 'moodle/question/type/formulas/sample' folder. Use the [[Importar preguntas]] option (Moodle XML) to put them into your [[Banco de preguntas]] and see how they work.
 
==Traducciones disponibles==
The Formulas question plugin is available in the following langages:
* English
* French
* Spanish (Mexican)
 
==Installación==
The Formulas question is a Moodle plugin, so you or your Administrator must [[Instalar plugins|instalarlo]].
 
Prior to installing the Formulas question though, you need to install  [[Instalar plugins|instalar otro plugin]]., that is Tim Hunt's adaptive multipart behaviour, [https://github.com/maths/moodle-qbehaviour_adaptivemultipart  available from GitHub] or [https://moodle.org/plugins/view.php?plugin=qbehaviour_adaptivemultipart from the Moodle Plugins directory]. Note that you need version 3.3 or newer of this behaviour, because the Formulas question will not work with previous versions.
 
You can then install the Formulas question either from the Moodle Plugins directory, from GitHub or from a zip file:
 
'''Installing from the Moodle Plugins directory'''
 
The Formulas question is available from [https://moodle.org/plugins/view.php?plugin=qtype_formulas the Moodle Plugins drectory]. Install the Formulas question as any other Moodle question type plugin.
 
'''Installing from GitHub'''
 
The Formulas question is available at [https://github.com/jmvedrine/moodle-qtype_formulas the author's Github repository]. To install the question, type the following commands in the root of your Moodle install:
  git clone git://github.com/jmvedrine/moodle-qtype_formulas.git question/type/formulas echo '/question/type/formulas/' >> .git/info/exclude
 
'''Installing from a zip file'''
 
Download the zip file [https://github.com/jmvedrine/moodle-qtype_formulas from GitHub]. Unzip the file in the 'question/type' folder and then rename the new folder to 'formulas'.
 
==Vea también==
Discusiones en foros en idioma inglés::
* [https://moodle.org/mod/forum/discuss.php?d=163345 Formulas question type]
* [https://moodle.org/mod/forum/discuss.php?d=181049 Formulas question type for Moodle 2.0]
 
[[Categoría:Complementos]]
[[Categoría:Preguntas]]
[[Categoría:Matemáticas]]
 
[[en:Formulas question type]]

Revisión actual - 01:33 1 feb 2018