// Numbas version: finer_feedback_settings {"name": "Op\u00e9rations sur les expressions litt\u00e9rales", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "feedback": {"showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showpartfeedbackmessageswhen": "always", "allowrevealanswer": true, "showexpectedanswerswhen": "inreview", "showadvicewhen": "inreview"}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Op\u00e9rations sur les expressions litt\u00e9rales", "tags": [], "metadata": {"description": "
Platine
", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "Calcule et réduis
\n$a\\times b$ est noté $a\\cdot b$
$a : b$ est noté $\\dfrac{a}{b}$
Une barre de fraction induit des parenthèses. Ainsi, $\\dfrac{a+b}{c-d}=(a+b):(c-d)$
Random 2..3
", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Valeurs g\u00e9n\u00e9riques 2..5", "definition": "repeat(random(2..6),20)", "description": "", "templateType": "anything", "can_override": false}, "i": {"name": "i", "group": "Impair (3,5)", "definition": "repeat(random(3,5),10)", "description": "", "templateType": "anything", "can_override": false}, "p": {"name": "p", "group": "Multiples avec 2 3 5", "definition": "repeat(random([12, 15, 16, 18, 20, 24]),20)", "description": "", "templateType": "anything", "can_override": false}, "q": {"name": "q", "group": "Multiples avec 2 3 5", "definition": "repeat(random([12, 15, 16, 18, 20, 24, 25, 27, 30, 32, 36, 40, 45, 48]),20)", "description": "", "templateType": "anything", "can_override": false}, "r": {"name": "r", "group": "Multiples avec 2 3 5", "definition": "repeat(random([2,3,5,6,8,9,10,12]),20)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [{"name": "Valeurs g\u00e9n\u00e9riques 2..5", "variables": ["b", "a"]}, {"name": "2 ou 3", "variables": ["d"]}, {"name": "Impair (3,5)", "variables": ["i"]}, {"name": "Multiples avec 2 3 5", "variables": ["p", "q", "r"]}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "prompt": "$\\var{b[0]}x \\cdot \\var{b[1]}x + x$
", "answer": "({b[0]}*{b[1]})*x^2 + x", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "notation": "standard", "notallowed": {"strings": ["(", ")"], "showStrings": false, "partialCredit": 0, "message": "Caractère interdit utilisé."}, "mustmatchpattern": {"pattern": "( `+- $n`? * ($v);=base^9 )`? + ( `+- $n`? * ($v);=base^8 )`? + ( `+- $n`? * ($v);=base^7 )`? + ( `+- $n`? * ($v);=base^6 )`? + ( `+- $n`? * ($v);=base^5 )`? + ( `+- $n`? * ($v);=base^4 )`? + ( `+- $n`? * ($v);=base^3 )`? + ( `+- $n`? * ($v);=base^2 )`? + ( `+- $n`? * ($v);=base )`? + ( `+- $n`? )`?", "partialCredit": 0, "message": "La réponse attendue est un polynôme", "nameToCompare": "", "warningTime": "input"}, "valuegenerators": [{"name": "x", "value": ""}], "functionsets": ["arithmetic", "complex_numbers", "exponentials", "trigonometry", "rounding", "number_theory", "comparison", "linear_algebra", "booleans", "set_theory", "intervals", "number_ranges", "lists", "dictionaries", "strings", "type_casting", "number_parsing", "precision", "json", "jme", "pattern_matching", "html", "randomisation", "control_flow", "comprehensions", "calculus", "marking", "http", "promises"], "enabledfunctions": [], "disabledfunctions": []}, {"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "prompt": "$\\var{b[2]}x - x$
", "answer": "{b[2]}x - x", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "notation": "standard", "notallowed": {"strings": ["(", ")"], "showStrings": false, "partialCredit": 0, "message": "Caractère interdit utilisé."}, "mustmatchpattern": {"pattern": "( `+- rational:$n`? * ($v);=base^9 )`? + ( `+- rational:$n`? * ($v);=base^8 )`? + ( `+- rational:$n`? * ($v);=base^7 )`? + ( `+- rational:$n`? * ($v);=base^6 )`? + ( `+- rational:$n`? * ($v);=base^5 )`? + ( `+- rational:$n`? * ($v);=base^4 )`? + ( `+- rational:$n`? * ($v);=base^3 )`? + ( `+- rational:$n`? * ($v);=base^2 )`? + ( `+- rational:$n`? * ($v);=base )`? + ( `+- rational:$n`? )`?", "partialCredit": 0, "message": "La réponse attendue est un polynôme", "nameToCompare": "", "warningTime": "input"}, "valuegenerators": [{"name": "x", "value": ""}], "functionsets": ["arithmetic", "complex_numbers", "exponentials", "trigonometry", "rounding", "number_theory", "comparison", "linear_algebra", "booleans", "set_theory", "intervals", "number_ranges", "lists", "dictionaries", "strings", "type_casting", "number_parsing", "precision", "json", "jme", "pattern_matching", "html", "randomisation", "control_flow", "comprehensions", "calculus", "marking", "http", "promises"], "enabledfunctions": [], "disabledfunctions": []}, {"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "prompt": "$\\var{b[3]}x^3 \\cdot (2x)^2 - \\var{b[4]}x + \\var{b[5]}$
", "answer": "(4*{b[3]})*x^5 - {b[4]}*x + {b[5]}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "notation": "standard", "notallowed": {"strings": ["(", ")"], "showStrings": false, "partialCredit": 0, "message": "Caractère interdit utilisé."}, "mustmatchpattern": {"pattern": "( `+- rational:$n`? * ($v);=base^9 )`? + ( `+- rational:$n`? * ($v);=base^8 )`? + ( `+- rational:$n`? * ($v);=base^7 )`? + ( `+- rational:$n`? * ($v);=base^6 )`? + ( `+- rational:$n`? * ($v);=base^5 )`? + ( `+- rational:$n`? * ($v);=base^4 )`? + ( `+- rational:$n`? * ($v);=base^3 )`? + ( `+- rational:$n`? * ($v);=base^2 )`? + ( `+- rational:$n`? * ($v);=base )`? + ( `+- rational:$n`? )`?", "partialCredit": 0, "message": "La réponse attendue est un polynôme", "nameToCompare": "", "warningTime": "input"}, "valuegenerators": [{"name": "x", "value": ""}], "functionsets": ["arithmetic", "complex_numbers", "exponentials", "trigonometry", "rounding", "number_theory", "comparison", "linear_algebra", "booleans", "set_theory", "intervals", "number_ranges", "lists", "dictionaries", "strings", "type_casting", "number_parsing", "precision", "json", "jme", "pattern_matching", "html", "randomisation", "control_flow", "comprehensions", "calculus", "marking", "http", "promises"], "enabledfunctions": [], "disabledfunctions": []}, {"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "prompt": "$\\var{b[11]}(\\var{b[6]}x^2 - \\var{b[7]}x + 1) - \\var{b[8]}(-x^2 + \\var{b[9]}x + \\var{b[10]})$
", "answer": "({b[11]}*{b[6]} + {b[8]})*x^2 - ({b[11]}*{b[7]} + {b[8]}*{b[9]})*x + ({b[11]} - {b[8]}*{b[10]})", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "notation": "standard", "notallowed": {"strings": ["(", ")"], "showStrings": false, "partialCredit": 0, "message": "Caractère interdit utilisé."}, "mustmatchpattern": {"pattern": "( `+- rational:$n`? * ($v);=base^9 )`? + ( `+- rational:$n`? * ($v);=base^8 )`? + ( `+- rational:$n`? * ($v);=base^7 )`? + ( `+- rational:$n`? * ($v);=base^6 )`? + ( `+- rational:$n`? * ($v);=base^5 )`? + ( `+- rational:$n`? * ($v);=base^4 )`? + ( `+- rational:$n`? * ($v);=base^3 )`? + ( `+- rational:$n`? * ($v);=base^2 )`? + ( `+- rational:$n`? * ($v);=base )`? + ( `+- rational:$n`? )`?", "partialCredit": 0, "message": "La réponse attendue est un polynôme", "nameToCompare": "", "warningTime": "input"}, "valuegenerators": [{"name": "x", "value": ""}], "functionsets": ["arithmetic", "complex_numbers", "exponentials", "trigonometry", "rounding", "number_theory", "comparison", "linear_algebra", "booleans", "set_theory", "intervals", "number_ranges", "lists", "dictionaries", "strings", "type_casting", "number_parsing", "precision", "json", "jme", "pattern_matching", "html", "randomisation", "control_flow", "comprehensions", "calculus", "marking", "http", "promises"], "enabledfunctions": [], "disabledfunctions": []}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "showAllParts": false, "contributors": [{"name": "Robin Lecocq", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/38160/"}], "resources": []}]}], "contributors": [{"name": "Robin Lecocq", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/38160/"}]}