{"assignment":{"_schema_version":2,"course_id":37,"date_created":"2022-06-28T19:00:00+00:00","date_modified":"2022-08-20T16:09:19.358296+00:00","extra_instructor_files":"","extra_starting_files":"","forked_id":null,"forked_version":null,"hidden":false,"id":1099,"instructions":"{\n  \"settings\": {\n    \"readingId\": \"bakery_sequences_files_read\"\n  },\n  \"questions\": {\n    \"OpenClose\": {\n      \"type\": \"true_false_question\",\n      \"points\": 1,\n      \"body\": \"After opening a file, you should always close a file.\"\n    },\n    \"ForFile\": {\n      \"type\": \"true_false_question\",\n      \"points\": 1,\n      \"body\": \"A `for` loop will process a file sentence-by-sentence.\"\n    },\n    \"OpenFile\": {\n      \"type\": \"true_false_question\",\n      \"points\": 1,\n      \"body\": \"The `open` function consumes a string representing a path and returns a string of the file's data.\"\n    },\n    \"TypeReading\": {\n      \"type\": \"multiple_choice_question\",\n      \"points\": 1,\n      \"body\": \"Given the file named `grades.txt` with the following contents:\\n```python\\n90, 85, 100\\n```\\n\\nAnd the following python code:\\n```python\\ngrade_file = open(\\\"grades.txt\\\")\\ngrade_data = grade_file.read()\\n```\\n\\nWhat will be the type of `grade_data`?\",\n      \"answers\": [\n        \"List of String\",\n        \"List of Integer\",\n        \"Integer\",\n        \"String\",\n        \"Dictionary of Integers and Strings\",\n        \"File object\"\n      ]\n    },\n    \"FileNotFoundError\": {\n      \"type\": \"multiple_answers_question\",\n      \"points\": 1,\n      \"body\": \"Which of the following are causes of a `FileNotFoundError`?\",\n      \"answers\": [\n        \"A file was downloaded to the wrong folder.\",\n        \"The coder mispelled the name of the file when calling <code>open</code>.\",\n        \"The coder wrote <code>opne</code> instead of <code>open</code>.\",\n        \"The coder did not give any arguments to the <code>open</code> function.\"\n      ]\n    }\n  }\n}","ip_ranges":"","name":"7B2) Files","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_sequences_files_quiz","version":3},"ip":"216.73.216.157","submission":{"_schema_version":3,"assignment_id":1099,"assignment_version":3,"attempts":0,"code":"","correct":false,"course_id":37,"date_created":"2026-05-20T14:01:51.200485+00:00","date_due":"","date_graded":"","date_locked":"","date_modified":"2026-05-20T14:01:51.200485+00:00","date_started":"","date_submitted":"","endpoint":"","extra_files":"","feedback":"","grading_status":"NotReady","id":2036923,"score":0.0,"submission_status":"Started","time_limit":"","url":"submission_url-ba5b7ca2-a404-43a8-8866-09c4501d7a1f","user_id":2044668,"user_id__email":"","version":0},"success":true}
