// Numbas version: exam_results_page_options {"name": "Potenser 1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": [], "name": "Potenser 1", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "

Learn from your mistakes and have another attempt by clicking on 'Try another question like this one' until you get full marks.

", "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers"], "": []}, "parts": [{"prompt": "

Skriv som heltall eller brøk

\n

$\\var{a}^\\var{n} =$[[0]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"notallowed": {"message": "

Ikke oppgi svaret som en potens

", "showStrings": false, "strings": ["^"], "partialCredit": 0}, "vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "answersimplification": "std", "scripts": {}, "answer": "{a}^{n}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"stepsPenalty": "0", "prompt": "

Skriv som heltall eller brøk:

\n

$(\\var{b})^\\var{m} =$[[0]]

\n

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "

NB: det er forskjell på $-a^n$ og $(-a)^n$. Eksempel:

\n

$-7^4 = -7\\cdot7\\cdot7\\cdot7=-2401$

\n

$(-7)^4 = (-7)\\cdot(-7)\\cdot (-7)\\cdot (-7)=2401$

\n

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "gaps": [{"notallowed": {"message": "

Ikke oppgi svaret som en potens.

", "showStrings": false, "strings": ["^"], "partialCredit": 0}, "vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{b}^{m}", "marks": "1", "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"stepsPenalty": 0, "prompt": "

Skriv som heltall eller brøk:

\n

$\\var{c}^0 =$[[0]]

\n

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "

Husk at $a^0 =1$ per definisjon.

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "gaps": [{"notallowed": {"message": "

Ikke oppgi svaret som en potens.

", "showStrings": false, "strings": ["^"], "partialCredit": 0}, "vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "1", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"stepsPenalty": 0, "prompt": "

Skriv som heltall eller brøk

\n

$\\var{d}^{-\\var{n}} = $[[0]] 

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "

Husk at 

\n

$a^{-n} =\\frac{1}{a^n} $

\n

Eksempel:

\n

$3^{-4} =\\frac{1}{3^4}=\\frac{1}{81}$ 

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "gaps": [{"notallowed": {"message": "

Ikke oppgi svaret som en potens.

", "showStrings": false, "strings": ["^"], "partialCredit": 0}, "vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "1/({d}^({n}))", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "extensions": [], "statement": "

NB! I denne oppgaven skal du IKKE gi svaret som en potens.

", "variable_groups": [{"variables": ["a", "b", "c", "d", "n", "m"], "name": "numerical fractions"}], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"a": {"definition": "random(2..5)", "templateType": "anything", "group": "numerical fractions", "name": "a", "description": ""}, "c": {"definition": "random(2..50)", "templateType": "anything", "group": "numerical fractions", "name": "c", "description": ""}, "b": {"definition": "random(-3..-2)", "templateType": "anything", "group": "numerical fractions", "name": "b", "description": ""}, "d": {"definition": "random(2..5)", "templateType": "anything", "group": "numerical fractions", "name": "d", "description": ""}, "m": {"definition": "random(2..4 except 3)", "templateType": "anything", "group": "numerical fractions", "name": "m", "description": ""}, "n": {"definition": "random(2..3)", "templateType": "anything", "group": "numerical fractions", "name": "n", "description": ""}}, "metadata": {"description": "

Working with powers

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Ida Friestad Pedersen", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/792/"}]}]}], "contributors": [{"name": "Ida Friestad Pedersen", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/792/"}]}