{"id":37064,"date":"2017-03-02T08:02:06","date_gmt":"2017-03-02T14:02:06","guid":{"rendered":"https:\/\/kenscourses.com\/tc1014winter2017\/?p=37064"},"modified":"2017-03-02T08:44:24","modified_gmt":"2017-03-02T14:44:24","slug":"quiz-week-8","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc1014winter2017\/instructor\/quiz-week-8\/","title":{"rendered":"Quiz Week 8"},"content":{"rendered":"<h2>Two Activities<\/h2>\n<ul>\n<li>Please fill out our mid-semester survey. This will not take long at all and in the spirit of non grading based on points, there is simply two open questions. How can you improve and how can Ken help you improve your learning.<br \/>\nFill out that survey here:\u00a0<a href=\"http:\/\/url.kenbauer.me\/midtermsurvey\">http:\/\/url.kenbauer.me\/midtermsurvey<\/a><\/li>\n<li>Write a function that calculates returns the &#8220;nth&#8221; Fibonacci number where we define a function over the Fibonacci numbers mapping the naturals (starting with zero) to the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Fibonacci_number\">Fibonacci series<\/a>. So fibonacci(0) returns 0, fibonacci(1) returns 1, fibonacci(2) returns 1\u00a0and so on. Note that we are using the modern definition where the sequence starts with zero. You should try to implement this with two solutions: one with a loop and one with recursion. Which do you think is &#8220;better&#8221;, which looks more &#8220;elegant&#8221;, which is more &#8220;efficient&#8221;?<\/li>\n<\/ul>\n<h2>Featured Image Credit<\/h2>\n<figure id=\"attachment_37065\" aria-describedby=\"caption-attachment-37065\" style=\"width: 640px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.flickr.com\/photos\/fdecomite\/3200758169\/\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-37065\" src=\"https:\/\/kenscourses.com\/tc1014winter2017\/wp-content\/uploads\/2017\/03\/3200758169_e2701d1e17_z.jpg\" alt=\"&lt;a title=&quot;Fibonachess&quot; href=&quot;https:\/\/flickr.com\/photos\/fdecomite\/3200758169&quot;&gt;Fibonachess&lt;\/a&gt; flickr photo by &lt;a href=&quot;https:\/\/flickr.com\/people\/fdecomite&quot;&gt;fdecomite&lt;\/a&gt; shared under a &lt;a href=&quot;https:\/\/creativecommons.org\/licenses\/by\/2.0\/&quot;&gt;Creative Commons (BY) license&lt;\/a&gt; &lt;\/small&gt;\" width=\"640\" height=\"480\" srcset=\"https:\/\/kenscourses.com\/tc1014winter2017\/wp-content\/uploads\/2017\/03\/3200758169_e2701d1e17_z.jpg 640w, https:\/\/kenscourses.com\/tc1014winter2017\/wp-content\/uploads\/2017\/03\/3200758169_e2701d1e17_z-300x225.jpg 300w, https:\/\/kenscourses.com\/tc1014winter2017\/wp-content\/uploads\/2017\/03\/3200758169_e2701d1e17_z-144x108.jpg 144w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><figcaption id=\"caption-attachment-37065\" class=\"wp-caption-text\"><a title=\"Fibonachess\" href=\"https:\/\/flickr.com\/photos\/fdecomite\/3200758169\">Fibonachess<\/a> flickr photo by <a href=\"https:\/\/flickr.com\/people\/fdecomite\">fdecomite<\/a> shared under a <a href=\"https:\/\/creativecommons.org\/licenses\/by\/2.0\/\">Creative Commons (BY) license<\/a><\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Two Activities Please fill out our mid-semester survey. This will not take long at all and in the spirit of non grading based on points, there is simply two open questions. How can you improve and how can Ken help you improve your learning. Fill out that survey here:\u00a0http:\/\/url.kenbauer.me\/midtermsurvey Write a function that calculates returns &hellip; <a href=\"https:\/\/kenscourses.com\/tc1014winter2017\/instructor\/quiz-week-8\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Quiz Week 8<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":37065,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,19],"tags":[],"class_list":["post-37064","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-instructor","category-quizzes"],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc1014winter2017\/wp-json\/wp\/v2\/posts\/37064","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kenscourses.com\/tc1014winter2017\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kenscourses.com\/tc1014winter2017\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc1014winter2017\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc1014winter2017\/wp-json\/wp\/v2\/comments?post=37064"}],"version-history":[{"count":2,"href":"https:\/\/kenscourses.com\/tc1014winter2017\/wp-json\/wp\/v2\/posts\/37064\/revisions"}],"predecessor-version":[{"id":37067,"href":"https:\/\/kenscourses.com\/tc1014winter2017\/wp-json\/wp\/v2\/posts\/37064\/revisions\/37067"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc1014winter2017\/wp-json\/wp\/v2\/media\/37065"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc1014winter2017\/wp-json\/wp\/v2\/media?parent=37064"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc1014winter2017\/wp-json\/wp\/v2\/categories?post=37064"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc1014winter2017\/wp-json\/wp\/v2\/tags?post=37064"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}