{"assignment":{"_schema_version":2,"course_id":37,"date_created":"2022-06-28T19:00:00+00:00","date_modified":"2022-07-12T14:55:22.579200+00:00","extra_instructor_files":"","extra_starting_files":"","forked_id":null,"forked_version":null,"hidden":false,"id":969,"instructions":"{\n  \"settings\": {\n    \"readingId\": \"bakery_functions_calling_read\"\n  },\n  \"questions\": {\n    \"ValidCall\": {\n      \"type\": \"multiple_answers_question\",\n      \"points\": 4,\n      \"body\": \"Mark all of the following that are valid function or method calls. Do not worry if a variable exists, only determine\\nwhether 1) this is a function or method call, and 2) the syntax is valid.\",\n      \"answers\": [\n        \"<div class=\\\"codehilite\\\" style=\\\"background: #f8f8f8;\\\"><pre style=\\\"line-height: 125%;\\\"><span></span>list.pop()\\n</pre></div>\",\n        \"<div class=\\\"codehilite\\\" style=\\\"background: #f8f8f8;\\\"><pre style=\\\"line-height: 125%;\\\"><span></span><span style=\\\"color: #7D9029;\\\">.open</span>()\\n</pre></div>\",\n        \"fire\",\n        \"<div class=\\\"codehilite\\\" style=\\\"background: #f8f8f8;\\\"><pre style=\\\"line-height: 125%;\\\"><span></span>build(<span style=\\\"color: #666666;\\\">1</span>, <span style=\\\"color: #666666;\\\">2</span>, <span style=\\\"color: #666666;\\\">3</span>)\\n</pre></div>\",\n        \"<div class=\\\"codehilite\\\" style=\\\"background: #f8f8f8;\\\"><pre style=\\\"line-height: 125%;\\\"><span></span>a <span style=\\\"color: #666666;\\\">=</span> <span style=\\\"color: #666666;\\\">0</span>\\n</pre></div>\",\n        \"<div class=\\\"codehilite\\\" style=\\\"background: #f8f8f8;\\\"><pre style=\\\"line-height: 125%;\\\"><span></span><span style=\\\"color: #008000; font-weight: bold;\\\">print</span>()\\n</pre></div>\",\n        \"<div class=\\\"codehilite\\\" style=\\\"background: #f8f8f8;\\\"><pre style=\\\"line-height: 125%;\\\"><span></span><span style=\\\"color: #BA2121;\\\">\\\"help\\\"</span>()\\n</pre></div>\",\n        \"<div class=\\\"codehilite\\\" style=\\\"background: #f8f8f8;\\\"><pre style=\\\"line-height: 125%;\\\"><span></span><span style=\\\"color: #BA2121;\\\">\\\"harry potter\\\"</span><span style=\\\"color: #666666;\\\">.</span>title()\\n</pre></div>\"\n      ]\n    },\n    \"MethodOrFunction\": {\n      \"type\": \"matching_question\",\n      \"points\": 2,\n      \"body\": \"Identify whether the following is a method call or a function call.\",\n      \"answers\": [\n        \"Method call\",\n        \"Function call\"\n      ],\n      \"statements\": [\n        \"list.append()\",\n        \"print()\",\n        \"function.call()\",\n        \"method()\",\n        \"\\\"function\\\".method()\"\n      ]\n    },\n    \"CallingFunction\": {\n      \"type\": \"short_answer_question\",\n      \"points\": 1,\n      \"body\": \"How would you call a function named `openDoor`? Assume it takes no arguments.\"\n    },\n    \"StringCallWithOperator\": {\n      \"type\": \"short_answer_question\",\n      \"points\": 1,\n      \"body\": \"The function `makeCat` below returns the string \\\"Cat\\\". What value will the variable `x` hold after the line is executed?\\n```python\\nx = makeCat() + makeCat() + makeCat()\\n```\"\n    },\n    \"IntegerCallWithOperators\": {\n      \"type\": \"short_answer_question\",\n      \"points\": 1,\n      \"body\": \"The function `add5` below returns the number 5 added to the argument. What value will the variable \\\"x\\\" hold after the\\nline is executed?\\n```python\\nx = add5(10) * add5(2)\\n```\"\n    },\n    \"FunctionDefintion\": {\n      \"type\": \"true_false_question\",\n      \"points\": 1,\n      \"body\": \"Functions are reusable chunks of code that have inputs and outputs.\"\n    }\n  }\n}","ip_ranges":"","name":"2A1) Calling Functions","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_calling_quiz","version":1},"ip":"216.73.216.157","submission":{"_schema_version":3,"assignment_id":969,"assignment_version":1,"attempts":0,"code":"","correct":false,"course_id":37,"date_created":"2026-05-20T18:20:11.842902+00:00","date_due":"","date_graded":"","date_locked":"","date_modified":"2026-05-20T18:20:11.842902+00:00","date_started":"","date_submitted":"","endpoint":"","extra_files":"","feedback":"","grading_status":"NotReady","id":2037059,"score":0.0,"submission_status":"Started","time_limit":"","url":"submission_url-8acedbd2-9e5c-4aa5-b4e2-3ba8ec18abf7","user_id":2044723,"user_id__email":"","version":0},"success":true}
