// Numbas version: finer_feedback_settings {"name": "Voltage and Current", "metadata": {"description": "
A test of resistor circuit knowledge.
", "licence": "None specified"}, "duration": 0, "percentPass": "40", "showQuestionGroupNames": true, "shuffleQuestionGroups": false, "showstudentname": true, "question_groups": [{"name": "Introduction", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": [""], "variable_overrides": [[]], "questions": [{"name": "Introduction", "extensions": [], "custom_part_types": [], "resources": [["question-resources/UTC.png", "/srv/numbas/media/question-resources/UTC.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Stephen Blackwell", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/14103/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "information", "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": "\nAnswer all questions.
\nEnsure to use the correct precision, this is advised at each question answer box.
\nOn completion of the questions, print your results summary (button on last page) and upload to canvas.
\nGood luck!
"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}]}, {"name": "Voltage", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": ["", ""], "variable_overrides": [[], []], "questions": [{"name": "Voltage across R1", "extensions": [], "custom_part_types": [], "resources": [["question-resources/series.png", "/srv/numbas/media/question-resources/series.png"], ["question-resources/parallel_QahytBG.png", "/srv/numbas/media/question-resources/parallel_QahytBG.png"], ["question-resources/parallel_with_battery.gif", "/srv/numbas/media/question-resources/parallel_with_battery.gif"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Stephen Blackwell", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/14103/"}], "tags": [], "metadata": {"description": "Simple series resistor circuits
", "licence": "All rights reserved"}, "statement": "Calculate the voltage across R1.
\n", "advice": "You need to consider Kirchoff's law.
", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"R1": {"name": "R1", "group": "Ungrouped variables", "definition": "random(500 .. 1500#10)", "description": "", "templateType": "randrange", "can_override": false}, "R2": {"name": "R2", "group": "Ungrouped variables", "definition": "random(1000 .. 2000#100)", "description": "", "templateType": "randrange", "can_override": false}, "R3": {"name": "R3", "group": "Ungrouped variables", "definition": "random(100 .. 200#10)", "description": "", "templateType": "randrange", "can_override": false}, "BAT": {"name": "BAT", "group": "Ungrouped variables", "definition": "random(10 .. 20#1)", "description": "", "templateType": "randrange", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["R1", "R2", "R3", "BAT"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": true, "customName": "Resistor Voltage", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Calculate the voltage across R1
\n\nBattery = {BAT} volts
\nR1 = {R1} ohms
\nR2 = {R2} ohms
\nR3 = {R3} ohms
\n\nVoltage across R1 = [[0]] volts
\n", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "BAT", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "BAT", "maxValue": "BAT", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "2", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}, {"name": "Voltage across R1 Series", "extensions": [], "custom_part_types": [], "resources": [["question-resources/series.png", "/srv/numbas/media/question-resources/series.png"], ["question-resources/parallel_QahytBG.png", "/srv/numbas/media/question-resources/parallel_QahytBG.png"], ["question-resources/parallel_with_battery.gif", "/srv/numbas/media/question-resources/parallel_with_battery.gif"], ["question-resources/series_with_battery.png", "/srv/numbas/media/question-resources/series_with_battery.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Stephen Blackwell", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/14103/"}], "tags": [], "metadata": {"description": "Simple series resistor circuits
", "licence": "All rights reserved"}, "statement": "Calculate the voltage across R1.
\n", "advice": "More than one step is required.
\nCalculate the current and then use ohms law.
", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"R1": {"name": "R1", "group": "Ungrouped variables", "definition": "random(500 .. 1500#10)", "description": "", "templateType": "randrange", "can_override": false}, "R2": {"name": "R2", "group": "Ungrouped variables", "definition": "random(1000 .. 2000#100)", "description": "", "templateType": "randrange", "can_override": false}, "R3": {"name": "R3", "group": "Ungrouped variables", "definition": "random(100 .. 200#10)", "description": "", "templateType": "randrange", "can_override": false}, "BAT": {"name": "BAT", "group": "Ungrouped variables", "definition": "random(10 .. 20#1)", "description": "", "templateType": "randrange", "can_override": false}, "RT": {"name": "RT", "group": "Ungrouped variables", "definition": "R1+R2+R3", "description": "", "templateType": "anything", "can_override": false}, "IT": {"name": "IT", "group": "Ungrouped variables", "definition": "BAT/RT", "description": "", "templateType": "anything", "can_override": false}, "VR1": {"name": "VR1", "group": "Ungrouped variables", "definition": "IT*R1", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["R1", "R2", "R3", "BAT", "RT", "IT", "VR1"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": true, "customName": "Resistor Voltage", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Calculate the total resistance of the circuit, current then find the voltage across R1.
\n\nBattery = {BAT} volts
\nR1 = {R1} ohms
\nR2 = {R2} ohms
\nR3 = {R3} ohms
\n\nVoltage across R1 = [[0]] volts
\n", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "VR1", "marks": "3", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "VR1-0.1", "maxValue": "VR1+0.1", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "2", "precisionPartialCredit": "0", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}]}, {"name": "Current", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": ["", ""], "variable_overrides": [[], []], "questions": [{"name": "Current through R1 Series", "extensions": [], "custom_part_types": [], "resources": [["question-resources/series.png", "/srv/numbas/media/question-resources/series.png"], ["question-resources/parallel_QahytBG.png", "/srv/numbas/media/question-resources/parallel_QahytBG.png"], ["question-resources/parallel_with_battery.gif", "/srv/numbas/media/question-resources/parallel_with_battery.gif"], ["question-resources/series_with_battery.png", "/srv/numbas/media/question-resources/series_with_battery.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Stephen Blackwell", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/14103/"}], "tags": [], "metadata": {"description": "Simple series resistor circuits
", "licence": "All rights reserved"}, "statement": "Calculate the current through R1.
\n", "advice": "More than one step is required.
\nCalculate the current and then use ohms law.
", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"R1": {"name": "R1", "group": "Ungrouped variables", "definition": "random(500 .. 1500#10)", "description": "", "templateType": "randrange", "can_override": false}, "R2": {"name": "R2", "group": "Ungrouped variables", "definition": "random(1000 .. 2000#100)", "description": "", "templateType": "randrange", "can_override": false}, "R3": {"name": "R3", "group": "Ungrouped variables", "definition": "random(100 .. 200#10)", "description": "", "templateType": "randrange", "can_override": false}, "BAT": {"name": "BAT", "group": "Ungrouped variables", "definition": "random(10 .. 20#1)", "description": "", "templateType": "randrange", "can_override": false}, "RT": {"name": "RT", "group": "Ungrouped variables", "definition": "R1+R2+R3", "description": "", "templateType": "anything", "can_override": false}, "IT": {"name": "IT", "group": "Ungrouped variables", "definition": "BAT/RT", "description": "", "templateType": "anything", "can_override": false}, "VR1": {"name": "VR1", "group": "Ungrouped variables", "definition": "IT*R1", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["R1", "R2", "R3", "BAT", "RT", "IT", "VR1"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": true, "customName": "Resistor Voltage", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Calculate the current through R1.
\n\nBattery = {BAT} volts
\nR1 = {R1} ohms
\nR2 = {R2} ohms
\nR3 = {R3} ohms
\n\nCurrent through R1 = [[0]] amps
\n", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "CUR", "marks": "3", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "IT-0.1", "maxValue": "IT+0.1", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "2", "precisionPartialCredit": "0", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}, {"name": "Current through R1", "extensions": [], "custom_part_types": [], "resources": [["question-resources/series.png", "/srv/numbas/media/question-resources/series.png"], ["question-resources/parallel_QahytBG.png", "/srv/numbas/media/question-resources/parallel_QahytBG.png"], ["question-resources/parallel_with_battery.gif", "/srv/numbas/media/question-resources/parallel_with_battery.gif"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Stephen Blackwell", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/14103/"}], "tags": [], "metadata": {"description": "Simple series resistor circuits
", "licence": "All rights reserved"}, "statement": "Calculate the current through R1.
\n", "advice": "Ohms law is the key.
", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"R1": {"name": "R1", "group": "Ungrouped variables", "definition": "random(500 .. 1500#10)", "description": "", "templateType": "randrange", "can_override": false}, "R2": {"name": "R2", "group": "Ungrouped variables", "definition": "random(1000 .. 2000#100)", "description": "", "templateType": "randrange", "can_override": false}, "R3": {"name": "R3", "group": "Ungrouped variables", "definition": "random(100 .. 200#10)", "description": "", "templateType": "randrange", "can_override": false}, "BAT": {"name": "BAT", "group": "Ungrouped variables", "definition": "random(10 .. 20#1)", "description": "", "templateType": "randrange", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["R1", "R2", "R3", "BAT"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": true, "customName": "Resistor Current", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Calculate the current through R1
\n\nBattery = {BAT} volts
\nR1 = {R1} ohms
\nR2 = {R2} ohms
\nR3 = {R3} ohms
\n\nCurrent Through R1 = [[0]] amps
\n", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "CUR", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "(BAT/R1)-0.1", "maxValue": "(BAT/R1)+0.1", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "2", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}]}], "allowPrinting": true, "navigation": {"allowregen": true, "reverse": true, "browse": true, "allowsteps": true, "showfrontpage": true, "showresultspage": "oncompletion", "navigatemode": "sequence", "onleave": {"action": "warnifunattempted", "message": ""}, "preventleave": true, "startpassword": ""}, "timing": {"allowPause": true, "timeout": {"action": "none", "message": ""}, "timedwarning": {"action": "none", "message": ""}}, "feedback": {"showactualmark": true, "showtotalmark": true, "showanswerstate": true, "allowrevealanswer": true, "advicethreshold": 0, "intro": "", "end_message": "", "reviewshowscore": true, "reviewshowfeedback": true, "reviewshowexpectedanswer": true, "reviewshowadvice": true, "feedbackmessages": [], "enterreviewmodeimmediately": true, "showexpectedanswerswhen": "inreview", "showpartfeedbackmessageswhen": "always", "showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showadvicewhen": "inreview"}, "diagnostic": {"knowledge_graph": {"topics": [], "learning_objectives": []}, "script": "diagnosys", "customScript": ""}, "type": "exam", "contributors": [{"name": "Stephen Blackwell", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/14103/"}, {"name": "Stephen Wilson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/18225/"}], "extensions": [], "custom_part_types": [], "resources": [["question-resources/UTC.png", "/srv/numbas/media/question-resources/UTC.png"], ["question-resources/series.png", "/srv/numbas/media/question-resources/series.png"], ["question-resources/parallel_QahytBG.png", "/srv/numbas/media/question-resources/parallel_QahytBG.png"], ["question-resources/parallel_with_battery.gif", "/srv/numbas/media/question-resources/parallel_with_battery.gif"], ["question-resources/series_with_battery.png", "/srv/numbas/media/question-resources/series_with_battery.png"]]}