{"id":732,"date":"2011-10-04T08:11:01","date_gmt":"2011-10-04T15:11:01","guid":{"rendered":"http:\/\/www.glencora.org\/?p=732"},"modified":"2012-01-28T00:11:06","modified_gmt":"2012-01-28T00:11:06","slug":"note-to-self-turn-off-cell-phone-data-connection-during-class","status":"publish","type":"post","link":"https:\/\/blogs.oregonstate.edu\/glencora\/2011\/10\/04\/note-to-self-turn-off-cell-phone-data-connection-during-class\/","title":{"rendered":"Note to self: turn off cell-phone data connection during class"},"content":{"rendered":"<p>In my large intro class I used <a href=\"http:\/\/www.robozzle.com\/\">Robozzle<\/a> to talk about program control and introduce recursion. Robozzle does use a true call stack and to solve some puzzles (for example,\u00a0<a title=\"http:\/\/robozzle.com\/index.aspx?puzzle=330\" rel=\"nofollow\" href=\"http:\/\/robozzle.com\/index.aspx?puzzle=330\">learning stack<\/a>,\u00a0<a title=\"http:\/\/robozzle.com\/index.aspx?puzzle=536\" rel=\"nofollow\" href=\"http:\/\/robozzle.com\/index.aspx?puzzle=536\">recursed<\/a>,\u00a0<a title=\"http:\/\/www.robozzle.com\/index.aspx?puzzle=333\" rel=\"nofollow\" href=\"http:\/\/www.robozzle.com\/index.aspx?puzzle=333\">learning stack 2<\/a>,\u00a0<a title=\"http:\/\/www.robozzle.com\/index.aspx?puzzle=656\" rel=\"nofollow\" href=\"http:\/\/www.robozzle.com\/index.aspx?puzzle=656\">limit your stack<\/a>,\u00a0<a title=\"http:\/\/www.robozzle.com\/index.aspx?puzzle=1033\" rel=\"nofollow\" href=\"http:\/\/www.robozzle.com\/index.aspx?puzzle=1033\">counting &#8211; green<\/a>) you really need to understand both recursion and how the to use the call stack. \u00a0This is week one of computer science, so \u00a0I didn&#8217;t get into a huge amount of detail, but it did seem to get the &#8220;newbies&#8221; engaged and make the &#8220;hackers&#8221; realize that they do have something to learn. \u00a0Only a tiny handful of students could solve the aforementioned puzzle before being taught how the call stack can be used. \u00a0Overall, it was a success (I think), and I recommend it as a learning tool.<\/p>\n<p>A colleague once mentioned &#8220;boy, this would be difficult to debug&#8221; and reminded me that the iPhone version of the game shows\u00a0the call stack &#8211; or a version thereof &#8211; in the &#8220;step-through&#8221; mode. \u00a0I decided it would be a good idea to use the document camera to show this live (rather than hand-drawing the call-stack on the board). \u00a0It never even occurred to me that while my phone was exposed under the document camera, I could receive a call from &lt;embarrassing pet name&gt; or a text of &lt;face-reddening material&gt;. \u00a0And then &#8220;BING&#8221;.<\/p>\n<p>Cue my nightmare.<\/p>\n<p>Thankfully the text message was some automated one from AT&amp;T. \u00a0However, in my &#8220;deer in headlights&#8221; teaching state, it didn&#8217;t occur to me to then turn off my phone&#8217;s data connection. \u00a0Nervously, I made it through the next 10 or so minutes of class without incident.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In my large intro class I used Robozzle to talk about program control and introduce recursion. Robozzle does use a true call stack and to solve some puzzles (for example,\u00a0learning stack,\u00a0recursed,\u00a0learning stack 2,\u00a0limit your stack,\u00a0counting &#8211; green) you really need to understand both recursion and how the to use the call stack. \u00a0This is week [&hellip;]<\/p>\n","protected":false},"author":3747,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[106163,1000,3514],"class_list":["post-732","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-game","tag-teaching","tag-undergraduate"],"_links":{"self":[{"href":"https:\/\/blogs.oregonstate.edu\/glencora\/wp-json\/wp\/v2\/posts\/732","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.oregonstate.edu\/glencora\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.oregonstate.edu\/glencora\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/glencora\/wp-json\/wp\/v2\/users\/3747"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/glencora\/wp-json\/wp\/v2\/comments?post=732"}],"version-history":[{"count":1,"href":"https:\/\/blogs.oregonstate.edu\/glencora\/wp-json\/wp\/v2\/posts\/732\/revisions"}],"predecessor-version":[{"id":877,"href":"https:\/\/blogs.oregonstate.edu\/glencora\/wp-json\/wp\/v2\/posts\/732\/revisions\/877"}],"wp:attachment":[{"href":"https:\/\/blogs.oregonstate.edu\/glencora\/wp-json\/wp\/v2\/media?parent=732"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/glencora\/wp-json\/wp\/v2\/categories?post=732"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/glencora\/wp-json\/wp\/v2\/tags?post=732"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}