// Numbas version: exam_results_page_options {"name": "Week 1 homework", "metadata": {"description": "

This is my first trial of Numbas.

", "licence": "None specified"}, "duration": 0, "percentPass": 0, "showQuestionGroupNames": false, "showstudentname": true, "question_groups": [{"name": "Group", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": ["", "", ""], "questions": [{"name": "Given a quantity per day, how many per fortnight?", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Simon Hands", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/8100/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "

I eat {n_crac} crackers per day. They're very good - I like to try different flavours.

", "advice": "
\n
\n

Each day, I eat {n_crac} crackers. There are 7 days in a week and 2 weeks in a fortnight

\n

To find the number of apples I eat in a fortnight, multiply {n_crac} by 7 x 2.

\n

I eat {14*n_crac} crackers per week.

\n
\n
\n

", "rulesets": {}, "variables": {"n_crac": {"name": "n_crac", "group": "Ungrouped variables", "definition": "random(2 .. 18#1)", "description": "

Daily intake of crackers

", "templateType": "randrange"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["n_crac"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

How many crackers do I eat in a fortnight?

", "minValue": "14*n_crac", "maxValue": "14*n_crac", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "differentiate by power rule", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Bj\u00f6rn R\u00fcffer", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/8088/"}], "tags": [], "metadata": {"description": "

this is a test only

", "licence": "All rights reserved"}, "statement": "

Let $f(x) = \\simplify{ {a} x^{n} }$.

", "advice": "

$f(x)= \\simplify{ x^{n} }$.

\n

\n

By power rule:

\n

\n

$f'(x)= \\simplify{ {n}x^{n-1} }$.

", "rulesets": {}, "variables": {"n": {"name": "n", "group": "Ungrouped variables", "definition": "random(2 .. 10#1)", "description": "

the exponent

", "templateType": "randrange"}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(2 .. 8#1)", "description": "

the coefficient

", "templateType": "randrange"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["n", "a"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "jme", "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": "

What is $f'(x)$?

", "alternatives": [{"type": "jme", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "alternativeFeedbackMessage": "

Not quite right.

", "useAlternativeFeedback": true, "answer": "{a} * x^{n-1}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "valuegenerators": [{"name": "x", "value": ""}]}, {"type": "jme", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "alternativeFeedbackMessage": "

Not quite right.

", "useAlternativeFeedback": true, "answer": "{(n-1) * a} * x^{n-1}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "valuegenerators": [{"name": "x", "value": ""}]}], "answer": "{n * a} * x^{n-1}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "valuegenerators": [{"name": "x", "value": ""}]}, {"type": "jme", "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": "

What is $\\int f(x)\\,\\mathrm{d}x$? Use $C$ for the constant of integration.

", "answer": "{a/(n+1)}*x^{n+1}+C", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "valuegenerators": [{"name": "c", "value": ""}, {"name": "x", "value": ""}]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Chemistry 8 - Moles and Concentration", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Peter Johnston", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/771/"}, {"name": "Chris Brown", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7202/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "

This question determines the students ability to understand the relationship between moles and concentration.

", "advice": "

The formula mass of NaOH is 40 g/mol. That is, 40 g of NaOH dissolved into 1000ml (1 litre) of solvent will give a 1 Molar solution (1 M). We need only {vol} mL ({decimal(vol/1000)} L) at {molar} M so 40 x {decimal(vol/1000)} L x {molar} M = {correct} g.

", "rulesets": {}, "variables": {"order": {"name": "order", "group": "Ungrouped variables", "definition": "shuffle(0..3)", "description": "", "templateType": "anything"}, "alts": {"name": "alts", "group": "Ungrouped variables", "definition": "[correct,wrong1,wrong2,wrong3]", "description": "", "templateType": "anything"}, "marks": {"name": "marks", "group": "Ungrouped variables", "definition": "[1,0,0,0]", "description": "", "templateType": "anything"}, "vol": {"name": "vol", "group": "Ungrouped variables", "definition": "random(1..9)*100", "description": "", "templateType": "anything"}, "molar": {"name": "molar", "group": "Ungrouped variables", "definition": "decimal(random(1..9)/10)", "description": "", "templateType": "anything"}, "moles": {"name": "moles", "group": "Ungrouped variables", "definition": "vol*molar/1000", "description": "", "templateType": "anything"}, "correct": {"name": "correct", "group": "Ungrouped variables", "definition": "sigformat(moles*mwt,2)", "description": "", "templateType": "anything"}, "wrong1": {"name": "wrong1", "group": "Ungrouped variables", "definition": "sigformat(vol*moles*mwt,2)", "description": "", "templateType": "anything"}, "wrong2": {"name": "wrong2", "group": "Ungrouped variables", "definition": "sigformat(vol/moles/mwt,2)", "description": "", "templateType": "anything"}, "mwt": {"name": "mwt", "group": "Ungrouped variables", "definition": "40", "description": "", "templateType": "anything"}, "wrong3": {"name": "wrong3", "group": "Ungrouped variables", "definition": "sigformat(vol*moles/mwt,2)", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["order", "alts", "marks", "vol", "molar", "moles", "mwt", "correct", "wrong1", "wrong2", "wrong3"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "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": "

How many grams of NaOH would you need to make {vol} mL of a {molar} M solution, given the molecular weight of NaOH is 40 g/mol?

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["{alts[order[0]]} g", "{alts[order[1]]} g", "{alts[order[2]]} g", "{alts[order[3]]} g", "Can’t remember how to do it.", "

Never seen before.

"], "matrix": ["marks[order[0]]", "marks[order[1]]", "marks[order[2]]", "marks[order[3]]", 0, 0], "distractors": ["", "", "", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}], "navigation": {"allowregen": true, "reverse": true, "browse": true, "allowsteps": true, "showfrontpage": true, "showresultspage": "oncompletion", "navigatemode": "sequence", "onleave": {"action": "none", "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": "", "reviewshowscore": true, "reviewshowfeedback": true, "reviewshowexpectedanswer": true, "reviewshowadvice": true, "feedbackmessages": []}, "contributors": [{"name": "Simon Hands", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/8100/"}], "extensions": [], "custom_part_types": [], "resources": []}