{"assignment":{"_schema_version":2,"course_id":37,"date_created":"2022-06-28T19:00:00+00:00","date_modified":"2022-07-12T14:55:23.408077+00:00","extra_instructor_files":"","extra_starting_files":"","forked_id":null,"forked_version":null,"hidden":false,"id":1002,"instructions":"{\n  \"settings\": {\n    \"readingId\": \"bakery_functions_docstrings_read\"\n  },\n  \"questions\": {\n    \"DocumentationSingleLineSymbol\": {\n      \"type\": \"short_answer_question\",\n      \"points\": 1,\n      \"body\": \"Enter the symbol (not its name) used for single-line comments in Python.\"\n    },\n    \"DocumentationMultiTripleQuotes\": {\n      \"type\": \"true_false_question\",\n      \"points\": 1,\n      \"body\": \"Multi-line comments in Python are actually just triple-quoted strings.\"\n    },\n    \"DocumentationSingleLineIgnored\": {\n      \"type\": \"true_false_question\",\n      \"points\": 1,\n      \"body\": \"Single-line comments are ignored by Python, and so are only for human benefit.\"\n    },\n    \"DocumentationAlwaysComment\": {\n      \"type\": \"true_false_question\",\n      \"points\": 1,\n      \"body\": \"You should always document every line of a program.\"\n    },\n    \"DocumentationIntepret\": {\n      \"type\": \"fill_in_multiple_blanks_question\",\n      \"points\": 3,\n      \"body\": \"Interpret the documentation below to fill in the blanks:\\n```python\\ndef make_time(hour:int, minute:int, second:float)->str:\\n    '''\\n    Creates a string representation of the given hour, minute, and second.\\n    Note that this takes into account Daylight Savings Time.\\n\\n    Args:\\n        hour (int): The number of hours past midnight (military time).\\n        minute (int): The number of minutes past the hour.\\n        second (float): The number of seconds past the minute, which can be a\\n                        decimal number (indicating milliseconds).\\n    Returns:\\n        str: A string representation of the time (\\\"hh:mm:ss.sss\\\") including\\n             milliseconds.\\n    '''\\n```\\n\\n  1. This function takes [paramCount] parameters.\\n  2. The second parameter is named [secondParameter].\\n  3. The third parameter's type is [thirdType].\\n  4. The function's return type is [returnType].\\n  5. We want to change the type of `hour` to be text. You need to replace `int` with [strType].\\n  6. We need to add a new parameter named `is_dst` to test if it is daylights saving time. This will be a boolean value. What is the name and type that will go in the Args of the documentation? Don't include indentation, the colon or a description, just the name and type with parentheses: [newArg]\"\n    },\n    \"DocumentationReasons\": {\n      \"type\": \"multiple_answers_question\",\n      \"points\": 1,\n      \"body\": \"Which of the following are reasons for commenting code?\",\n      \"answers\": [\n        \"To support code sharing\",\n        \"To make it easier to understand our own code, later.\",\n        \"To test if a function has the right inputs for some given outputs\",\n        \"To keep a copy of code that you want to eliminate, in case you need it later.\"\n      ]\n    }\n  }\n}","ip_ranges":"","name":"2B2) Docstrings","on_change":"","on_eval":"","on_run":"","owner_id":1,"owner_id__email":"acbart@udel.edu","points":1,"public":true,"reviewed":false,"sample_submissions":[],"settings":null,"starting_code":"","subordinate":false,"tags":[],"type":"quiz","url":"bakery_functions_docstrings_quiz","version":1},"ip":"216.73.216.157","submission":{"_schema_version":3,"assignment_id":1002,"assignment_version":1,"attempts":0,"code":"","correct":false,"course_id":37,"date_created":"2026-05-20T16:04:47.924462+00:00","date_due":"","date_graded":"","date_locked":"","date_modified":"2026-05-20T16:04:47.924462+00:00","date_started":"","date_submitted":"","endpoint":"","extra_files":"","feedback":"","grading_status":"NotReady","id":2037043,"score":0.0,"submission_status":"Started","time_limit":"","url":"submission_url-19882674-c588-4a16-a97f-cc99fdb3346f","user_id":2044700,"user_id__email":"","version":0},"success":true}
