// Numbas version: finer_feedback_settings {"name": "Options for the form of the answer to multiple response parts", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "feedback": {"showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showpartfeedbackmessageswhen": "always", "allowrevealanswer": true, "showexpectedanswerswhen": "inreview", "showadvicewhen": "inreview"}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Options for the form of the answer to multiple response parts", "tags": [], "metadata": {"description": "

Demonstrates the new ability to choose the form the student's answer to multiple response part, when used in variable replacements.

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

This question demonstrates how the new options for the form of the answer to multiple response parts make it easier to use answers in later parts.

\n

Let's make a Geordie!

", "advice": "", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"areas": {"name": "areas", "group": "Area", "definition": "[ \"Byker\", \"Wallsend\", \"Gosforth\", \"Fenham\", \"Walker\", \"Heaton\" ]", "description": "

Areas of Newcastle.

", "templateType": "list of strings", "can_override": false}, "hobbies": {"name": "hobbies", "group": "Hobbies", "definition": "[ \"Guitar\", \"Kitesurfing\", \"Jigsaws\", \"Football\", \"Long walks\", \"Cooking\", \"Shopping\" ]", "description": "

Hobbies the Geordie might have

", "templateType": "list of strings", "can_override": false}, "area": {"name": "area", "group": "Area", "definition": "areas[0]", "description": "

The area that the student chose.

", "templateType": "anything", "can_override": false}, "chosen_hobbies": {"name": "chosen_hobbies", "group": "Hobbies", "definition": "[]", "description": "

The hobbies the student chose.

", "templateType": "anything", "can_override": false}, "skills": {"name": "skills", "group": "Skills", "definition": "[ \"Drinking broon ale\", \"Singing \\\"fog on the Tyne\\\"\", \"Wearing short sleeves year-round\" ]", "description": "

Skills the Geordie can have.

", "templateType": "list of strings", "can_override": false}, "skill_points": {"name": "skill_points", "group": "Skills", "definition": "[]", "description": "

The pairs (points, skill) that the student allocated.

", "templateType": "anything", "can_override": false}, "skill_table": {"name": "skill_table", "group": "Skills", "definition": "table(reverse(r) for: r of: skill_points, [\"Skill\", \"Skill points\"])", "description": "

A table showing the skills.

", "templateType": "anything", "can_override": false}, "skill_values": {"name": "skill_values", "group": "Skills", "definition": "[ \"0\", \"1\", \"2\", \"3\" ]", "description": "

Possible numbers of skill points.

", "templateType": "list of strings", "can_override": false}, "full_name": {"name": "full_name", "group": "Name", "definition": "random(\"{f} {random(last_names except l)}\" for: [f,l] of: zip(first_names, last_names))", "description": "

A random name for the Geordie. Designed not to pick a real first-name/last-name pair.

", "templateType": "anything", "can_override": false}, "first_names": {"name": "first_names", "group": "Name", "definition": "[ \"Paul\", \"Cheryl\", \"Alan\", \"Ant\", \"Dec\", \"Lauren\", \"Donna\", \"Denise\" ]", "description": "

First names of some Geordies.

", "templateType": "list of strings", "can_override": false}, "last_names": {"name": "last_names", "group": "Name", "definition": "[ \"Gascoigne\", \"Tweedy\", \"Shearer\", \"McPartlin\", \"Donnelly\", \"Laverne\", \"Air\", \"Welch\" ]", "description": "

Last names of some Geordies.

", "templateType": "list of strings", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [{"name": "Area", "variables": ["areas", "area"]}, {"name": "Hobbies", "variables": ["hobbies", "chosen_hobbies"]}, {"name": "Skills", "variables": ["skills", "skill_values", "skill_points", "skill_table"]}, {"name": "Name", "variables": ["full_name", "first_names", "last_names"]}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": true, "customName": "Home", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [{"label": "Hobbies", "rawLabel": "", "otherPart": 1, "variableReplacements": [{"variable": "area", "definition": "interpreted_answer"}], "availabilityCondition": "answered", "penalty": "", "penaltyAmount": 0, "showPenaltyHint": true, "lockAfterLeaving": false}], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "prompt": "

Which bit of Newcastle are they from?

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showBlankOption": true, "showCellAnswerState": false, "interpretedAnswerForm": "text of choice", "choices": "areas", "matrix": "repeat(1,len(areas))"}, {"type": "m_n_2", "useCustomName": true, "customName": "Hobbies", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [{"label": "Skills", "rawLabel": "", "otherPart": 2, "variableReplacements": [{"variable": "chosen_hobbies", "definition": "interpreted_answer"}], "availabilityCondition": "answered", "penalty": "", "penaltyAmount": 0, "showPenaltyHint": true, "lockAfterLeaving": false}], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "prompt": "

What are their hobbies?

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "checkbox", "displayColumns": 0, "minAnswers": 0, "maxAnswers": 0, "warningType": "none", "showCellAnswerState": true, "markingMethod": "sum ticked cells", "interpretedAnswerForm": "text of choices", "choices": "hobbies", "matrix": "repeat(1,len(hobbies))"}, {"type": "m_n_x", "useCustomName": true, "customName": "Skills", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [{"label": "Character sheet", "rawLabel": "", "otherPart": 3, "variableReplacements": [{"variable": "skill_points", "definition": "interpreted_answer"}], "availabilityCondition": "answered", "penalty": "", "penaltyAmount": 0, "showPenaltyHint": true, "lockAfterLeaving": false}], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "prompt": "

What are their skills?

", "minMarks": 0, "maxMarks": 0, "minAnswers": 0, "maxAnswers": 0, "shuffleChoices": false, "shuffleAnswers": false, "displayType": "radiogroup", "warningType": "none", "showCellAnswerState": true, "markingMethod": "sum ticked cells", "interpretedAnswerForm": "text of pairs", "choices": "skills", "matrix": "repeat(repeat(1,len(skill_values)),len(skills))", "layout": {"type": "all", "expression": ""}, "answers": "skill_values", "choicesHeader": "Skill", "answersHeader": "Skill points"}, {"type": "information", "useCustomName": true, "customName": "Character sheet", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "prompt": "

Here's your Geordie's character sheet:

\n

Name: {full_name}

\n

Home: {area}

\n

Hobbies: {join(chosen_hobbies, \", \")}

\n

Skills:

\n

{skill_table}

\n

Canny: why aye!

"}], "partsMode": "explore", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "showAllParts": true, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Christian Lawson-Perfect", "profile_url": "http://clppc.local:8000/accounts/profile/1/"}], "resources": []}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Christian Lawson-Perfect", "profile_url": "http://clppc.local:8000/accounts/profile/1/"}]}