{"assignment":{"_schema_version":2,"course_id":37,"date_created":"2022-06-28T19:00:00+00:00","date_modified":"2022-07-12T14:55:23.936228+00:00","extra_instructor_files":"","extra_starting_files":"","forked_id":null,"forked_version":null,"hidden":false,"id":1018,"instructions":"{\n  \"settings\": {\n    \"readingId\": \"bakery_if_syntax_read\"\n  },\n  \"questions\": {\n    \"InsideBlock\": {\n      \"type\": \"multiple_choice_question\",\n      \"points\": 1,\n      \"body\": \"In the following code, the print statement is ____ the IF statement.\\n```python\\nif conditional:\\n    print(\\\"The conditional was true\\\")\\n```\",\n      \"answers\": [\n        \"Before\",\n        \"Inside\",\n        \"After\"\n      ]\n    },\n    \"CountingBranchesNoElse\": {\n      \"type\": \"multiple_choice_question\",\n      \"points\": 1,\n      \"body\": \"How many branches does this code have?\\n```python\\nif conditional:\\n    print(5)\\nprint(2)\\n```\",\n      \"answers\": [\n        \"0\",\n        \"1\",\n        \"2\",\n        \"3\"\n      ]\n    },\n    \"CountingBranchesNestedIf\": {\n      \"type\": \"multiple_choice_question\",\n      \"points\": 1,\n      \"body\": \"How many branches does this code have?\\n```python\\nif conditional:\\n    if second_conditional:  \\n        print(5)  \\n    print(1)\\nprint(2)\\n```\",\n      \"answers\": [\n        \"0\",\n        \"1\",\n        \"2\",\n        \"3\"\n      ]\n    },\n    \"CountingBranchesElse\": {\n      \"type\": \"multiple_choice_question\",\n      \"points\": 1,\n      \"body\": \"How many branches does this code have?\\n```python\\nif conditional:\\n    print(5)  \\nelse:\\n    print(2)\\n```\",\n      \"answers\": [\n        \"0\",\n        \"1\",\n        \"2\",\n        \"3\"\n      ]\n    },\n    \"TracingBranching\": {\n      \"type\": \"fill_in_multiple_blanks_question\",\n      \"points\": 1,\n      \"body\": \"Fill out the trace table below by following the execution. If the value is not yet defined, place an \\\"X\\\".\\n```python\\n1 | salary = 1000\\n2 | if salary > 100:\\n3 |    taxes = .5\\n4 | else:\\n5 |    taxes = .1\\n6 | salary = taxes * salary\\n7 | if salary > 100:\\n8 |    if salary < 500:\\n9 |        taxes = 0\\n10|    salary = taxes * salary  \\n```\\n\\nstep | line | salary | taxes  \\n---|---|---|---  \\n1 | 1 | 1000 | X  \\n2 | 2 | 1000 | [taxes2]  \\n3 | [line3] | 1000 | [taxes3]  \\n4 | 6 | [salary4] | [taxes4]  \\n5 | [line5] | [salary5] | [taxes5]  \\n6 | [line6] | [salary6] | [taxes6]  \\n7 | [line7] | [salary7] | [taxes7]\"\n    },\n    \"PossiblyUndefined\": {\n      \"type\": \"multiple_choice_question\",\n      \"points\": 1,\n      \"body\": \"What is the value of `number_of_users` after this program executes?\\n```python\\nif False:\\n    number_of_users = 5\\nprint(number_of_users)\\n```\",\n      \"answers\": [\n        \"No value, because an error occurs since the value has not been defined\",\n        \"0, because that is the default value for integer variables\",\n        \"None, because that is the default value for all variables\",\n        \"5, because of the assignment on line 2.\"\n      ]\n    }\n  }\n}","ip_ranges":"","name":"3A1) If Statements","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_if_syntax_quiz","version":1},"ip":"216.73.216.157","submission":{"_schema_version":3,"assignment_id":1018,"assignment_version":1,"attempts":0,"code":"","correct":false,"course_id":37,"date_created":"2026-05-20T14:01:54.808149+00:00","date_due":"","date_graded":"","date_locked":"","date_modified":"2026-05-20T14:01:54.808149+00:00","date_started":"","date_submitted":"","endpoint":"","extra_files":"","feedback":"","grading_status":"NotReady","id":2036931,"score":0.0,"submission_status":"Started","time_limit":"","url":"submission_url-aa5f9d9d-fdca-4be9-94f2-ab8f6e07d0d7","user_id":2044668,"user_id__email":"","version":0},"success":true}
