// Numbas version: finer_feedback_settings {"name": "Convert decimal degrees to DMS notation", "extensions": [], "custom_part_types": [], "resources": [["question-resources/casio_manual2.png", "casio_manual2.png"], ["question-resources/casio_manual3.png", "casio_manual3.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Convert decimal degrees to DMS notation", "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "
Convert the angle measured in decimal degrees to degrees/minutes/seconds (DMS). Answer correct to the nearest second.
", "advice": "", "rulesets": {}, "extensions": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1 .. 89#0.0001)", "description": "", "templateType": "randrange"}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "floor(a)", "description": "", "templateType": "anything"}, "m": {"name": "m", "group": "Ungrouped variables", "definition": "floor((a-d)*60)", "description": "", "templateType": "anything"}, "s": {"name": "s", "group": "Ungrouped variables", "definition": "precround((a-d-m/60)*3600,0)", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "d", "m", "s"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "The angle {a}° = [[0]]° [[1]]' [[2]]'' .
", "stepsPenalty": 0, "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "(Using the Casio fx82 AU Plus II)
\nFor example, to convert 2.255° to DMS notation:
\nType 2.255, press
, then press
. The display will show 2°15'18''.