// Numbas version: exam_results_page_options {"name": "Heating/phase change - multiple choice", "extensions": ["jsxgraph"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": [], "name": "Heating/phase change - multiple choice", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "

Q = m * C<sub>S</sub> * ΔT

\n

and

\n

Q = m * L<sub>H</sub>

", "rulesets": {}, "parts": [{"maxAnswers": "3", "displayColumns": 0, "matrix": ["if(switcharoo=2,0,1)", "1", "if(switcharoo=0,0,1)"], "shuffleChoices": false, "variableReplacements": [], "minAnswers": "3", "variableReplacementStrategy": "originalfirst", "maxMarks": "3", "distractors": ["", "", ""], "showCorrectAnswer": true, "scripts": {}, "warningType": "warn", "marks": 0, "choices": ["

Solid

", "

Liquid

", "

Gas

"], "type": "m_n_2", "displayType": "checkbox", "minMarks": 0}], "extensions": ["jsxgraph"], "statement": "

\n

{Mat_string} is heated from {st_string} to {et_string}, changing in temperature and phase.

\n

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
 Fusion Temperature Vaporisation Temperature {Mat_string} {phase1_temp} K {phase2_temp} K
\n

\n

\n

", "variable_groups": [{"variables": ["switcharoo_comment", "switcharoo_type", "phase_temp"], "name": "switcharoo (phase type) values"}, {"variables": ["mat_string", "phase1_temp", "phase2_temp"], "name": "Material values"}, {"variables": ["st_string", "et_string"], "name": "K or C"}, {"variables": ["fusion_temp_list", "vapour_temp_list", "material_list"], "name": "Lists of values"}, {"variables": ["switcharoo", "wat_mat", "start_temp", "end_temp", "k_c_switch"], "name": "Random variables"}], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"phase_temp": {"definition": "switch(switcharoo=0,phase1_temp,switcharoo=2,phase2_temp,0)", "templateType": "anything", "group": "switcharoo (phase type) values", "name": "phase_temp", "description": ""}, "k_c_switch": {"definition": "random(0,1)", "templateType": "anything", "group": "Random variables", "name": "k_c_switch", "description": ""}, "switcharoo_comment": {"definition": "[ \"solid_to_liquid\", \"solid_to_gas\", \"liquid_to_gas\" ]", "templateType": "list of strings", "group": "switcharoo (phase type) values", "name": "switcharoo_comment", "description": ""}, "switcharoo": {"definition": "random(0..2)", "templateType": "anything", "group": "Random variables", "name": "switcharoo", "description": ""}, "et_string": {"definition": "if(k_c_switch,end_temp+' K',(end_temp-273)+' \u00b0C') ", "templateType": "anything", "group": "K or C", "name": "et_string", "description": ""}, "end_temp": {"definition": "if(switcharoo>0,random(phase2_temp+10..phase2_temp+100),random(phase1_temp+10..phase2_temp-10))", "templateType": "anything", "group": "Random variables", "name": "end_temp", "description": ""}, "start_temp": {"definition": "if(switcharoo<2,random(100..phase1_temp-10),random(phase1_temp+10..phase2_temp-10))", "templateType": "anything", "group": "Random variables", "name": "start_temp", "description": ""}, "mat_string": {"definition": "material_list[wat_mat]", "templateType": "anything", "group": "Material values", "name": "mat_string", "description": ""}, "switcharoo_type": {"definition": "switcharoo_comment[switcharoo]", "templateType": "anything", "group": "switcharoo (phase type) values", "name": "switcharoo_type", "description": ""}, "phase1_temp": {"definition": "fusion_temp_list[wat_mat]", "templateType": "anything", "group": "Material values", "name": "phase1_temp", "description": ""}, "st_string": {"definition": "if(k_c_switch,start_temp+' K',(start_temp-273)+' \u00b0C') ", "templateType": "anything", "group": "K or C", "name": "st_string", "description": ""}, "fusion_temp_list": {"definition": "[273,234,1357,1337]", "templateType": "anything", "group": "Lists of values", "name": "fusion_temp_list", "description": ""}, "material_list": {"definition": "['H2O','Mercury','Copper','Gold']", "templateType": "anything", "group": "Lists of values", "name": "material_list", "description": ""}, "wat_mat": {"definition": "random(0..3)", "templateType": "anything", "group": "Random variables", "name": "wat_mat", "description": ""}, "phase2_temp": {"definition": "vapour_temp_list[wat_mat]", "templateType": "anything", "group": "Material values", "name": "phase2_temp", "description": ""}, "vapour_temp_list": {"definition": "[373,630,2835,3243]", "templateType": "anything", "group": "Lists of values", "name": "vapour_temp_list", "description": ""}}, "metadata": {"description": "

A random heating question, that randomly picks a material, and then heats it through either one or two phase changes, provides an example graph of the heating with scaled temperature ranges (though not with scaled latent and specific heats), and a table with the suitable constants.

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