// Numbas version: finer_feedback_settings
{"name": "Ions et compos\u00e9s ioniques", "extensions": [], "custom_part_types": [], "resources": [["question-resources/I1_fluor.svg", "326ee34158f0f450e85c2d80dd0eef171435533070f647fc266c1618bbec6ec0.svg"], ["question-resources/I1_b\u00e9rylium_jL8Ixe4.svg", "41ba19486b6640d0ce9093df8db7cc2901a295d3371cae9eddb3aacbcfee3772.svg"]], "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": "Ions et compos\u00e9s ioniques", "tags": [], "metadata": {"description": "
Faire le lien entre la formule chimique d'un ion, sa charge électrique et le nombre d'électrons gagnés/perdus par l'atome dont il est issu.
", "licence": "Creative Commons Attribution-NonCommercial 4.0 International"}, "statement": "Ions et composés ioniques
\nEn cliquant sur \"essayer une autre question comme celle ci\" vous aurez accès à une nouvelle question tirée au sort.
", "advice": "Exercice 1 :
\nLa valeur de la charge électrique se lit en exposant
\nLa charge électrique d'un anion est négative, celle d'un cation est positive
\nLa charge électrique d'un électron est de -1, celle de l'atome est nulle (par définition) donc :
\n\n- en gagnant un électron, la charge d'un atome diminue et devient négative
\n- en perdant un électron, la charge d'un atome augmente et devient positive
\n
\nExercice 2 :
\nOn peut procéder par tatonnements. En partant d'un ratio de un pour un :
\n\n- on calcule la charge totale
\n- si elle est nulle on a trouvé les bonnes proportions
\n- si elle est négative, on ajoute un cation
\n- si elle est positive, on ajoute un anion
\n
\nPar exemple pour le phosphure ($\\mathrm{P^{3-}}$) de calcium ($\\mathrm{Ca^{2+}}$) :
\n\n- $\\mathrm{P^{3-}}$ + $\\mathrm{Ca^{2+}}$ donne une charge de -3 + 2 = -1 < 0, donc on ajoute un ion calcium
\n- $\\mathrm{P^{3-}}$ + 2 $\\mathrm{Ca^{2+}}$ donne une charge de -3 + 2 x 2 = 1 > 0, donc on ajoute un ion phosphure
\n- 2 $\\mathrm{P^{3-}}$ + 2 $\\mathrm{Ca^{2+}}$ donne une charge de 2x(-3) + 2x2 = -2 < 0, donc on ajoute un ion calcium
\n- 2 $\\mathrm{P^{3-}}$ + 3 $\\mathrm{Ca^{2+}}$ donne une charge de 2x(-3) + 3x2 = 0, on a trouvé les bonnes proportions
\n
\nIl faut donc 3 ions calcium pour 2 ions phosphure, la formule du phosphure de calcium est donc $\\mathrm{Ca_3P_2}$
", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"ions": {"name": "ions", "group": "partie ions courants", "definition": "['$\\\\mathrm{H^+}$':'hydrog\u00e8ne',\n '$\\\\mathrm{Na^+}$':'sodium',\n '$\\\\mathrm{K^+}$':'potassium',\n '$\\\\mathrm{Ca^{2+}}$':'calcium',\n '$\\\\mathrm{Mg^{2+}}$':'magn\u00e9sium',\n '$\\\\mathrm{Cl^-}$':'chlorure',\n '$\\\\mathrm{F^-}$':'fluorure']", "description": "", "templateType": "anything", "can_override": false}, "ions_names": {"name": "ions_names", "group": "partie ions courants", "definition": "values(ions)", "description": "", "templateType": "anything", "can_override": false}, "ions_symbols": {"name": "ions_symbols", "group": "partie ions courants", "definition": "keys(ions)", "description": "", "templateType": "anything", "can_override": false}, "anion": {"name": "anion", "group": "Ungrouped variables", "definition": "random(anions)", "description": "", "templateType": "anything", "can_override": false}, "cation": {"name": "cation", "group": "Ungrouped variables", "definition": "random(filter(abs(c['chi']-anion['chi']) > 1.7,c,cations))", "description": "", "templateType": "anything", "can_override": false}, "cations": {"name": "cations", "group": "Ungrouped variables", "definition": "[['symbole':'$\\\\mathrm{Li^+}$','nom':'lithium','chi':0.98,'charge':1],\n ['symbole':'$\\\\mathrm{Na^+}$','nom':'sodium','chi':0.93,'charge':1],\n ['symbole':'$\\\\mathrm{K^+}$','nom':'potassium','chi':0.82,'charge':1],\n ['symbole':'$\\\\mathrm{Be^{2+}}$','nom':'b\u00e9rylium','chi':1.57,'charge':2],\n ['symbole':'$\\\\mathrm{Mg^{2+}}$','nom':'magn\u00e9sium','chi':1.31,'charge':2],\n ['symbole':'$\\\\mathrm{Ca^{2+}}$','nom':'calcium','chi':1,'charge':2],\n ['symbole':'$\\\\mathrm{Al^{3+}}$','nom':'aluminium','chi':1.61,'charge':3]]", "description": "", "templateType": "anything", "can_override": false}, "anions": {"name": "anions", "group": "Ungrouped variables", "definition": "[['symbole':'$\\\\mathrm{N^{3-}}$','nom':'nitrure','chi':3.04,'charge':-3],\n ['symbole':'$\\\\mathrm{O^{2-}}$','nom':'oxyde','chi':3.44,'charge':-2],\n ['symbole':'$\\\\mathrm{S^{2-}}$','nom':'sulfure','chi':2.58,'charge':-2],\n ['symbole':'$\\\\mathrm{F^-}$','nom':'fluorure','chi':3.98,'charge':-1],\n ['symbole':'$\\\\mathrm{Cl^-}$','nom':'chlorure','chi':3.16,'charge':-1]]", "description": "", "templateType": "anything", "can_override": false}, "anion_symbole": {"name": "anion_symbole", "group": "Ungrouped variables", "definition": "split(anion['symbole'][9..11],'^')[0]", "description": "", "templateType": "anything", "can_override": false}, "cation_symbole": {"name": "cation_symbole", "group": "Ungrouped variables", "definition": "split(cation['symbole'][9..11],'^')[0]", "description": "", "templateType": "anything", "can_override": false}, "formulas": {"name": "formulas", "group": "Ungrouped variables", "definition": "[cation_symbole+anion_symbole,\n cation_symbole+anion_symbole+'2',\n cation_symbole+anion_symbole+'3',\n cation_symbole+anion_symbole+'4',\n cation_symbole+'2'+anion_symbole,\n cation_symbole+'3'+anion_symbole,\n cation_symbole+'4'+anion_symbole,\n cation_symbole+'3'+anion_symbole+'2',\n cation_symbole+'2'+anion_symbole+'3',\n cation_symbole+'4'+anion_symbole+'3',\n cation_symbole+'3'+anion_symbole+'4',\n ]", "description": "", "templateType": "anything", "can_override": false}, "true_formula": {"name": "true_formula", "group": "Ungrouped variables", "definition": "if( \n cation_n=1 and anion_n=1,\n cation_symbole+anion_symbole,\n if(\n cation_n=1,\n cation_symbole+anion_symbole+'{anion_n}',\n if(\n anion_n=1,\n cation_symbole+'{cation_n}'+anion_symbole,\n cation_symbole+'{cation_n}'+anion_symbole+'{anion_n}',\n )\n )\n )\n", "description": "", "templateType": "anything", "can_override": false}, "anion_n": {"name": "anion_n", "group": "Ungrouped variables", "definition": "cation['charge']/gcd(cation['charge'],anion['charge'])", "description": "", "templateType": "anything", "can_override": false}, "cation_n": {"name": "cation_n", "group": "Ungrouped variables", "definition": "-anion['charge']/gcd(cation['charge'],anion['charge'])", "description": "", "templateType": "anything", "can_override": false}, "mark_matrix": {"name": "mark_matrix", "group": "Ungrouped variables", "definition": "map(award(1,formula=true_formula),formula,formulas)", "description": "", "templateType": "anything", "can_override": false}, "ion1": {"name": "ion1", "group": "partie notation", "definition": "random(ions_bis)", "description": "", "templateType": "anything", "can_override": false}, "ion2": {"name": "ion2", "group": "partie notation", "definition": "random(ions_bis except ion1)", "description": "", "templateType": "anything", "can_override": false}, "ions_bis": {"name": "ions_bis", "group": "partie notation", "definition": "[['symbole':'$\\\\mathrm{Na^+}$','nom':'sodium','atome_nom':'sodium','atome_symbole':'Na','charge':1],\n ['symbole':'$\\\\mathrm{K^+}$','nom':'potassium','atome_nom':'potassium','atome_symbole':'K','charge':1],\n ['symbole':'$\\\\mathrm{Mg^{2+}}$','nom':'magn\u00e9sium','atome_nom':'magn\u00e9sium','atome_symbole':'Mg','charge':2],\n ['symbole':'$\\\\mathrm{Ca^{2+}}$','nom':'calcium','atome_nom':'calcium','atome_symbole':'Ca','charge':2],\n ['symbole':'$\\\\mathrm{N^{3-}}$','nom':'nitrure','atome_nom':'azote','atome_symbole':'N','charge':-3],\n ['symbole':'$\\\\mathrm{S^{2-}}$','nom':'sulfure','atome_nom':'soufre','atome_symbole':'S','charge':-2],\n ['symbole':'$\\\\mathrm{F^-}$','nom':'fluorure','atome_nom':'fluor','atome_symbole':'F','charge':-1],\n ['symbole':'$\\\\mathrm{Cl^-}$','nom':'chlorure','atome_nom':'chlore','atome_symbole':'Cl','charge':-1]]", "description": "", "templateType": "anything", "can_override": false}, "formules": {"name": "formules", "group": "partie notation", "definition": "map(ion2['atome_symbole']+''+if(n>1,string(n),'')+'+',n,1..4)+\nmap(ion2['atome_symbole']+''+if(n>1,string(n),'')+'-',n,1..4)", "description": "", "templateType": "anything", "can_override": false}, "mark_matrix_notation": {"name": "mark_matrix_notation", "group": "partie notation", "definition": "map(award(1,n=ion2['charge']),n,1..4)+\nmap(award(1,n=-ion2['charge']),n,1..4)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["anion", "cation", "cations", "anions", "anion_symbole", "cation_symbole", "formulas", "true_formula", "anion_n", "cation_n", "mark_matrix"], "variable_groups": [{"name": "partie notation", "variables": ["ion1", "ion2", "ions_bis", "formules", "mark_matrix_notation"]}, {"name": "partie ions courants", "variables": ["ions", "ions_symbols", "ions_names"]}], "functions": {}, "preamble": {"js": "", "css": "* {\n font-family: Trebuchet MS;\n}\n\n"}, "parts": [{"type": "gapfill", "useCustomName": true, "customName": "Formule d'un ion", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "prompt": "L'ion {ion1['nom']} de formule {ion1['symbole']} porte une charge électrique de [[0]] charges élementaires. C'est donc un [[1]].
\nIl est formé lorsqu'un atome de {ion1['atome_nom']} a [[2]] [[3]] électron(s).
\n
\nL'atome de {ion2['atome_nom']} de symbole {ion2['atome_symbole']} peut {if(ion2['charge']>0,'perdre','gagner')} {abs(ion2['charge'])} électron(s).
\nIl forme alors un [[4]] portant une charge électrique [[5]]. Sa formule est donc : [[6]]
\n\n\nindication 1 : lire la formule d'un ion monoatomique
\nLa formule d'un ion monoatomique est composée du symbole de l'atome dont il est issu, avec en exposant la valeur de la charge électrique portée par l'ion \nindication 2 : charge d'un électron
\nla charge d'un électron est de -1 ", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "charge1", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "minValue": "ion1['charge']", "maxValue": "ion1['charge']", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "ion1['charge']", "showFractionHint": true, "notationStyles": ["si-fr", "eu", "plain-eu"], "correctAnswerStyle": "si-fr"}, {"type": "1_n_2", "useCustomName": true, "customName": "type d'ion1", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "dropdownlist", "displayColumns": 0, "showBlankOption": true, "showCellAnswerState": true, "interpretedAnswerForm": "list of list of boolean", "choices": ["anion", "cation"], "matrix": ["award(1,ion1['charge']<0)", "award(1,ion1['charge']>0)"], "distractors": ["", ""]}, {"type": "1_n_2", "useCustomName": true, "customName": "perte/gain", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "dropdownlist", "displayColumns": 0, "showBlankOption": true, "showCellAnswerState": true, "interpretedAnswerForm": "list of list of boolean", "choices": ["gagne", "perdu"], "matrix": ["award(1,ion1['charge']<0)", "award(1,ion1['charge']>0)"], "distractors": ["", ""]}, {"type": "numberentry", "useCustomName": true, "customName": "Delta_\u00e9lectrons", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "minValue": "abs(ion1['charge'])", "maxValue": "abs(ion1['charge'])", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "abs(ion1['charge'])", "showFractionHint": true, "notationStyles": ["si-fr", "eu", "plain-eu"], "correctAnswerStyle": "si-fr"}, {"type": "1_n_2", "useCustomName": true, "customName": "type d'ion2", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "dropdownlist", "displayColumns": 0, "showBlankOption": true, "showCellAnswerState": true, "interpretedAnswerForm": "list of list of boolean", "choices": ["anion", "cation"], "matrix": ["award(1,ion2['charge']<0)", "award(1,ion2['charge']>0)"], "distractors": ["", ""]}, {"type": "numberentry", "useCustomName": true, "customName": "charge2", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "minValue": "ion2['charge']", "maxValue": "ion2['charge']", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "ion2['charge']", "showFractionHint": true, "notationStyles": ["si-fr", "eu", "plain-eu"], "correctAnswerStyle": "si-fr"}, {"type": "1_n_2", "useCustomName": true, "customName": "formule", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": "4", "showBlankOption": true, "showCellAnswerState": true, "interpretedAnswerForm": "list of list of boolean", "choices": "formules", "matrix": "mark_matrix_notation"}], "sortAnswers": false, "inlineCorrectAnswer": true}, {"type": "gapfill", "useCustomName": true, "customName": "Compos\u00e9s ioniques", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "prompt": "L'ion {cation['nom']} de symbole {cation['symbole']} peut s'associer avec l'ion {anion['nom']} de symbole {anion['symbole']} pour former un composé ionique : {if(anion['nom']='oxyde',\"l'\",'le ')}{anion['nom']} {if(cation['nom']='aluminium',\"d'\",'de ')}{cation['nom']}.
\n\n- La charge électrique de l'ion {cation['nom']} est de [[0]] charge(s) élémentaire(s),
\n- La charge électrique de l'ion {anion['nom']} est de [[1]] charge(s) élémentaire(s),
\n
\nÀ notre échelle le composé est électriquement neutre : la charge électrique des anions doit compenser celle des cations.
\nIl faut donc [[2]] ion(s) {cation['nom']} pour [[3]] ion(s) {anion['nom']}
\n{if(anion['nom']='oxyde',\"L'\",'Le ')}{anion['nom']} {if(cation['nom']='aluminium',\"d'\",'de ')}{cation['nom']} a donc pour formule : [[4]]
\n\nindication : formule d'un composé ionique
\nLa formule d'un composé ionique précise le ratio d'ions dans le composé (les charges sont omises), par exemple dans NaCl, on trouve un ion sodium (Na+) pour un ion chlorure (Cl-). Dans MgCl2 on trouvre un ion magnésium (Mg2+) pour deux ions chlorure. ", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "Qion1", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "minValue": "cation['charge']", "maxValue": "cation['charge']", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "cation['charge']", "showFractionHint": true, "notationStyles": ["si-fr", "eu", "plain-eu"], "correctAnswerStyle": "si-fr"}, {"type": "numberentry", "useCustomName": true, "customName": "Qion2", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "minValue": "anion['charge']", "maxValue": "anion['charge']", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "anion['charge']", "showFractionHint": true, "notationStyles": ["si-fr", "eu", "plain-eu"], "correctAnswerStyle": "si-fr"}, {"type": "numberentry", "useCustomName": true, "customName": "Nion1", "marks": "0", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "minValue": "-anion['charge']/gcd(cation['charge'],anion['charge'])", "maxValue": "-anion['charge']/gcd(cation['charge'],anion['charge'])", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "-anion['charge']/gcd(cation['charge'],anion['charge'])", "showFractionHint": true, "notationStyles": ["si-fr", "eu", "plain-eu"], "correctAnswerStyle": "si-fr"}, {"type": "numberentry", "useCustomName": true, "customName": "Nion2", "marks": "0", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "minValue": "cation['charge']/gcd(cation['charge'],-anion['charge'])", "maxValue": "cation['charge']/gcd(cation['charge'],-anion['charge'])", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "cation['charge']/gcd(cation['charge'],-anion['charge'])", "showFractionHint": true, "notationStyles": ["si-fr", "eu", "plain-eu"], "correctAnswerStyle": "si-fr"}, {"type": "1_n_2", "useCustomName": true, "customName": "formule", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": "4", "showBlankOption": true, "showCellAnswerState": true, "interpretedAnswerForm": "list of list of boolean", "choices": "formulas", "matrix": "mark_matrix"}], "sortAnswers": false, "inlineCorrectAnswer": true}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "showAllParts": false, "contributors": [{"name": "Vincent Tugaye", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21425/"}], "resources": ["question-resources/I1_fluor.svg", "question-resources/I1_b\u00e9rylium_jL8Ixe4.svg"]}]}], "contributors": [{"name": "Vincent Tugaye", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21425/"}]}