// Numbas version: exam_results_page_options {"name": "Divisibilidad", "metadata": {"description": "
Divisibilidad, factores primos, mínimo común múltiplo y el máximo común divisor de números dados.
", "licence": "Creative Commons Attribution 4.0 International"}, "duration": 3000, "percentPass": "0", "showQuestionGroupNames": false, "showstudentname": true, "question_groups": [{"name": "1\u00ba ESO", "pickingStrategy": "all-shuffled", "pickQuestions": 1, "questionNames": ["", "", "", "", "", ""], "questions": [{"name": "M\u00ednimo com\u00fan m\u00faltiplo", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Lauren Richards", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1589/"}, {"name": "francisco Glezortiz", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4087/"}], "tags": [], "metadata": {"description": "Esta es una pregunta simple que evalúa al estudiante su capacidad para calcular el mínimo común múltiplo de dos números que son:\n\nParte a) - primos entre sí;\n\nParte b) - donde el máximo común divisor entre los dos números enteros es mayor que uno y no es igual a ningún número dado; y\n\nParte c): donde uno de los números enteros es múltiplo del otro.
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "El mínimo común múltiplo de dos números es el primer número que aparece en las tablas de multiplicar de ambos números.
", "advice": "Aquí están las tablas de multiplicar para
\n$\\var{a}$ and $\\var{b}$.
\n$\\var{a}$ | \n$\\var{2a}$ | \n$\\var{3a}$ | \n$\\var{4a}$ | \n$\\var{5a}$ | \n$\\var{6a}$ | \n$\\var{7a}$ | \n$\\var{8a}$ | \n$\\var{9a}$ | \n$\\var{10a}$ | \n$\\var{11a}$ | \n$\\var{12a}$ | \n$\\var{13a}$ | \n
$\\var{b}$ | \n$\\var{2b}$ | \n$\\var{3b}$ | \n$\\var{4b}$ | \n$\\var{5b}$ | \n$\\var{6b}$ | \n$\\var{7b}$ | \n$\\var{8b}$ | \n$\\var{9b}$ | \n$\\var{10b}$ | \n$\\var{11b}$ | \n$\\var{12b}$ | \n$\\var{13b}$ | \n
El primer número que aparece en ambas listas es
\n$\\var{a*b}$.
\nObserva que $\\var{a}$ y $\\var{b}$ no tienen factores en común, por lo que el mínimo común múltiplo es el producto de ambos números
\n\nEl mínimo común múltiplo de $\\var{f}$ and $\\var{g}$ es el producto, dividido por el máximo común divisor.
\nEl máximo común divisor de $\\var{f}$ y $\\var{g}$ es $\\var{gcd_fg}$.
\nPor tanto, el mínimo común múltiplo es
\n\\[\\frac{\\var{f}\\times\\var{g}}{\\var{gcd_fg}}=\\var{lcm_fg}\\text{.}\\]
\nComo $\\var{d}$ es múltiplo de $\\var{c}$,
\nel mínimo común múltiplo $\\var{c}$ y $\\var{d}$ es $\\var{d}$.
", "rulesets": {}, "variables": {"a": {"name": "a", "group": "part c", "definition": "random([2,3,5,7,11,13])", "description": "", "templateType": "anything"}, "lcm_fg": {"name": "lcm_fg", "group": "part b", "definition": "lcm(f,g)", "description": "", "templateType": "anything"}, "lcm_ab": {"name": "lcm_ab", "group": "part c", "definition": "lcm(a,b)", "description": "", "templateType": "anything"}, "c": {"name": "c", "group": "part a", "definition": "random(2..10)", "description": "", "templateType": "anything"}, "lcm_cd": {"name": "lcm_cd", "group": "part a", "definition": "lcm(c,d)", "description": "", "templateType": "anything"}, "g": {"name": "g", "group": "part b", "definition": "random([10,12,14,16,18,22,27] except f)", "description": "", "templateType": "anything"}, "gcd_fg": {"name": "gcd_fg", "group": "part b", "definition": "gcd(f,g)", "description": "", "templateType": "anything"}, "b": {"name": "b", "group": "part c", "definition": "random([2,3,5,7,11,13] except a)", "description": "", "templateType": "anything"}, "f": {"name": "f", "group": "part b", "definition": "random([10,12,14,16,18,22])", "description": "", "templateType": "anything"}, "d": {"name": "d", "group": "part a", "definition": "random(2..6)*c", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": "1"}, "ungrouped_variables": [], "variable_groups": [{"name": "part c", "variables": ["a", "b", "lcm_ab"]}, {"name": "part a", "variables": ["c", "d", "lcm_cd"]}, {"name": "part b", "variables": ["f", "g", "gcd_fg", "lcm_fg"]}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "¿Cuál es el mínimo común múltiplo de $\\var{a}$ and $\\var{b}$?
", "minValue": "lcm_ab", "maxValue": "lcm_ab", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "¿Cuàl es el mínimo común múltiplo de $\\var{f}$ and $\\var{g}$?
", "minValue": "lcm_fg", "maxValue": "lcm_fg", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Halla el mímino común múltiplo de $\\var{c}$ and $\\var{d}$?
", "minValue": "lcm_cd", "maxValue": "lcm_cd", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "N\u00fameros primos", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Chris Graham", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/369/"}, {"name": "francisco Glezortiz", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4087/"}], "tags": [], "metadata": {"description": "Distinguir entre \"primos\" y \"compuestos\".
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "Identifica cuáles de los siguientes son números primos
", "advice": "\n\nLos números y sus factores primos se ven en la tabla:
\nNumber | \nPrime/Composite | \nFactors | \n
$\\var{b}$ | \nPrime | \n$1$, $\\var{b}$ | \n
$\\var{k}$ | \nPrime | \n$1$, $\\var{k}$ | \n
$\\var{f}$ | \nComposite | \n$1$, $2$, $\\var{f/2}$, $\\var{f}$ | \n
$\\var{a}$ | \nPrime | \n$1$, $\\var{a}$ | \n
$\\var{d}$ | \nComposite | \n$1$, $\\var{sqrtd}$, $\\var{d}$ | \n
$\\var{h}$ | \nComposite | \n$\\var{latex(hlist)}$ | \n
$\\var{j}$ | \nPrime | \n$1$, $\\var{j}$ | \n
[[0]]
", "gaps": [{"type": "m_n_x", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minMarks": "0", "maxMarks": "2", "minAnswers": "5", "maxAnswers": 0, "shuffleChoices": false, "shuffleAnswers": false, "displayType": "radiogroup", "warningType": "warn", "showCellAnswerState": true, "choices": ["$\\displaystyle\\var{b}$
", "$\\displaystyle\\var{k}$
", "$\\displaystyle\\var{f}$
", "$\\displaystyle\\var{a}$
", "$\\displaystyle\\var{d}$
", "$\\displaystyle\\var{h}$
", "$\\displaystyle\\var{j}$
"], "matrix": [["1", 0], ["1", 0], [0, "1"], ["1", "0"], ["0", "1"], [0, "1"], ["1", "0"]], "layout": {"type": "all", "expression": ""}, "answers": ["Primo
", "Compuesto
"]}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "El m\u00e1ximo com\u00fan divisor de dos n\u00fameros", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Lauren Richards", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1589/"}, {"name": "francisco Glezortiz", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4087/"}], "tags": [], "metadata": {"description": "This question tests the student's ability to identify the factors of some composite numbers and the highest common factors of two numbers.
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "Rellena las casillas vacías para que se cumpla la igualdad
", "advice": "i)
\n$\\var{fourfac}$ has four factors: $1$, $3$, $\\var{fourfac/3}$ and $\\var{fourfac}$.
\nIt is possible to pair the factors up to prove that they are factors.
\n\\[
\\begin{align}
1\\times\\var{fourfac}&=\\var{fourfac}\\text{.}\\\\
3\\times\\var{fourfac/3}&=\\var{fourfac}\\text{.}\\\\
\\end{align}
\\]
ii)
\n$\\var{sixfac}$ has six factors: $1$, $2$, $3$, $\\var{sixfac/3}$, $\\var{sixfac/2}$ and $\\var{sixfac}$.
\nAgain, it is possible to pair the factors up to prove that they are factors.
\n\\[
\\begin{align}
1\\times\\var{sixfac}&=\\var{sixfac}\\text{.}\\\\
2\\times\\var{sixfac/2}&=\\var{sixfac}\\text{.}\\\\
3\\times\\var{sixfac/3}&=\\var{sixfac}\\text{.}\\\\
\\end{align}
\\]
We now look for common factors between the two lists of factors, and the highest common factor will be the largest of these.
\n\nFor $\\var{fourfac}$ and $\\var{sixfac}$, the highest common factor is $\\var{hc}$.
\nDividing both the numerator and denominator by the highest common factor gives:
\n\\[ \\frac{\\var{sixfac}}{\\var{fourfac}} = \\frac{\\frac{\\var{sixfac}}{\\var{hc}}}{\\frac{\\var{fourfac}}{\\var{hc}}} = \\frac{\\var{sixfac/hc}}{\\var{fourfac/hc}}\\text{.}\\]
\n", "rulesets": {}, "variables": {"suma2": {"name": "suma2", "group": "Ungrouped variables", "definition": "random(-10..1 except suma1)", "description": "", "templateType": "anything"}, "producto1": {"name": "producto1", "group": "Ungrouped variables", "definition": "num1*random(-9..-2)", "description": "", "templateType": "anything"}, "suma1": {"name": "suma1", "group": "Ungrouped variables", "definition": "random(-10,10)", "description": "", "templateType": "anything"}, "num1": {"name": "num1", "group": "Ungrouped variables", "definition": "random(-10..-1)", "description": "", "templateType": "anything"}, "num2": {"name": "num2", "group": "Ungrouped variables", "definition": "random(-15..-3)", "description": "", "templateType": "anything"}, "producto2": {"name": "producto2", "group": "Ungrouped variables", "definition": "num2*random(-9..-2)", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["suma1", "suma2", "producto1", "num1", "num2", "producto2"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": "fraction {\n display: inline-block;\n vertical-align: middle;\n}\nfraction > numerator, fraction > denominator {\n float: left;\n width: 100%;\n text-align: center;\n line-height: 2.5em;\n}\nfraction > numerator {\n border-bottom: 1px solid;\n padding-bottom: 5px;\n}\nfraction > denominator {\n padding-top: 5px;\n}\nfraction input {\n line-height: 1em;\n}\n\nfraction .part {\n margin: 0;\n}\n\n.table-responsive, .fractiontable {\n display:inline-block;\n}\n.fractiontable {\n padding: 0; \n border: 0;\n}\n\n.fractiontable .tddenom \n{\n text-align: center;\n}\n\n.fractiontable .tdnum \n{\n border-bottom: 1px solid black; \n text-align: center;\n}\n\n\n.fractiontable tr {\n height: 3em;\n}\n"}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "
\n
i) $\\var{num1}$ + [[0]] = $\\var{suma1}$
\n\nii) $\\var{num2}$ - [[1]] = $\\var{suma2}$
", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "suma1-num1", "maxValue": "suma1-num1", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "num2-suma2", "maxValue": "num2-suma2", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "i) $\\var{num1}$ $\\times$ ( [[0]] ) =$\\var{producto1}$
\n\nii) $\\var{num2}$ $\\times$ ( [[1]] ) = $\\var{producto2}$
", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "1", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "producto1/num1", "maxValue": "producto1/num1", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "producto2/num2", "maxValue": "producto2/num2", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Dos cifras", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "francisco Glezortiz", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4087/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "Considera todos los números de dos cifras desde el 10 al 99.
", "advice": "", "rulesets": {}, "variables": {"n1": {"name": "n1", "group": "Ungrouped variables", "definition": "random(2..5)", "description": "", "templateType": "anything"}, "n2": {"name": "n2", "group": "Ungrouped variables", "definition": "n1+random(1..3)", "description": "", "templateType": "anything"}, "mcm": {"name": "mcm", "group": "Ungrouped variables", "definition": "n1*n2/gcd(n1,n2)", "description": "", "templateType": "anything"}, "total": {"name": "total", "group": "Ungrouped variables", "definition": "floor(99/mcm)-floor(9/mcm)", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["n1", "n2", "mcm", "total"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "¿Cuántos de ellos son divisibles por {n1}?
", "minValue": "floor(90/n1)", "maxValue": "floor(90/n1)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "¿Cuántos de ellos son divisibles por {n2}?
", "minValue": "floor(90/n2)", "maxValue": "floor(90/n2)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "¿Cuántos de ellos son divisibles por {n1} y {n2}?
", "minValue": "total", "maxValue": "total", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Ramos de flores", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "francisco Glezortiz", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4087/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "Una florista tiene {blancas} rosas blancas, {rojas} rosas rojas y {amarillas} rosas amarillas.
", "advice": "", "rulesets": {}, "variables": {"base": {"name": "base", "group": "Ungrouped variables", "definition": "random(5..12)", "description": "", "templateType": "anything"}, "blancas": {"name": "blancas", "group": "Ungrouped variables", "definition": "base*random(1..5)", "description": "", "templateType": "anything"}, "rojas": {"name": "rojas", "group": "Ungrouped variables", "definition": "base*random(1..5)", "description": "", "templateType": "anything"}, "amarillas": {"name": "amarillas", "group": "Ungrouped variables", "definition": "base*random(1..5)", "description": "", "templateType": "anything"}, "sol": {"name": "sol", "group": "Ungrouped variables", "definition": "gcd(gcd(blancas,rojas),amarillas)", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["base", "blancas", "rojas", "amarillas", "sol"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "A lo sumo, ¿cuántos ramos idénticos puede hacer, utilizando todas las flores?
", "minValue": "sol", "maxValue": "sol", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "¿Cuántas flores contiene cada uno de los ramos?
", "minValue": "(blancas+rojas+amarillas)/sol", "maxValue": "(blancas+rojas+amarillas)/sol", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Bolas de colores", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "francisco Glezortiz", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4087/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "Tenemos una caja con 100 bolas de {colores} colores distintos.
", "advice": "", "rulesets": {}, "variables": {"colores": {"name": "colores", "group": "Ungrouped variables", "definition": "random(3..10)", "description": "", "templateType": "anything"}, "bolas": {"name": "bolas", "group": "Ungrouped variables", "definition": "random(2..7)", "description": "", "templateType": "anything"}, "bolasmin": {"name": "bolasmin", "group": "Ungrouped variables", "definition": "(bolas-1)*colores+1", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["colores", "bolas", "bolasmin"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "¿Cuántas bolas hay que sacar como como mínimo para obtener {bolas} bolas del mismo color?
", "minValue": "bolasmin", "maxValue": "bolasmin", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}], "allowPrinting": true, "navigation": {"allowregen": false, "reverse": true, "browse": true, "allowsteps": true, "showfrontpage": true, "showresultspage": "oncompletion", "navigatemode": "sequence", "onleave": {"action": "none", "message": ""}, "preventleave": true, "startpassword": ""}, "timing": {"allowPause": false, "timeout": {"action": "none", "message": ""}, "timedwarning": {"action": "none", "message": ""}}, "feedback": {"showactualmark": true, "showtotalmark": true, "showanswerstate": true, "allowrevealanswer": false, "advicethreshold": 0, "intro": "", "reviewshowscore": true, "reviewshowfeedback": true, "reviewshowexpectedanswer": false, "reviewshowadvice": true, "feedbackmessages": []}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "francisco Glezortiz", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4087/"}], "extensions": [], "custom_part_types": [], "resources": []}