// Numbas version: exam_results_page_options {"name": "Ida's copy of sp\u00f8rsm\u00e5l 4", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"ungrouped_variables": [], "rulesets": {}, "parts": [{"marks": 0, "scripts": {}, "gaps": [{"checkVariableNames": true, "expectedVariableNames": ["w"], "checkingAccuracy": 0.001, "marks": "1", "scripts": {"mark": {"script": "// Parse the student's answer as a syntax tree\nvar studentTree = Numbas.jme.compile(this.studentAnswer,Numbas.jme.builtinScope);\n\n// Create the pattern to match against \n// We just want to check that the student has written \"something to the power of something\"\nvar rule = Numbas.jme.compile('?? / ??');\n\n// Check the student's answer matches the pattern. \nvar m = Numbas.jme.display.matchTree(rule,studentTree,true);\n\n// If not, take away marks\nif(!m) {\n this.multCredit(0,'Your answer is not in the form $m/n$.');\n}", "order": "after"}}, "failureRate": 1, "unitTests": [], "vsetRangePoints": 5, "customMarkingAlgorithm": "", "variableReplacements": [], "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "vsetRange": [0, 1], "showPreview": true, "type": "jme", "answer": "1/({g}w)", "showCorrectAnswer": true, "checkingType": "absdiff", "extendBaseMarkingAlgorithm": true}], "unitTests": [], "stepsPenalty": "0", "customMarkingAlgorithm": "", "showFeedbackIcon": true, "prompt": "
\n$\\displaystyle \\frac{\\frac{w+\\var{f}}{\\var{g}w}}{w+\\var{f}}=$ [[0]]
\n\n", "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "type": "gapfill", "steps": [{"variableReplacementStrategy": "originalfirst", "marks": 0, "variableReplacements": [], "type": "information", "unitTests": [], "prompt": "\n
Her er noen eksempler:
\n\\[\\frac{7}{\\frac{5}{6}}=7\\div\\frac{5}{6} =7\\times\\frac{6}{5}=\\frac{42}{5}\\]
\n\\[\\frac{\\frac{7}{5}}{6}=\\frac{7}{5}\\div 6=\\frac{7}{5}\\times \\frac{1}{6}=\\frac{7}{30}\\]
\n\\[\\frac{\\frac{9}{11}}{\\frac{5}{3}}=\\frac{9}{11}\\div\\frac{5}{3}=\\frac{9}{11}\\times \\frac{3}{5}=\\frac{27}{55}\\]
", "customMarkingAlgorithm": "", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "extendBaseMarkingAlgorithm": true}], "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "sortAnswers": false}], "name": "Ida's copy of sp\u00f8rsm\u00e5l 4", "extensions": [], "metadata": {"description": "Add, subtract, multiply and divide
Regn ut og forkort om mulig.
\nBruk / for å skrive divisjon, f.eks skriver du (2a-1)/(x+3) for å få $\\frac{2a-1}{x+3}$.
\n", "tags": [], "type": "question", "contributors": [{"name": "Ida Landg\u00e4rds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2336/"}]}]}], "contributors": [{"name": "Ida Landg\u00e4rds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2336/"}]}