{"id":378,"date":"2022-02-03T21:41:12","date_gmt":"2022-02-03T21:41:12","guid":{"rendered":"http:\/\/miriamposner.com\/classes\/is270s23\/?page_id=378"},"modified":"2023-04-02T21:26:48","modified_gmt":"2023-04-02T21:26:48","slug":"homework-4","status":"publish","type":"page","link":"http:\/\/miriamposner.com\/classes\/is270s23\/homework-4\/","title":{"rendered":"Homework 4"},"content":{"rendered":"\n<p>Due by classtime on Week 6.<\/p>\n\n\n\n<p><strong>On BruinLearn, answer the following questions:<\/strong><\/p>\n\n\n\n<p>1. Explain, in your own words, what <a href=\"https:\/\/colab.research.google.com\/drive\/1aklSjApTU4TnjroncNXRZYQeMZJ-3GqN?usp=sharing\" target=\"_blank\" rel=\"noreferrer noopener\">this program<\/a> is doing.<\/p>\n\n\n\n<p>2. I want to write a program that does the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Asks me if I&#8217;m hungry.<\/li>\n\n\n\n<li>If I am, it says, &#8220;You better eat, then!&#8221;<\/li>\n\n\n\n<li>If I&#8217;m not, it says, &#8220;Never mind!&#8221;<\/li>\n<\/ul>\n\n\n\n<p>Which of the three basic <a rel=\"noreferrer noopener\" href=\"https:\/\/docs.oracle.com\/cd\/A58617_01\/server.804\/a58236\/03_struc.htm\" target=\"_blank\">control structures<\/a> must I include?<\/p>\n\n\n\n<p>3. <a rel=\"noreferrer noopener\" href=\"https:\/\/colab.research.google.com\/drive\/108qH8IZpNjPSVI10HVnOCqgnT3yCsIRS?usp=sharing\" target=\"_blank\">This program<\/a> generates an error. Why? What must I do to fix it?<\/p>\n\n\n\n<p>4. What, in your own words, are <strong>comparison operators<\/strong>? Why would you use them?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Due by classtime on Week 6. On BruinLearn, answer the following questions: 1. Explain, in your own words, what this program is doing. 2. I want to write a program&hellip; <a class=\"more-link\" href=\"http:\/\/miriamposner.com\/classes\/is270s23\/homework-4\/\">Continue reading <span class=\"screen-reader-text\">Homework 4<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_eb_attr":"","footnotes":""},"class_list":["post-378","page","type-page","status-publish","hentry","entry"],"_links":{"self":[{"href":"http:\/\/miriamposner.com\/classes\/is270s23\/wp-json\/wp\/v2\/pages\/378","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/miriamposner.com\/classes\/is270s23\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/miriamposner.com\/classes\/is270s23\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/miriamposner.com\/classes\/is270s23\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/miriamposner.com\/classes\/is270s23\/wp-json\/wp\/v2\/comments?post=378"}],"version-history":[{"count":0,"href":"http:\/\/miriamposner.com\/classes\/is270s23\/wp-json\/wp\/v2\/pages\/378\/revisions"}],"wp:attachment":[{"href":"http:\/\/miriamposner.com\/classes\/is270s23\/wp-json\/wp\/v2\/media?parent=378"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}