// Numbas version: exam_results_page_options {"navigation": {"showresultspage": "oncompletion", "allowregen": true, "showfrontpage": true, "preventleave": true, "browse": true, "onleave": {"message": "", "action": "none"}, "startpassword": "", "reverse": true, "allowsteps": true}, "feedback": {"showactualmark": true, "intro": "", "showtotalmark": true, "advicethreshold": 0, "showanswerstate": true, "allowrevealanswer": true, "feedbackmessages": []}, "percentPass": 0, "duration": 0, "showstudentname": true, "timing": {"timeout": {"message": "", "action": "none"}, "allowPause": true, "timedwarning": {"message": "", "action": "none"}}, "metadata": {"licence": "None specified", "description": ""}, "question_groups": [{"pickingStrategy": "all-ordered", "pickQuestions": 1, "name": "Group", "questions": [{"name": "Equations old", "extensions": [], "custom_part_types": [{"source": {"pk": 1, "author": {"name": "Christian Lawson-Perfect", "pk": 7}, "edit_page": "/part_type/1/edit"}, "name": "Yes/no", "short_name": "yes-no", "description": "

The student is shown two radio choices: \"Yes\" and \"No\". One of them is correct.

", "help_url": "", "input_widget": "radios", "input_options": {"correctAnswer": "if(eval(settings[\"correct_answer_expr\"]), 0, 1)", "hint": {"static": true, "value": ""}, "choices": {"static": true, "value": ["Yes", "No"]}}, "can_be_gap": true, "can_be_step": true, "marking_script": "mark:\nif(studentanswer=correct_answer,\n correct(),\n incorrect()\n)\n\ninterpreted_answer:\nstudentAnswer=0\n\ncorrect_answer:\nif(eval(settings[\"correct_answer_expr\"]),0,1)", "marking_notes": [{"name": "mark", "description": "This is the main marking note. It should award credit and provide feedback based on the student's answer.", "definition": "if(studentanswer=correct_answer,\n correct(),\n incorrect()\n)"}, {"name": "interpreted_answer", "description": "A value representing the student's answer to this part.", "definition": "studentAnswer=0"}, {"name": "correct_answer", "description": "", "definition": "if(eval(settings[\"correct_answer_expr\"]),0,1)"}], "settings": [{"name": "correct_answer_expr", "label": "Is the answer \"Yes\"?", "help_url": "", "hint": "An expression which evaluates to true or false.", "input_type": "mathematical_expression", "default_value": "true", "subvars": false}], "public_availability": "always", "published": true, "extensions": []}], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Mario Orsi", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/427/"}, {"name": "Leonardo Juliano", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3600/"}], "variablesTest": {"condition": "", "maxRuns": 100}, "variables": {"f": {"description": "", "templateType": "anything", "group": "Ungrouped variables", "name": "f", "definition": "random(2..25)"}, "c": {"description": "", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "definition": "random(2..20)"}, "a": {"description": "", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "definition": "random(2..20)"}, "b": {"description": "", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "definition": "random(2..15)"}, "prime": {"description": "", "templateType": "anything", "group": "Ungrouped variables", "name": "prime", "definition": "random(2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97)"}, "up": {"description": "", "templateType": "anything", "group": "Ungrouped variables", "name": "up", "definition": "(17d+2)(prime)/2"}, "down": {"description": "", "templateType": "anything", "group": "Ungrouped variables", "name": "down", "definition": "random(2,4,8,16)"}, "d": {"description": "", "templateType": "anything", "group": "Ungrouped variables", "name": "d", "definition": "random(2..10)"}}, "functions": {}, "variable_groups": [], "ungrouped_variables": ["a", "b", "c", "d", "f", "prime", "up", "down"], "rulesets": {}, "metadata": {"description": "", "licence": "None specified"}, "tags": [], "preamble": {"js": "", "css": ""}, "parts": [{"prompt": "

$\\var{a} x - \\var {c}= \\var{prime}$

\n

$x=$ 

", "useCustomName": true, "allowFractions": true, "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "maxValue": "(prime+c)/(a)", "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "minValue": "(prime+c)/(a)", "customName": "1)", "mustBeReduced": true, "mustBeReducedPC": "0", "scripts": {}, "variableReplacementStrategy": "originalfirst", "showFractionHint": true, "showFeedbackIcon": true, "marks": 1, "type": "numberentry", "correctAnswerStyle": "plain", "unitTests": [], "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "correctAnswerFraction": false}, {"prompt": "

$3(\\var{c}  x -2)+\\var{b}  x = 2$ 

\n

$x=$

\n

 [[0]]

\n

", "scripts": {}, "sortAnswers": false, "gaps": [{"useCustomName": true, "checkingAccuracy": 0.001, "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "failureRate": 1, "showCorrectAnswer": true, "unitTests": [], "customName": "1)", "valuegenerators": [], "showFeedbackIcon": true, "scripts": {}, "vsetRangePoints": 5, "variableReplacementStrategy": "originalfirst", "type": "jme", "vsetRange": [0, 1], "checkVariableNames": false, "marks": "2", "checkingType": "absdiff", "showPreview": true, "answer": "8/(3{c}+{b})", "extendBaseMarkingAlgorithm": true, "variableReplacements": []}], "variableReplacementStrategy": "originalfirst", "useCustomName": true, "extendBaseMarkingAlgorithm": true, "adaptiveMarkingPenalty": 0, "showFeedbackIcon": true, "customMarkingAlgorithm": "", "type": "gapfill", "showCorrectAnswer": true, "customName": "2)", "unitTests": [], "marks": 0, "variableReplacements": []}, {"prompt": "

$ \\var{d}x17+ 2( x - \\var{up}) = 0 $

", "displayColumns": 0, "useCustomName": true, "maxMarks": 0, "adaptiveMarkingPenalty": 0, "matrix": ["3", 0, 0, 0], "customMarkingAlgorithm": "", "showCorrectAnswer": true, "customName": "3)", "showFeedbackIcon": true, "choices": ["$ \\var{prime}$", "$\\var{a}$", "$ \\frac{\\var{f}}{3\\var{a}}$", "$3\\var{c}$"], "scripts": {}, "variableReplacementStrategy": "originalfirst", "minMarks": 0, "showCellAnswerState": true, "displayType": "radiogroup", "marks": 0, "type": "1_n_2", "unitTests": [], "shuffleChoices": false, "extendBaseMarkingAlgorithm": true, "distractors": ["", "", "", ""], "variableReplacements": []}, {"prompt": "

$ \\frac{x-1}{\\frac{3+\\frac{2+\\frac{1+\\frac{3+1}{4}}{2}}{3}}{4}}=2^{\\var{down}}$

\n

$x=$

", "useCustomName": true, "checkingAccuracy": 0.001, "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "failureRate": 1, "showCorrectAnswer": true, "unitTests": [], "customName": "4)", "checkVariableNames": false, "valuegenerators": [], "showFeedbackIcon": true, "scripts": {}, "vsetRangePoints": 5, "variableReplacementStrategy": "originalfirst", "type": "jme", "vsetRange": [0, 1], "marks": "4", "checkingType": "absdiff", "showPreview": true, "answer": "2^{down}+1", "extendBaseMarkingAlgorithm": true, "variableReplacements": []}, {"prompt": "

$ 3(9x + 3(x+3(\\var{c} + x)))+5x= 2x + \\var{d}  $ 

\n

$x=$ [[0]]

\n

", "scripts": {}, "sortAnswers": false, "gaps": [{"useCustomName": false, "checkingAccuracy": 0.001, "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "failureRate": 1, "showCorrectAnswer": true, "unitTests": [], "customName": "", "valuegenerators": [], "showFeedbackIcon": true, "scripts": {}, "vsetRangePoints": 5, "variableReplacementStrategy": "originalfirst", "type": "jme", "vsetRange": [0, 1], "checkVariableNames": false, "marks": "5", "checkingType": "absdiff", "showPreview": true, "answer": "({d}-27{c})/66", "extendBaseMarkingAlgorithm": true, "variableReplacements": []}], "variableReplacementStrategy": "originalfirst", "useCustomName": true, "extendBaseMarkingAlgorithm": true, "adaptiveMarkingPenalty": 0, "showFeedbackIcon": true, "customMarkingAlgorithm": "", "type": "gapfill", "showCorrectAnswer": true, "customName": "5)", "unitTests": [], "marks": 0, "variableReplacements": []}, {"prompt": "

Suppose $y=\\var{f}$, $x+7y+xy+2=5y \\Longrightarrow x=\\frac{2- \\var{f}}{1+\\var{f}} \\ \\ ? $

", "scripts": {}, "variableReplacementStrategy": "originalfirst", "useCustomName": true, "settings": {"correct_answer_expr": "false"}, "extendBaseMarkingAlgorithm": true, "adaptiveMarkingPenalty": 0, "showFeedbackIcon": true, "customMarkingAlgorithm": "", "type": "yes-no", "showCorrectAnswer": true, "customName": "6)", "unitTests": [], "marks": 1, "variableReplacements": []}], "advice": "", "statement": "

Solve the following exercises:

"}]}], "name": "Equations old", "showQuestionGroupNames": false, "contributors": [{"name": "Mario Orsi", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/427/"}, {"name": "Leonardo Juliano", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3600/"}], "extensions": [], "custom_part_types": [{"source": {"pk": 1, "author": {"name": "Christian Lawson-Perfect", "pk": 7}, "edit_page": "/part_type/1/edit"}, "name": "Yes/no", "short_name": "yes-no", "description": "

The student is shown two radio choices: \"Yes\" and \"No\". One of them is correct.

", "help_url": "", "input_widget": "radios", "input_options": {"correctAnswer": "if(eval(settings[\"correct_answer_expr\"]), 0, 1)", "hint": {"static": true, "value": ""}, "choices": {"static": true, "value": ["Yes", "No"]}}, "can_be_gap": true, "can_be_step": true, "marking_script": "mark:\nif(studentanswer=correct_answer,\n correct(),\n incorrect()\n)\n\ninterpreted_answer:\nstudentAnswer=0\n\ncorrect_answer:\nif(eval(settings[\"correct_answer_expr\"]),0,1)", "marking_notes": [{"name": "mark", "description": "This is the main marking note. It should award credit and provide feedback based on the student's answer.", "definition": "if(studentanswer=correct_answer,\n correct(),\n incorrect()\n)"}, {"name": "interpreted_answer", "description": "A value representing the student's answer to this part.", "definition": "studentAnswer=0"}, {"name": "correct_answer", "description": "", "definition": "if(eval(settings[\"correct_answer_expr\"]),0,1)"}], "settings": [{"name": "correct_answer_expr", "label": "Is the answer \"Yes\"?", "help_url": "", "hint": "An expression which evaluates to true or false.", "input_type": "mathematical_expression", "default_value": "true", "subvars": false}], "public_availability": "always", "published": true, "extensions": []}], "resources": []}