{"assignment":{"_schema_version":2,"course_id":37,"date_created":"2022-06-28T19:00:00+00:00","date_modified":"2022-07-12T14:55:22.176329+00:00","extra_instructor_files":"","extra_starting_files":"","forked_id":null,"forked_version":null,"hidden":false,"id":953,"instructions":"{\n  \"settings\": {\n    \"readingId\": \"bakery_intro_string_ops_read\"\n  },\n  \"questions\": {\n    \"EvaluateStringConditionals\": {\n      \"type\": \"multiple_answers_question\",\n      \"points\": 5,\n      \"body\": \"Mark each of the following expressions if they evaluate to True. Assume that the following code is executed first:\\n```python\\ntitle = \\\"Harry Potter\\\"\\n```\",\n      \"answers\": [\n        \"<div class=\\\"codehilite\\\" style=\\\"background: #f8f8f8;\\\"><pre style=\\\"line-height: 125%;\\\"><span></span>\\\"word\\\" in \\\"The last word\\\"\\n</pre></div>\",\n        \"<pre>\\\"c\\\" in \\\"Do Capital Letters Matter?\\\"</pre>\",\n        \"<div class=\\\"codehilite\\\" style=\\\"background: #f8f8f8;\\\"><pre style=\\\"line-height: 125%;\\\"><span></span>\\\"it\\\" in title\\n</pre></div>\",\n        \"<div class=\\\"codehilite\\\" style=\\\"background: #f8f8f8;\\\"><pre style=\\\"line-height: 125%;\\\"><span></span>\\\" \\\" in title\\n</pre></div>\",\n        \"<div class=\\\"codehilite\\\" style=\\\"background: #f8f8f8;\\\"><pre style=\\\"line-height: 125%;\\\"><span></span>\\\"\\\" in title\\n</pre></div>\",\n        \"<div class=\\\"codehilite\\\" style=\\\"background: #f8f8f8;\\\"><pre style=\\\"line-height: 125%;\\\"><span></span>\\\"Alabama\\\" &lt; \\\"Virginia\\\"\\n</pre></div>\",\n        \"<div class=\\\"codehilite\\\" style=\\\"background: #f8f8f8;\\\"><pre style=\\\"line-height: 125%;\\\"><span></span>\\\"Coward\\\" &lt;= \\\"Coward\\\"\\n</pre></div>\",\n        \"<div class=\\\"codehilite\\\" style=\\\"background: #f8f8f8;\\\"><pre style=\\\"line-height: 125%;\\\"><span></span>\\\"Dog\\\" == \\\"Dog\\\"\\n</pre></div>\",\n        \"<div class=\\\"codehilite\\\" style=\\\"background: #f8f8f8;\\\"><pre style=\\\"line-height: 125%;\\\"><span></span>title not in \\\"Harry Potter Book 1\\\"\\n</pre></div>\"\n      ]\n    },\n    \"StringIndexingZero\": {\n      \"type\": \"short_answer_question\",\n      \"points\": 1,\n      \"body\": \"Predict the output of the following code:\\n```python\\nname = \\\"Hermione\\\"  \\nprint(name[0])\\n```\"\n    },\n    \"StringIndexingPositive\": {\n      \"type\": \"short_answer_question\",\n      \"points\": 1,\n      \"body\": \"Predict the output of the following code:\\n```python\\nname = \\\"Hermione\\\"  \\nprint(name[4])\\n```\"\n    },\n    \"StringIndexingNegative\": {\n      \"type\": \"short_answer_question\",\n      \"points\": 1,\n      \"body\": \"Predict the output of the following code:\\n```python\\nname = \\\"Hermione\\\"  \\nprint(name[-2])\\n```\"\n    },\n    \"StringSubscriptRight\": {\n      \"type\": \"short_answer_question\",\n      \"points\": 1,\n      \"body\": \"Predict the output of the following code:\\n```python\\nname = \\\"Hermione\\\"  \\nprint(name[:2])\\n```\"\n    },\n    \"StringSubscriptPositives\": {\n      \"type\": \"short_answer_question\",\n      \"points\": 1,\n      \"body\": \"Predict the output of the following code:\\n```python\\nname = \\\"Hermione\\\"  \\nprint(name[4:7])\\n```\"\n    },\n    \"StringSubscriptLeftNegative\": {\n      \"type\": \"short_answer_question\",\n      \"points\": 1,\n      \"body\": \"Predict the output of the following code:\\n```python\\nname = \\\"Hermione\\\"  \\nprint(name[-3:])\\n```\"\n    }\n  }\n}","ip_ranges":"","name":"1B7) String Operations","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_intro_string_ops_quiz","version":1},"ip":"216.73.216.157","submission":{"_schema_version":3,"assignment_id":953,"assignment_version":1,"attempts":0,"code":"","correct":false,"course_id":37,"date_created":"2026-05-20T18:20:11.362408+00:00","date_due":"","date_graded":"","date_locked":"","date_modified":"2026-05-20T18:20:11.362408+00:00","date_started":"","date_submitted":"","endpoint":"","extra_files":"","feedback":"","grading_status":"NotReady","id":2037058,"score":0.0,"submission_status":"Started","time_limit":"","url":"submission_url-afc502d8-8cb5-4444-abd8-97cfe1fe3f23","user_id":2044723,"user_id__email":"","version":0},"success":true}
