{"id":37602,"date":"2017-04-11T15:37:54","date_gmt":"2017-04-11T20:37:54","guid":{"rendered":"https:\/\/kenscourses.com\/tc1014winter2017\/?p=37602"},"modified":"2017-04-11T16:06:38","modified_gmt":"2017-04-11T21:06:38","slug":"wsq13-cars","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc1014winter2017\/instructor\/wsq13-cars\/","title":{"rendered":"WSQ13 &#8211; Cars"},"content":{"rendered":"<h2>What To Do<\/h2>\n<p>File input\/output is our access to permanent stores of data that last beyond the run time of our application.<\/p>\n<p>Write a program that opens and reads the file 93cars.dat.txt and produces the following data:<\/p>\n<ul>\n<li>average gas mileage in city (City MPG)<\/li>\n<li>average gas mileage on highway (Highway MPG)<\/li>\n<li>average midrange price of the vehicles in the set.<\/li>\n<\/ul>\n<p>You can find the data set at the<a title=\"1993 New Car Data | Journal of Statistics Education\" href=\"http:\/\/www.amstat.org\/publications\/jse\/v1n1\/datasets.lock.html\"> following link from the Journal of Statistics Education<\/a>.<\/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 #WSQ13 on your post so our blog hub picks that up.<\/p>\n<p>You should include your code as a link to GitHub.<\/p>\n<p>And of course, leave any questions here as well as asking those questions in our Slack channel so we all see your question posted there.<\/p>\n<h2>Feature Image Credit<\/h2>\n<figure id=\"attachment_37611\" aria-describedby=\"caption-attachment-37611\" style=\"width: 640px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.flickr.com\/photos\/inucara\/8441125237\/\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-37611\" src=\"https:\/\/kenscourses.com\/tc1014winter2017\/wp-content\/uploads\/2017\/04\/8441125237_a5317928f4_z.jpg\" alt=\"&lt;a title=&quot;car&quot; href=&quot;https:\/\/flickr.com\/photos\/inucara\/8441125237&quot;&gt;car&lt;\/a&gt; flickr photo by &lt;a href=&quot;https:\/\/flickr.com\/people\/inucara&quot;&gt;Kentaro Ohno&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=\"427\" srcset=\"https:\/\/kenscourses.com\/tc1014winter2017\/wp-content\/uploads\/2017\/04\/8441125237_a5317928f4_z.jpg 640w, https:\/\/kenscourses.com\/tc1014winter2017\/wp-content\/uploads\/2017\/04\/8441125237_a5317928f4_z-300x200.jpg 300w, https:\/\/kenscourses.com\/tc1014winter2017\/wp-content\/uploads\/2017\/04\/8441125237_a5317928f4_z-162x108.jpg 162w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><figcaption id=\"caption-attachment-37611\" class=\"wp-caption-text\"><a title=\"car\" href=\"https:\/\/flickr.com\/photos\/inucara\/8441125237\">car<\/a> flickr photo by <a href=\"https:\/\/flickr.com\/people\/inucara\">Kentaro Ohno<\/a> shared under a <a href=\"https:\/\/creativecommons.org\/licenses\/by\/2.0\/\">Creative Commons (BY) license<\/a><\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>What To Do File input\/output is our access to permanent stores of data that last beyond the run time of our application. Write a program that opens and reads the file 93cars.dat.txt and produces the following data: average gas mileage in city (City MPG) average gas mileage on highway (Highway MPG) average midrange price of &hellip; <a href=\"https:\/\/kenscourses.com\/tc1014winter2017\/instructor\/wsq13-cars\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">WSQ13 &#8211; Cars<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":37611,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,24],"tags":[],"class_list":["post-37602","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\/37602","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\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc1014winter2017\/wp-json\/wp\/v2\/comments?post=37602"}],"version-history":[{"count":2,"href":"https:\/\/kenscourses.com\/tc1014winter2017\/wp-json\/wp\/v2\/posts\/37602\/revisions"}],"predecessor-version":[{"id":37612,"href":"https:\/\/kenscourses.com\/tc1014winter2017\/wp-json\/wp\/v2\/posts\/37602\/revisions\/37612"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc1014winter2017\/wp-json\/wp\/v2\/media\/37611"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc1014winter2017\/wp-json\/wp\/v2\/media?parent=37602"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc1014winter2017\/wp-json\/wp\/v2\/categories?post=37602"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc1014winter2017\/wp-json\/wp\/v2\/tags?post=37602"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}