// Numbas version: exam_results_page_options {"name": "MG Analog clock to 24hr time (6)", "extensions": [], "custom_part_types": [], "resources": [["question-resources/clock_342.png", "/srv/numbas/media/question-resources/clock_342.png"], ["question-resources/clock_518.png", "/srv/numbas/media/question-resources/clock_518.png"], ["question-resources/clock_612.png", "/srv/numbas/media/question-resources/clock_612.png"], ["question-resources/clock_828.png", "/srv/numbas/media/question-resources/clock_828.png"], ["question-resources/clock_904.png", "/srv/numbas/media/question-resources/clock_904.png"], ["question-resources/clock_1149.png", "/srv/numbas/media/question-resources/clock_1149.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "MG Analog clock to 24hr time (6)", "tags": ["LANTITE", "Western Sydney MESH"], "metadata": {"description": "

Used for LANTITE preparation (Australia). MG = Measurement & Geometry strand. Student must convert the time shown on the analog clock to 24 hour time. One of six analog clock images is randomly selected and displayed.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

{name1} was born on a {day} {period}. The clock below shows the exact time.

\n

{image('resources/question-resources/'+image)}

\n

https://www.math-salamanders.com/image-files/free-clock-worksheets-telling-the-time-to-1-min-1.gif

", "advice": "

There are two steps to this question.

\n

First, you need to read the analogue clock correctly.

\n

The time shown on the clock is {analogtime}.

\n

Then, this time needs to be converted to 24 hour time.

\n
\n

Because this time is in the morning, we simply write the time using four digits and no punctuation.

\n

{analogtime} in 24 hour time is {answer}.

\n
\n
\n

Because this time is after midday, we must add 12 to the hours, to convert it to 24 hour time.

\n

{analogtime} in 24 hour time is {answer}.

\n
", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"index": {"name": "index", "group": "Ungrouped variables", "definition": "random(0..5)", "description": "

The randomly selected index which determines all of the other variables.

", "templateType": "anything", "can_override": false}, "images": {"name": "images", "group": "Ungrouped variables", "definition": "['clock_1149.png','clock_904.png','clock_828.png','clock_612.png','clock_518.png','clock_342.png']", "description": "

The lis of all of the analog clock images.

", "templateType": "anything", "can_override": false}, "image": {"name": "image", "group": "Ungrouped variables", "definition": "images[index]", "description": "

The randomly selected analog clock image.

", "templateType": "anything", "can_override": false}, "days": {"name": "days", "group": "Ungrouped variables", "definition": "['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday']", "description": "

The list of all of the days.

", "templateType": "anything", "can_override": false}, "day": {"name": "day", "group": "Ungrouped variables", "definition": "days[index]", "description": "

The randomly selected day.

", "templateType": "anything", "can_override": false}, "names": {"name": "names", "group": "Ungrouped variables", "definition": "['Lucy','Abdul','Pham','Tony','Rita','Marco']", "description": "

The list of names.

", "templateType": "anything", "can_override": false}, "name1": {"name": "name1", "group": "Ungrouped variables", "definition": "names[index]", "description": "

The randomly selected name.

", "templateType": "anything", "can_override": false}, "periods": {"name": "periods", "group": "Ungrouped variables", "definition": "['morning','evening','evening','evening','morning','afternoon']", "description": "

The list of all of the periods to correspond with the clocks.

", "templateType": "anything", "can_override": false}, "period": {"name": "period", "group": "Ungrouped variables", "definition": "periods[index]", "description": "

The period for the randomly selected clock.

", "templateType": "anything", "can_override": false}, "answers": {"name": "answers", "group": "Ungrouped variables", "definition": "['1149','2104','2028','1812','0518','1542']", "description": "

The list of the correct 24 hour times.

", "templateType": "anything", "can_override": false}, "answer": {"name": "answer", "group": "Ungrouped variables", "definition": "answers[index]", "description": "

The correct 24 hour time corresponding to the selected clock.

", "templateType": "anything", "can_override": false}, "analogtimes": {"name": "analogtimes", "group": "Ungrouped variables", "definition": "['11:49 am','9:04 pm','8:28 pm','6:12 pm','5:18 am','3:42 pm']", "description": "

The list of analog times for the clocks.

", "templateType": "anything", "can_override": false}, "analogtime": {"name": "analogtime", "group": "Ungrouped variables", "definition": "analogtimes[index]", "description": "

The analog time for the given clock.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["index", "images", "image", "days", "day", "names", "name1", "periods", "period", "answers", "answer", "analogtimes", "analogtime"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "patternmatch", "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": "

What is this time written in 24 hour format?

\n

Enter it using four digits without any punctuation.

\n

For example, 2:34 am would be entered as 0234

", "answer": "{answer}", "displayAnswer": "", "matchMode": "regex"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}]}]}], "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}]}