// Numbas version: finer_feedback_settings {"name": "DE bookkeeping practice", "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 totrue
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}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "DE bookkeeping practice", "tags": [], "metadata": {"description": "", "licence": "All rights reserved"}, "statement": "Here are some of the financial transactions for a toy business over a period of 2 weeks.
\n1 June | \nBuys an office building for £{a} | \n
6 June | \nPays an electricity bill of £{b} | \n
8 June | \nInvests £{c} capital into the business | \n
9 June | \nBuys £{d} of supplies on credit from Woodcraft business | \n
10 June | \nReceives £{e2} from High Street shop, Fainwell's for toy order | \n
13 June | \nOliver's retail outlet buys £{f} on credit from the business | \n
14 June | \nPays £{g} in wages | \n
15 June | \nPays £{h} for office supplies | \n
On 1 June, £{a} is paid into the bank account
", "settings": {"correct_answer_expr": "false"}}, {"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "On 1 June £{a} is paid into which of the following accounts?
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["electricity", "office building", "bank", "capital", "wages"], "matrix": [0, "1", 0, 0, 0], "distractors": ["", "", "", "", ""]}, {"type": "yes-no", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "On 1 June the bank account looks like this?
\n\n\n | \n | \n | Bank | \n\n | \n |
\n | \n | \n | 1 June | \nOffice building | \n£{a} | \n
On 1 June the office building account looks like this?
\n\n\n | \n | \n | Office building | \n\n | \n |
1 June | \nOffice building | \n£{a} | \n\n | \n | \n |
\n\n
", "settings": {"correct_answer_expr": "false"}}, {"type": "yes-no", "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": "
The transaction on 6 June affects 2 accounts?
", "settings": {"correct_answer_expr": "true"}}, {"type": "m_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Which accounts are affected on 6 June?
", "minMarks": 0, "maxMarks": "2", "shuffleChoices": true, "displayType": "checkbox", "displayColumns": 0, "minAnswers": 0, "maxAnswers": "2", "warningType": "warn", "showCellAnswerState": true, "markingMethod": "sum ticked cells", "choices": ["Gas", "Bank", "Capital", "Electricity", "Purchases"], "matrix": [0, "1", 0, "1", 0], "distractors": ["", "", "", "", ""]}, {"type": "yes-no", "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": "On 8 June some money is transferred to the bank account?
", "settings": {"correct_answer_expr": "true"}}, {"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "What does buying 'on credit' mean?
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "dropdownlist", "displayColumns": 0, "showCellAnswerState": false, "choices": ["You pay for it with cash", "You buy an item that you will pay for later", "You pay online", "You pay using a bank transfer"], "matrix": [0, "1", 0, 0], "distractors": ["", "", "", ""]}, {"type": "m_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "On 9 June which 2 accounts are affected?
", "minMarks": 0, "maxMarks": "1", "shuffleChoices": true, "displayType": "checkbox", "displayColumns": 0, "minAnswers": 0, "maxAnswers": "1", "warningType": "warn", "showCellAnswerState": true, "choices": ["Purchases and woodcraft", "Sales and woodcraft", "Bank and woodcraft", "Purchases and sales"], "matrix": ["1", 0, 0, 0], "distractors": ["", "", "", ""]}, {"type": "yes-no", "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": "On 9 June the purchases account looks like this?
\n\n\n | \n | \n | Purchases | \n\n | \n |
\n | \n | \n | 9 June | \nWoodcraft | \n£{d} | \n
On 9 June the Woodcraft (creditor) account looks like this?
\n\n\n | \n | \n | Woodcraft | \n\n | \n |
\n | \n | \n | 9 June | \nPurchases | \n£{d} | \n
There is at least one mistake in the accounts on 10 June.
\nCheck the accounts below and then select from the list
\n\n\n | \n | \n | Bank | \n\n | \n |
\n | \n | \n | 10 June | \nFainwell | \n£{e2} | \n
\n | \n | \n | Fainwell | \n\n | \n |
1 June | \nBank | \n£{b} | \n\n | \n | \n |
On 13 June, the transaction will be recorded on the left hand side of the sales account?
", "settings": {"correct_answer_expr": "false"}}, {"type": "yes-no", "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": "On 14 and 15 June, money will come out of the bank?
", "settings": {"correct_answer_expr": "true"}}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Yvonne Wancke", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3703/"}]}]}], "contributors": [{"name": "Yvonne Wancke", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3703/"}]}