{"id":36775,"date":"2017-02-09T09:36:58","date_gmt":"2017-02-09T15:36:58","guid":{"rendered":"https:\/\/kenscourses.com\/tc1014winter2017\/?p=36775"},"modified":"2017-02-09T09:36:58","modified_gmt":"2017-02-09T15:36:58","slug":"wsq07-lists","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc1014winter2017\/instructor\/wsq07-lists\/","title":{"rendered":"WSQ07 &#8211; Lists"},"content":{"rendered":"<h2>What to Do<\/h2>\n<figure id=\"attachment_19218\" class=\"wp-caption alignleft\"><a href=\"http:\/\/kenscourses.com\/tc101fall2015\/wp-content\/uploads\/2015\/03\/5946796450_ffa2cf2549_o.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-19218\" src=\"http:\/\/kenscourses.com\/tc101fall2015\/wp-content\/uploads\/2015\/03\/5946796450_ffa2cf2549_o-300x210.jpg\" alt=\"creative commons licensed (BY-NC-SA) flickr photo by Mark Morgan Trinidad A: http:\/\/flickr.com\/photos\/mmorgan8186\/5946796450\" width=\"300\" height=\"210\" \/><\/a><figcaption class=\"wp-caption-text\">creative commons licensed (BY-NC-SA) flickr photo by Mark Morgan Trinidad A: http:\/\/flickr.com\/photos\/mmorgan8186\/5946796450<\/figcaption><\/figure>\n<p>Create a program that asks the user for 10 numbers\u00a0 (floating point). Store those numbers in a list. Show to the user the total, average and standard deviation of those numbers.<\/p>\n<h2>Details<\/h2>\n<p>For the Python group, you want to be using Lists. For the C++ group you can do this with arrays or Vectors, but you will need to know eventually how to do both.<\/p>\n<p>Once you have this working, change it so that users keep giving you values until they signal \u201cno more values\u201d. How would you implement this and in particular for the C++ group, how to you deal with an unknown size to your array during compilation?<\/p>\n<h2>What to Submit<\/h2>\n<p>As usual, create a blog post explaining what you did, where you found resources (books, videos, web pages, friends) to help you solve this. Remember to put the tag #WSQ07 on your post so our blog hub picks that up.<\/p>\n<p>You should include your code as a link to GitHub. You really should start using your GitHub repository now. If you need help on that, just ask Ken or your classmates.<\/p>\n<p>If you have not seen my video yet about the GUI tutorial for GitHub, go check that out: http:\/\/youtu.be\/YQmlksGFZWY<\/p>\n<p>And of course, leave any questions here as well as asking those questions on Twitter with the hashtag #TC101 so we all see your question posted there.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What to Do creative commons licensed (BY-NC-SA) flickr photo by Mark Morgan Trinidad A: http:\/\/flickr.com\/photos\/mmorgan8186\/5946796450 Create a program that asks the user for 10 numbers\u00a0 (floating point). Store those numbers in a list. Show to the user the total, average and standard deviation of those numbers. Details For the Python group, you want to be &hellip; <a href=\"https:\/\/kenscourses.com\/tc1014winter2017\/instructor\/wsq07-lists\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">WSQ07 &#8211; Lists<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":19218,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,24],"tags":[],"class_list":["post-36775","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-instructor","category-wsq"],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc1014winter2017\/wp-json\/wp\/v2\/posts\/36775","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=36775"}],"version-history":[{"count":1,"href":"https:\/\/kenscourses.com\/tc1014winter2017\/wp-json\/wp\/v2\/posts\/36775\/revisions"}],"predecessor-version":[{"id":36776,"href":"https:\/\/kenscourses.com\/tc1014winter2017\/wp-json\/wp\/v2\/posts\/36775\/revisions\/36776"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc1014winter2017\/wp-json\/wp\/v2\/media?parent=36775"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc1014winter2017\/wp-json\/wp\/v2\/categories?post=36775"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc1014winter2017\/wp-json\/wp\/v2\/tags?post=36775"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}