// Numbas version: finer_feedback_settings {"name": "Produits remarquables", "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": "Produits remarquables", "tags": [], "metadata": {"description": "

Platine

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Développe et écris le résultat sous forme d'un polynôme réduit.

", "advice": "", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"a": {"name": "a", "group": "Valeurs g\u00e9n\u00e9riques 2..5", "definition": "repeat(random(2..5),20)", "description": "", "templateType": "anything", "can_override": false}, "d": {"name": "d", "group": "2 ou 3", "definition": "repeat(random(2..3),10)", "description": "

Random 2..3

", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Valeurs g\u00e9n\u00e9riques 2..5", "definition": "repeat(random(7..12),30)", "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": "Ungrouped variables", "definition": "repeat(random([12, 15, 16, 18, 20, 24]),20)", "description": "", "templateType": "anything", "can_override": false}, "q": {"name": "q", "group": "Ungrouped variables", "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": "Ungrouped variables", "definition": "repeat(random([2,3,5,6,8,9,10,12]),20)", "description": "", "templateType": "anything", "can_override": false}, "o": {"name": "o", "group": "Impair (3,5)", "definition": "repeat(random(3,5,7,9,11),20)", "description": "", "templateType": "anything", "can_override": false}, "e": {"name": "e", "group": "Pairs 2 4 6 8", "definition": "repeat(random(2,4,8),20)", "description": "", "templateType": "anything", "can_override": false}, "aQ1": {"name": "aQ1", "group": "Valeurs g\u00e9n\u00e9riques 2..5", "definition": "repeat(random(2,4,8),20)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["p", "q", "r"], "variable_groups": [{"name": "Valeurs g\u00e9n\u00e9riques 2..5", "variables": ["b", "a", "aQ1"]}, {"name": "2 ou 3", "variables": ["d"]}, {"name": "Impair (3,5)", "variables": ["i", "o"]}, {"name": "Pairs 2 4 6 8", "variables": ["e"]}], "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": "

$\\left(\\dfrac{\\var{e[0]}}{\\var{o[0]}}x - \\var{aQ1[0]}\\right)^2$

", "answer": "({e[0]}^2/{o[0]}^2)*x^2 - (2*{e[0]}*{aQ1[0]}/{o[0]})*x + {aQ1[0]}^2", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": false, "implicitFunctionComposition": false, "caseSensitive": false, "notation": "standard", "mustmatchpattern": {"pattern": "`+- integer:$n;p2/integer:$n;q2*x^2 + `+- integer:$n;p1/integer:$n;q1*x^(1`?)+$n `where (gcd(p1,q1)=1 and gcd(p2,q2)=1)", "partialCredit": "0", "message": "La réponse attendue est un polynôme réduit avec fractions simplifiées", "nameToCompare": "", "warningTime": "submission"}, "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{a[1]}x - \\var{b[0]})(\\var{a[1]}x + \\var{b[0]})$

", "answer": "{a[1]}^2 * x^2 - {b[0]}^2", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": false, "implicitFunctionComposition": false, "caseSensitive": false, "notation": "standard", "mustmatchpattern": {"pattern": "$n*x^2-$n", "partialCredit": "0", "message": "La réponse attendue est un polynôme réduit avec fractions simplifiées", "nameToCompare": "", "warningTime": "submission"}, "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{a[2]}x+\\var{b[1]})(-\\var{a[2]}x-\\var{b[1]})$

", "answer": "-{b[1]}^2 +{a[2]}^2 * x^2", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": false, "implicitFunctionComposition": false, "caseSensitive": false, "notation": "standard", "mustmatchpattern": {"pattern": "$n*x^2-$n", "partialCredit": "0", "message": "La réponse attendue est un polynôme réduit avec fractions simplifiées", "nameToCompare": "", "warningTime": "submission"}, "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{a[3]}x - \\var{b[2]})(\\var{a[3]}x + \\var{b[2]}) - (\\var{a[4]}x + \\var{b[3]})^2$

", "answer": "({a[3]}^2 - {a[4]}^2)*x^2 - 2*{a[4]}*{b[3]}*x - ({b[2]}^2 + {b[3]}^2)", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": false, "implicitFunctionComposition": false, "caseSensitive": false, "notation": "standard", "mustmatchpattern": {"pattern": "( `+- $n`? * ($v);=base^2 )`? + ( `+- $n`? * ($v);=base )`? + ( `+- $n`? )`?", "partialCredit": "0", "message": "La réponse attendue est un polynôme réduit avec fractions simplifiées", "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/"}]}