Skip to main content

Pencil Code: A Programming Primer




A privacy reminder from GoogleReview nowI'll read this later
















  • Account






  • Search






  • Maps






  • YouTube






  • Play






  • News






  • Gmail






  • Contacts






  • Drive






  • Calendar






  • Google+






  • Translate






  • Photos


More






  • Shopping






  • Finance






  • Docs






  • Books






  • Blogger






  • Hangouts






  • Keep






  • Earth


Even more from Google



Sign in







Hidden fields



















A privacy reminder from GoogleReview nowI'll read this later



A privacy reminder from GoogleReview nowI'll read this later

















  • Account






  • Search






  • Maps






  • YouTube






  • Play






  • News






  • Gmail






  • Contacts






  • Drive






  • Calendar






  • Google+






  • Translate






  • Photos


More






  • Shopping






  • Finance






  • Docs






  • Books






  • Blogger






  • Hangouts






  • Keep






  • Earth


Even more from Google



Sign in







Hidden fields






























  • Account






  • Search






  • Maps






  • YouTube






  • Play






  • News






  • Gmail






  • Contacts






  • Drive






  • Calendar






  • Google+






  • Translate






  • Photos


More






  • Shopping






  • Finance






  • Docs






  • Books






  • Blogger






  • Hangouts






  • Keep






  • Earth


Even more from Google



Sign in



















  • Account






  • Search






  • Maps






  • YouTube






  • Play






  • News






  • Gmail






  • Contacts






  • Drive






  • Calendar






  • Google+






  • Translate






  • Photos


More






  • Shopping






  • Finance






  • Docs






  • Books






  • Blogger






  • Hangouts






  • Keep






  • Earth


Even more from Google



Sign in



















  • Account






  • Search






  • Maps






  • YouTube






  • Play






  • News






  • Gmail






  • Contacts






  • Drive






  • Calendar






  • Google+






  • Translate






  • Photos


More






  • Shopping






  • Finance






  • Docs






  • Books






  • Blogger






  • Hangouts






  • Keep






  • Earth


Even more from Google



















  • Account






  • Search






  • Maps






  • YouTube






  • Play






  • News






  • Gmail






  • Contacts






  • Drive






  • Calendar






  • Google+






  • Translate






  • Photos


More






  • Shopping






  • Finance






  • Docs






  • Books






  • Blogger






  • Hangouts






  • Keep






  • Earth


Even more from Google











































































































































































Sign in





Sign in














Hidden fields

















Hidden fields

















Hidden fields

















Hidden fields















































Load basic HTML (for slow connections)









Load basic HTML (for slow connections)





Load basic HTML (for slow connections)



Load basic HTML (for slow connections)




Screen reader users: click this link for accessible mode. Accessible mode has the same essential features but works better with your reader.



Books















books.google.co.uk - This elegant programming primer teaches K-12 students to code through more than 100 graded examples, each one illustrated in color. The second edition includes an appendix with a tutorial in CoffeeScript.Written by a computer scientist to teach his own children to program, the book is designed for inductive...https://books.google.co.uk/books/about/Pencil_Code.html?id=kJRhAgAAQBAJ&utm_source=gb-gplus-sharePencil CodePencil Code



  1. My library

  2. Help

  3. Advanced Book Search

  4. Download PDF


















function isValidPageNum(s) {return (s.match("^([0-9])*$") ||s.toUpperCase().match("^M{0,4}(CM|CD|D?C{0,3})(XC|XL|L?X{0,3})(IX|IV|V?I{0,3})$") );}function onSubmit(thisForm) {if ( !isValidPageNum(thisForm.jtp.value) ) {var msg = '%1$s is not a page number. Please enter the page number to visit';msg = msg.replace("%1$s", "'" + thisForm.jtp.value + "' ");alert(msg);return false;}thisForm.submit();return true;}



  






PDF







.html_page_image{display:none;}
.viewport div img {display:none;}


.html_page_image { background-image:url("https://books.google.co.uk/books/content?id=kJRhAgAAQBAJ&pg=PP1&img=1&zoom=3&hl=en&sig=ACfU3U0fE1m3jmdSKVSiWAbQH-cSkQQQJg"); width:575px;height:891px; top:0px;left:0px;position:relative}
Next Page




_OC_addFlags({Host:"https://books.google.co.uk/", LockSrc:"/books/javascript/lock_67cdbfe536dffe3871218db5c25fdc8a.js", IsFutureOnSaleVolumesEnabled:1, IsBookcardListPriceSmall:0, IsImagePageProviderEnabled:1, IsMyLibraryGooglePlusEnabled:1, IsImageModeNotesEnabled:1, IsEmbeddedMediaEnabled:1, IsAdsDisabled:0, IsOfflineBubbleEnabled:1, IsBrowsingHistoryEnabled:1, IsZipitFolderCollectionEnabled:1, IsDisabledRandomBookshelves:0, IsMobileRequest:0, IsImageModeAnnotationsEnabled:1, IsBooksUnifiedLeftNavEnabled:1, IsWebReaderSvgEnabled:0, IsBooksShareButtonEnabled:0, IsBooksRentalEnabled:1, IsInternalUser:0});_OC_Run({"page":[{"pid":"PP1","flags":34,"order":0,"h":900},{"pid":"PP2","flags":2,"order":1},{"pid":"PP3","flags":2,"order":2},{"pid":"PP4","flags":2,"order":3},{"pid":"PP5","flags":2,"order":4},{"pid":"PP6","flags":2,"order":5},{"pid":"PP7","flags":2,"order":6},{"pid":"PP8","flags":2,"order":7},{"pid":"PP9","flags":2,"order":8},{"pid":"PA1","flags":2,"order":9,"title":"1"},{"pid":"PA2","flags":2,"order":10,"title":"2"},{"pid":"PA3","flags":2,"order":11,"title":"3"},{"pid":"PA4","flags":2,"order":12,"title":"4"},{"pid":"PA5","flags":2,"order":13,"title":"5"},{"pid":"PA6","flags":2,"order":14,"title":"6"},{"pid":"PA7","flags":2,"order":15,"title":"7"},{"pid":"PA8","flags":2,"order":16,"title":"8"},{"pid":"PA9","flags":2,"order":17,"title":"9"},{"pid":"PA10","flags":2,"order":18,"title":"10"},{"pid":"PA11","flags":2,"order":19,"title":"11"},{"pid":"PA12","flags":2,"order":20,"title":"12"},{"pid":"PA13","flags":2,"order":21,"title":"13"},{"pid":"PA14","flags":2,"order":22,"title":"14"},{"pid":"PA15","flags":2,"order":23,"title":"15"},{"pid":"PA16","flags":2,"order":24,"title":"16"},{"pid":"PA17","flags":2,"order":25,"title":"17"},{"pid":"PA18","flags":2,"order":26,"title":"18"},{"pid":"PA19","flags":2,"order":27,"title":"19"},{"pid":"PA20","flags":2,"order":28,"title":"20"},{"pid":"PA21","flags":2,"order":29,"title":"21"},{"pid":"PA22","flags":2,"order":30,"title":"22"},{"pid":"PA23","flags":2,"order":31,"title":"23"},{"pid":"PA24","flags":2,"order":32,"title":"24"},{"pid":"PA25","flags":2,"order":33,"title":"25"},{"pid":"PA26","flags":2,"order":34,"title":"26"},{"pid":"PA27","flags":2,"order":35,"title":"27"},{"pid":"PA28","flags":2,"order":36,"title":"28"},{"pid":"PA29","flags":2,"order":37,"title":"29"},{"pid":"PA30","flags":2,"order":38,"title":"30"},{"pid":"PA31","flags":2,"order":39,"title":"31"},{"pid":"PA32","flags":2,"order":40,"title":"32"},{"pid":"PA33","flags":2,"order":41,"title":"33"},{"pid":"PA34","flags":2,"order":42,"title":"34"},{"pid":"PA35","flags":2,"order":43,"title":"35"},{"pid":"PA36","flags":2,"order":44,"title":"36"},{"pid":"PA37","flags":2,"order":45,"title":"37"},{"pid":"PA38","flags":2,"order":46,"title":"38"},{"pid":"PA39","flags":2,"order":47,"title":"39"},{"pid":"PA40","flags":2,"order":48,"title":"40"},{"pid":"PA41","flags":2,"order":49,"title":"41"},{"pid":"PA42","flags":2,"order":50,"title":"42"},{"pid":"PA43","flags":2,"order":51,"title":"43"},{"pid":"PA44","flags":2,"order":52,"title":"44"},{"pid":"PA45","flags":2,"order":53,"title":"45"},{"pid":"PA46","flags":2,"order":54,"title":"46"},{"pid":"PA47","flags":2,"order":55,"title":"47"},{"pid":"PA48","flags":2,"order":56,"title":"48"}],"prefix":"https://books.google.co.uk/books?id=kJRhAgAAQBAJu0026lpg=PP1u0026dq=HTML+Download+code"},{"fullview":true,"page_width":575,"page_height":889,"font_height":10,"first_content_page":9,"disable_twopage":false,"initial_zoom_width_override":685,"show_print_pages_button":false,"title":"Pencil Code","subtitle":"A Programming Primer","attribution":"By David Bau III","additional_info":{"[JsonBookInfo]":{"BuyLinks":[{"Seller":"Buy Pencil Code in Paperback","Url":"http://www.amazon.com/Pencil-Code-A-Programming-Primer/dp/149434744X","TrackingUrl":"/url?client=ca-print-otter_7YDW7URu0026format=googleprintu0026num=0u0026id=kJRhAgAAQBAJu0026q=http://www.amazon.com/Pencil-Code-A-Programming-Primer/dp/149434744Xu0026usg=AFQjCNEoOUeHpz5TIWjrNTqLXgSN5jCi5A","IsPublisher":true},{"Seller":"Amazon.co.uk","Url":"http://www.amazon.co.uk/gp/search?index=booksu0026linkCode=qsu0026keywords=9781494347444","TrackingUrl":"/url?client=ca-print-otter_7YDW7URu0026format=googleprintu0026num=0u0026id=kJRhAgAAQBAJu0026q=http://www.amazon.co.uk/gp/search%3Findex%3Dbooks%26linkCode%3Dqs%26keywords%3D9781494347444u0026usg=AFQjCNHn-TJ0crtBIUWKafVrKEVbCTNw-A"},{"Seller":"BookDepository","Url":"http://www.bookdepository.com/book/9781494347444","TrackingUrl":"/url?client=ca-print-otter_7YDW7URu0026format=googleprintu0026num=0u0026id=kJRhAgAAQBAJu0026q=http://www.bookdepository.com/book/9781494347444u0026usg=AFQjCNE7BiBHJfGN4l0q6DHKnWrRfm1mfg"},{"Seller":"Waterstone's","Url":"http://www.waterstones.com/waterstonesweb/advancedSearch.do?buttonClicked=2u0026isbn=149434744X","TrackingUrl":"/url?client=ca-print-otter_7YDW7URu0026format=googleprintu0026num=0u0026id=kJRhAgAAQBAJu0026q=http://www.waterstones.com/waterstonesweb/advancedSearch.do%3FbuttonClicked%3D2%26isbn%3D149434744Xu0026usg=AFQjCNGVV9pG2_j1pTcFZcAWuAnvMnI3ew"},{"Seller":"WHSmith","Url":"http://www.whsmith.co.uk/CatalogAndSearch/SearchWithinCategory.aspx?as_ISBN=149434744X","TrackingUrl":"/url?client=ca-print-otter_7YDW7URu0026format=googleprintu0026num=0u0026id=kJRhAgAAQBAJu0026q=http://www.whsmith.co.uk/CatalogAndSearch/SearchWithinCategory.aspx%3Fas_ISBN%3D149434744Xu0026usg=AFQjCNHBmO--1-NYBTf9v1R1ivZ4jbh02w"},{"Seller":"Blackwell","Url":"http://bookshop.blackwell.co.uk/bobuk/scripts/home.jsp?action=searchu0026type=isbnu0026term=149434744X","TrackingUrl":"/url?client=ca-print-otter_7YDW7URu0026format=googleprintu0026num=0u0026id=kJRhAgAAQBAJu0026q=http://bookshop.blackwell.co.uk/bobuk/scripts/home.jsp%3Faction%3Dsearch%26type%3Disbn%26term%3D149434744Xu0026usg=AFQjCNHj49ncZlYMekQs7Y52hnSyxIpxrg"}],"AboutUrl":"https://books.google.co.uk/books?id=kJRhAgAAQBAJ","PreviewUrl":"https://books.google.co.uk/books?id=kJRhAgAAQBAJ","allowed_syndication_flags":{"allow_disabling_chrome":true},"online_access":{"url":"https://play.google.com/store/books/details?id=kJRhAgAAQBAJu0026rdid=book-kJRhAgAAQBAJu0026rdot=1","price":"£0.00","list_price":"£0.00"},"TocLine":[{"Title":"Part ","Pid":"PA1","PgNum":"1","Order":9},{"Title":"Points ","Pid":"PA2","PgNum":"2","Order":10},{"Title":"Loops ","Pid":"PA3","PgNum":"3","Order":11},{"Title":"Nesting ","Pid":"PA4","PgNum":"4","Order":12},{"Title":"Functions ","Pid":"PA5","PgNum":"5","Order":13},{"Title":"Parameters ","Pid":"PA6","PgNum":"6","Order":14},{"Title":"Time ","Pid":"PA7","PgNum":"7","Order":15},{"Title":"Output ","Pid":"PA8","PgNum":"8","Order":16},{"Title":"Input ","Pid":"PA9","PgNum":"9","Order":17},{"Title":"Numbers ","Pid":"PA10","PgNum":"10","Order":18},{"Title":"Computation ","Pid":"PA11","PgNum":"11","Order":19},{"Title":"Objects ","Pid":"PA12","PgNum":"12","Order":20},{"Title":"Arrays ","Pid":"PA13","PgNum":"13","Order":21},{"Title":"Recursion ","Pid":"PA14","PgNum":"14","Order":22},{"Title":"Randomness ","Pid":"PA15","PgNum":"15","Order":23},{"Title":"Sets ","Pid":"PA16","PgNum":"16","Order":24},{"Title":"Text ","Pid":"PA17","PgNum":"17","Order":25},{"Title":"Motion ","Pid":"PA18","PgNum":"18","Order":26},{"Title":"Concurrency ","Pid":"PA19","PgNum":"19","Order":27},{"Title":"Styles ","Pid":"PA20","PgNum":"20","Order":28},{"Title":"Selectors ","Pid":"PA21","PgNum":"21","Order":29},{"Title":"Events ","Pid":"PA22","PgNum":"22","Order":30},{"Title":"Slicing ","Pid":"PA23","PgNum":"23","Order":31},{"Title":"Sorting ","Pid":"PA24","PgNum":"24","Order":32},{"Title":"Search ","Pid":"PA25","PgNum":"25","Order":33},{"Title":"Intelligence ","Pid":"PA26","PgNum":"26","Order":34},{"Title":"One Project in Detail ","Pid":"PA28","PgNum":"28","Order":36},{"Title":"Running Pencil Code ","Pid":"PA29","PgNum":"29","Order":37},{"Title":"Keeping a Secret ","Pid":"PA30","PgNum":"30","Order":38},{"Title":"Computers are Fine Calculators ","Pid":"PA31","PgNum":"31","Order":39},{"Title":"Strings and Numbers ","Pid":"PA32","PgNum":"32","Order":40},{"Title":"Creating Graphics ","Pid":"PA33","PgNum":"33","Order":41},{"Title":"Making our First Program ","Pid":"PA34","PgNum":"34","Order":42},{"Title":"Hurry Up and Wait ","Pid":"PA35","PgNum":"35","Order":43},{"Title":"Using for to Repeat ","Pid":"PA36","PgNum":"36","Order":44},{"Title":"Using if to Choose ","Pid":"PA37","PgNum":"37","Order":45},{"Title":"Input with read ","Pid":"PA38","PgNum":"38","Order":46},{"Title":"Using while to Repeat ","Pid":"PA39","PgNum":"39","Order":47},{"Title":"Improving our Game ","Pid":"PA40","PgNum":"40","Order":48},{"Title":"Making it Look Like Hangman ","Pid":"PA41","PgNum":"41","Order":49},{"Title":"Picking a Random Secret ","Pid":"PA42","PgNum":"42","Order":50},{"Title":"Loading a List from the Internet ","Pid":"PA43","PgNum":"43","Order":51},{"Title":"TheWhole Hangman Program ","Pid":"PA44","PgNum":"44","Order":52},{"Title":"Making it Yours ","Pid":"PA45","PgNum":"45","Order":53}]}},"table_of_contents_page_id":"PP6","max_resolution_image_width":1280,"max_resolution_image_height":1978,"num_toc_pages":2,"quality_info":"We know this book has good quality.","volume_id":"kJRhAgAAQBAJ","permission_info":"Published by David Bau","is_ebook":true,"volumeresult":{"has_flowing_text":false,"has_scanned_text":true,"can_download_pdf":true,"can_download_epub":false,"is_pdf_drm_enabled":false,"is_epub_drm_enabled":false,"download_pdf_url":"https://books.google.co.uk/books/download/Pencil_Code.pdf?id=kJRhAgAAQBAJu0026output=pdfu0026sig=ACfU3U0yjE-NRi2oI8CHsZVwTjy2mx9Ryg"},"rating":10,"num_reviews":1,"publisher":"David Bau","publication_date":"2013.12.15","subject":"Computers","num_pages":56,"sample_url":"https://play.google.com/books/reader?id=kJRhAgAAQBAJu0026printsec=frontcoveru0026source=gbs_vpt_hover","synposis":"This elegant programming primer teaches K-12 students to code through more than 100 graded examples, each one illustrated in color. The second edition includes an appendix with a tutorial in CoffeeScript.Written by a computer scientist to teach his own children to program, the book is designed for inductive learning. The illustrated programs come with no expository text. Instead, the sequence of projects introduce increasingly sophisticated concepts by example.  Each one invites customization and exploration.The book begins by suggesting a simple program to draw a line. Subsequent pages introduce core concepts in computer science: loops, functions, recursion, input and output, numbers and text, and data structures. The more advanced material introduces concepts in randomness, animation, HTML5, jQuery, networking, and artificial intelligence.","my_library_url":"https://www.google.com/accounts/Login?service=printu0026continue=https://books.google.co.uk/books%3Fop%3Dlibraryu0026hl=en","is_magazine":false,"is_public_domain":false},{"enableUserFeedbackUI":true,"pseudocontinuous":true,"enableThumbnailViewport":true,"is_cobrand":false,"sign_in_url":"https://www.google.com/accounts/Login?service=printu0026continue=https://books.google.co.uk/books%3Fid%3DkJRhAgAAQBAJ%26printsec%3Dfrontcover%26dq%3DHTML%2BDownload%2Bcode%26hl%3Den%26sa%3DXu0026hl=en"},{"page":[{"pid":"PP1","src":"https://books.google.co.uk/books/content?id=kJRhAgAAQBAJu0026pg=PP1u0026img=1u0026zoom=3u0026hl=enu0026sig=ACfU3U0fE1m3jmdSKVSiWAbQH-cSkQQQJg","highlights":[{"X":286,"Y":344,"W":78,"H":26}],"flags":34,"order":0,"uf":"https://books.google.co.uk/books_feedback?id=kJRhAgAAQBAJu0026spid=AFLRE700fO5q5pREHC7qBUkREoKHS616BuO80ERixo7Uyp8OBPasuQ8gNvVOCHlCwG2sXkMl5gngu0026ftype=0","snippet_src":"https://books.google.co.uk/books/content?id=kJRhAgAAQBAJu0026pg=PP1u0026img=1u0026pgis=1u0026dq=HTML+Download+codeu0026sig=ACfU3U3r4Z0FESvai-TmH2NHBpB5-FgBewu0026edge=0"}]},null,null,{});window.ga=window.ga||function(){(ga.q=ga.q||).push(arguments)};ga.l=+new Date;ga('create', 'UA-18010-1', 'auto');ga('send', 'pageview');









Buy eBook - £0.00



  • Buy Pencil Code in Paperback

  • Amazon.co.uk

  • BookDepository

  • Waterstone's

  • WHSmith

  • Blackwell



  • Find in a library


  • All sellers »




  • Buy Pencil Code in Paperback

  • Amazon.co.uk

  • BookDepository

  • Waterstone's

  • WHSmith

  • Blackwell



  • Find in a library


  • All sellers »











Front Cover


1 ReviewWrite reviewhttps://books.google.com/books/about/Pencil_Code.html?id=kJRhAgAAQBAJ








Front Cover


1 ReviewWrite reviewhttps://books.google.com/books/about/Pencil_Code.html?id=kJRhAgAAQBAJ



Front Cover



1 ReviewWrite reviewhttps://books.google.com/books/about/Pencil_Code.html?id=kJRhAgAAQBAJ





Pencil Code: A Programming Primer


By David Bau III






 

if (window['_OC_autoDir']) {_OC_autoDir('search_form_input');}


 


About this book





_OC_InitNavbar({"child_node":[{"title":"My library","url":"https://books.google.co.uk/books?uid=114584440181414684107u0026source=gbs_lp_bookshelf_list","id":"my_library","collapsed":true},{"title":"My History","url":"","id":"my_history","collapsed":true},{"title":"Books on Google Play","url":"https://play.google.com/store/books","id":"ebookstore","collapsed":true}],"highlighted_node_id":""});Terms of Service


Published by David Bau. 





Published by David Bau. 


Published by David Bau. 















function isValidPageNum(s) {return (s.match("^([0-9])*$") ||s.toUpperCase().match("^M{0,4}(CM|CD|D?C{0,3})(XC|XL|L?X{0,3})(IX|IV|V?I{0,3})$") );}function onSubmit(thisForm) {if ( !isValidPageNum(thisForm.jtp.value) ) {var msg = '%1$s is not a page number. Please enter the page number to visit';msg = msg.replace("%1$s", "'" + thisForm.jtp.value + "' ");alert(msg);return false;}thisForm.submit();return true;}



  






PDF







.html_page_image{display:none;}
.viewport div img {display:none;}


.html_page_image { background-image:url("https://books.google.co.uk/books/content?id=kJRhAgAAQBAJ&pg=PP1&img=1&zoom=3&hl=en&sig=ACfU3U0fE1m3jmdSKVSiWAbQH-cSkQQQJg"); width:575px;height:891px; top:0px;left:0px;position:relative}
Next Page




_OC_addFlags({Host:"https://books.google.co.uk/", LockSrc:"/books/javascript/lock_67cdbfe536dffe3871218db5c25fdc8a.js", IsFutureOnSaleVolumesEnabled:1, IsBookcardListPriceSmall:0, IsImagePageProviderEnabled:1, IsMyLibraryGooglePlusEnabled:1, IsImageModeNotesEnabled:1, IsEmbeddedMediaEnabled:1, IsAdsDisabled:0, IsOfflineBubbleEnabled:1, IsBrowsingHistoryEnabled:1, IsZipitFolderCollectionEnabled:1, IsDisabledRandomBookshelves:0, IsMobileRequest:0, IsImageModeAnnotationsEnabled:1, IsBooksUnifiedLeftNavEnabled:1, IsWebReaderSvgEnabled:0, IsBooksShareButtonEnabled:0, IsBooksRentalEnabled:1, IsInternalUser:0});_OC_Run({"page":[{"pid":"PP1","flags":34,"order":0,"h":900},{"pid":"PP2","flags":2,"order":1},{"pid":"PP3","flags":2,"order":2},{"pid":"PP4","flags":2,"order":3},{"pid":"PP5","flags":2,"order":4},{"pid":"PP6","flags":2,"order":5},{"pid":"PP7","flags":2,"order":6},{"pid":"PP8","flags":2,"order":7},{"pid":"PP9","flags":2,"order":8},{"pid":"PA1","flags":2,"order":9,"title":"1"},{"pid":"PA2","flags":2,"order":10,"title":"2"},{"pid":"PA3","flags":2,"order":11,"title":"3"},{"pid":"PA4","flags":2,"order":12,"title":"4"},{"pid":"PA5","flags":2,"order":13,"title":"5"},{"pid":"PA6","flags":2,"order":14,"title":"6"},{"pid":"PA7","flags":2,"order":15,"title":"7"},{"pid":"PA8","flags":2,"order":16,"title":"8"},{"pid":"PA9","flags":2,"order":17,"title":"9"},{"pid":"PA10","flags":2,"order":18,"title":"10"},{"pid":"PA11","flags":2,"order":19,"title":"11"},{"pid":"PA12","flags":2,"order":20,"title":"12"},{"pid":"PA13","flags":2,"order":21,"title":"13"},{"pid":"PA14","flags":2,"order":22,"title":"14"},{"pid":"PA15","flags":2,"order":23,"title":"15"},{"pid":"PA16","flags":2,"order":24,"title":"16"},{"pid":"PA17","flags":2,"order":25,"title":"17"},{"pid":"PA18","flags":2,"order":26,"title":"18"},{"pid":"PA19","flags":2,"order":27,"title":"19"},{"pid":"PA20","flags":2,"order":28,"title":"20"},{"pid":"PA21","flags":2,"order":29,"title":"21"},{"pid":"PA22","flags":2,"order":30,"title":"22"},{"pid":"PA23","flags":2,"order":31,"title":"23"},{"pid":"PA24","flags":2,"order":32,"title":"24"},{"pid":"PA25","flags":2,"order":33,"title":"25"},{"pid":"PA26","flags":2,"order":34,"title":"26"},{"pid":"PA27","flags":2,"order":35,"title":"27"},{"pid":"PA28","flags":2,"order":36,"title":"28"},{"pid":"PA29","flags":2,"order":37,"title":"29"},{"pid":"PA30","flags":2,"order":38,"title":"30"},{"pid":"PA31","flags":2,"order":39,"title":"31"},{"pid":"PA32","flags":2,"order":40,"title":"32"},{"pid":"PA33","flags":2,"order":41,"title":"33"},{"pid":"PA34","flags":2,"order":42,"title":"34"},{"pid":"PA35","flags":2,"order":43,"title":"35"},{"pid":"PA36","flags":2,"order":44,"title":"36"},{"pid":"PA37","flags":2,"order":45,"title":"37"},{"pid":"PA38","flags":2,"order":46,"title":"38"},{"pid":"PA39","flags":2,"order":47,"title":"39"},{"pid":"PA40","flags":2,"order":48,"title":"40"},{"pid":"PA41","flags":2,"order":49,"title":"41"},{"pid":"PA42","flags":2,"order":50,"title":"42"},{"pid":"PA43","flags":2,"order":51,"title":"43"},{"pid":"PA44","flags":2,"order":52,"title":"44"},{"pid":"PA45","flags":2,"order":53,"title":"45"},{"pid":"PA46","flags":2,"order":54,"title":"46"},{"pid":"PA47","flags":2,"order":55,"title":"47"},{"pid":"PA48","flags":2,"order":56,"title":"48"}],"prefix":"https://books.google.co.uk/books?id=kJRhAgAAQBAJu0026lpg=PP1u0026dq=HTML+Download+code"},{"fullview":true,"page_width":575,"page_height":889,"font_height":10,"first_content_page":9,"disable_twopage":false,"initial_zoom_width_override":685,"show_print_pages_button":false,"title":"Pencil Code","subtitle":"A Programming Primer","attribution":"By David Bau III","additional_info":{"[JsonBookInfo]":{"BuyLinks":[{"Seller":"Buy Pencil Code in Paperback","Url":"http://www.amazon.com/Pencil-Code-A-Programming-Primer/dp/149434744X","TrackingUrl":"/url?client=ca-print-otter_7YDW7URu0026format=googleprintu0026num=0u0026id=kJRhAgAAQBAJu0026q=http://www.amazon.com/Pencil-Code-A-Programming-Primer/dp/149434744Xu0026usg=AFQjCNEoOUeHpz5TIWjrNTqLXgSN5jCi5A","IsPublisher":true},{"Seller":"Amazon.co.uk","Url":"http://www.amazon.co.uk/gp/search?index=booksu0026linkCode=qsu0026keywords=9781494347444","TrackingUrl":"/url?client=ca-print-otter_7YDW7URu0026format=googleprintu0026num=0u0026id=kJRhAgAAQBAJu0026q=http://www.amazon.co.uk/gp/search%3Findex%3Dbooks%26linkCode%3Dqs%26keywords%3D9781494347444u0026usg=AFQjCNHn-TJ0crtBIUWKafVrKEVbCTNw-A"},{"Seller":"BookDepository","Url":"http://www.bookdepository.com/book/9781494347444","TrackingUrl":"/url?client=ca-print-otter_7YDW7URu0026format=googleprintu0026num=0u0026id=kJRhAgAAQBAJu0026q=http://www.bookdepository.com/book/9781494347444u0026usg=AFQjCNE7BiBHJfGN4l0q6DHKnWrRfm1mfg"},{"Seller":"Waterstone's","Url":"http://www.waterstones.com/waterstonesweb/advancedSearch.do?buttonClicked=2u0026isbn=149434744X","TrackingUrl":"/url?client=ca-print-otter_7YDW7URu0026format=googleprintu0026num=0u0026id=kJRhAgAAQBAJu0026q=http://www.waterstones.com/waterstonesweb/advancedSearch.do%3FbuttonClicked%3D2%26isbn%3D149434744Xu0026usg=AFQjCNGVV9pG2_j1pTcFZcAWuAnvMnI3ew"},{"Seller":"WHSmith","Url":"http://www.whsmith.co.uk/CatalogAndSearch/SearchWithinCategory.aspx?as_ISBN=149434744X","TrackingUrl":"/url?client=ca-print-otter_7YDW7URu0026format=googleprintu0026num=0u0026id=kJRhAgAAQBAJu0026q=http://www.whsmith.co.uk/CatalogAndSearch/SearchWithinCategory.aspx%3Fas_ISBN%3D149434744Xu0026usg=AFQjCNHBmO--1-NYBTf9v1R1ivZ4jbh02w"},{"Seller":"Blackwell","Url":"http://bookshop.blackwell.co.uk/bobuk/scripts/home.jsp?action=searchu0026type=isbnu0026term=149434744X","TrackingUrl":"/url?client=ca-print-otter_7YDW7URu0026format=googleprintu0026num=0u0026id=kJRhAgAAQBAJu0026q=http://bookshop.blackwell.co.uk/bobuk/scripts/home.jsp%3Faction%3Dsearch%26type%3Disbn%26term%3D149434744Xu0026usg=AFQjCNHj49ncZlYMekQs7Y52hnSyxIpxrg"}],"AboutUrl":"https://books.google.co.uk/books?id=kJRhAgAAQBAJ","PreviewUrl":"https://books.google.co.uk/books?id=kJRhAgAAQBAJ","allowed_syndication_flags":{"allow_disabling_chrome":true},"online_access":{"url":"https://play.google.com/store/books/details?id=kJRhAgAAQBAJu0026rdid=book-kJRhAgAAQBAJu0026rdot=1","price":"£0.00","list_price":"£0.00"},"TocLine":[{"Title":"Part ","Pid":"PA1","PgNum":"1","Order":9},{"Title":"Points ","Pid":"PA2","PgNum":"2","Order":10},{"Title":"Loops ","Pid":"PA3","PgNum":"3","Order":11},{"Title":"Nesting ","Pid":"PA4","PgNum":"4","Order":12},{"Title":"Functions ","Pid":"PA5","PgNum":"5","Order":13},{"Title":"Parameters ","Pid":"PA6","PgNum":"6","Order":14},{"Title":"Time ","Pid":"PA7","PgNum":"7","Order":15},{"Title":"Output ","Pid":"PA8","PgNum":"8","Order":16},{"Title":"Input ","Pid":"PA9","PgNum":"9","Order":17},{"Title":"Numbers ","Pid":"PA10","PgNum":"10","Order":18},{"Title":"Computation ","Pid":"PA11","PgNum":"11","Order":19},{"Title":"Objects ","Pid":"PA12","PgNum":"12","Order":20},{"Title":"Arrays ","Pid":"PA13","PgNum":"13","Order":21},{"Title":"Recursion ","Pid":"PA14","PgNum":"14","Order":22},{"Title":"Randomness ","Pid":"PA15","PgNum":"15","Order":23},{"Title":"Sets ","Pid":"PA16","PgNum":"16","Order":24},{"Title":"Text ","Pid":"PA17","PgNum":"17","Order":25},{"Title":"Motion ","Pid":"PA18","PgNum":"18","Order":26},{"Title":"Concurrency ","Pid":"PA19","PgNum":"19","Order":27},{"Title":"Styles ","Pid":"PA20","PgNum":"20","Order":28},{"Title":"Selectors ","Pid":"PA21","PgNum":"21","Order":29},{"Title":"Events ","Pid":"PA22","PgNum":"22","Order":30},{"Title":"Slicing ","Pid":"PA23","PgNum":"23","Order":31},{"Title":"Sorting ","Pid":"PA24","PgNum":"24","Order":32},{"Title":"Search ","Pid":"PA25","PgNum":"25","Order":33},{"Title":"Intelligence ","Pid":"PA26","PgNum":"26","Order":34},{"Title":"One Project in Detail ","Pid":"PA28","PgNum":"28","Order":36},{"Title":"Running Pencil Code ","Pid":"PA29","PgNum":"29","Order":37},{"Title":"Keeping a Secret ","Pid":"PA30","PgNum":"30","Order":38},{"Title":"Computers are Fine Calculators ","Pid":"PA31","PgNum":"31","Order":39},{"Title":"Strings and Numbers ","Pid":"PA32","PgNum":"32","Order":40},{"Title":"Creating Graphics ","Pid":"PA33","PgNum":"33","Order":41},{"Title":"Making our First Program ","Pid":"PA34","PgNum":"34","Order":42},{"Title":"Hurry Up and Wait ","Pid":"PA35","PgNum":"35","Order":43},{"Title":"Using for to Repeat ","Pid":"PA36","PgNum":"36","Order":44},{"Title":"Using if to Choose ","Pid":"PA37","PgNum":"37","Order":45},{"Title":"Input with read ","Pid":"PA38","PgNum":"38","Order":46},{"Title":"Using while to Repeat ","Pid":"PA39","PgNum":"39","Order":47},{"Title":"Improving our Game ","Pid":"PA40","PgNum":"40","Order":48},{"Title":"Making it Look Like Hangman ","Pid":"PA41","PgNum":"41","Order":49},{"Title":"Picking a Random Secret ","Pid":"PA42","PgNum":"42","Order":50},{"Title":"Loading a List from the Internet ","Pid":"PA43","PgNum":"43","Order":51},{"Title":"TheWhole Hangman Program ","Pid":"PA44","PgNum":"44","Order":52},{"Title":"Making it Yours ","Pid":"PA45","PgNum":"45","Order":53}]}},"table_of_contents_page_id":"PP6","max_resolution_image_width":1280,"max_resolution_image_height":1978,"num_toc_pages":2,"quality_info":"We know this book has good quality.","volume_id":"kJRhAgAAQBAJ","permission_info":"Published by David Bau","is_ebook":true,"volumeresult":{"has_flowing_text":false,"has_scanned_text":true,"can_download_pdf":true,"can_download_epub":false,"is_pdf_drm_enabled":false,"is_epub_drm_enabled":false,"download_pdf_url":"https://books.google.co.uk/books/download/Pencil_Code.pdf?id=kJRhAgAAQBAJu0026output=pdfu0026sig=ACfU3U0yjE-NRi2oI8CHsZVwTjy2mx9Ryg"},"rating":10,"num_reviews":1,"publisher":"David Bau","publication_date":"2013.12.15","subject":"Computers","num_pages":56,"sample_url":"https://play.google.com/books/reader?id=kJRhAgAAQBAJu0026printsec=frontcoveru0026source=gbs_vpt_hover","synposis":"This elegant programming primer teaches K-12 students to code through more than 100 graded examples, each one illustrated in color. The second edition includes an appendix with a tutorial in CoffeeScript.Written by a computer scientist to teach his own children to program, the book is designed for inductive learning. The illustrated programs come with no expository text. Instead, the sequence of projects introduce increasingly sophisticated concepts by example.  Each one invites customization and exploration.The book begins by suggesting a simple program to draw a line. Subsequent pages introduce core concepts in computer science: loops, functions, recursion, input and output, numbers and text, and data structures. The more advanced material introduces concepts in randomness, animation, HTML5, jQuery, networking, and artificial intelligence.","my_library_url":"https://www.google.com/accounts/Login?service=printu0026continue=https://books.google.co.uk/books%3Fop%3Dlibraryu0026hl=en","is_magazine":false,"is_public_domain":false},{"enableUserFeedbackUI":true,"pseudocontinuous":true,"enableThumbnailViewport":true,"is_cobrand":false,"sign_in_url":"https://www.google.com/accounts/Login?service=printu0026continue=https://books.google.co.uk/books%3Fid%3DkJRhAgAAQBAJ%26printsec%3Dfrontcover%26dq%3DHTML%2BDownload%2Bcode%26hl%3Den%26sa%3DXu0026hl=en"},{"page":[{"pid":"PP1","src":"https://books.google.co.uk/books/content?id=kJRhAgAAQBAJu0026pg=PP1u0026img=1u0026zoom=3u0026hl=enu0026sig=ACfU3U0fE1m3jmdSKVSiWAbQH-cSkQQQJg","highlights":[{"X":286,"Y":344,"W":78,"H":26}],"flags":34,"order":0,"uf":"https://books.google.co.uk/books_feedback?id=kJRhAgAAQBAJu0026spid=AFLRE700fO5q5pREHC7qBUkREoKHS616BuO80ERixo7Uyp8OBPasuQ8gNvVOCHlCwG2sXkMl5gngu0026ftype=0","snippet_src":"https://books.google.co.uk/books/content?id=kJRhAgAAQBAJu0026pg=PP1u0026img=1u0026pgis=1u0026dq=HTML+Download+codeu0026sig=ACfU3U3r4Z0FESvai-TmH2NHBpB5-FgBewu0026edge=0"}]},null,null,{});window.ga=window.ga||function(){(ga.q=ga.q||).push(arguments)};ga.l=+new Date;ga('create', 'UA-18010-1', 'auto');ga('send', 'pageview');















function isValidPageNum(s) {return (s.match("^([0-9])*$") ||s.toUpperCase().match("^M{0,4}(CM|CD|D?C{0,3})(XC|XL|L?X{0,3})(IX|IV|V?I{0,3})$") );}function onSubmit(thisForm) {if ( !isValidPageNum(thisForm.jtp.value) ) {var msg = '%1$s is not a page number. Please enter the page number to visit';msg = msg.replace("%1$s", "'" + thisForm.jtp.value + "' ");alert(msg);return false;}thisForm.submit();return true;}



  






PDF







.html_page_image{display:none;}
.viewport div img {display:none;}


.html_page_image { background-image:url("https://books.google.co.uk/books/content?id=kJRhAgAAQBAJ&pg=PP1&img=1&zoom=3&hl=en&sig=ACfU3U0fE1m3jmdSKVSiWAbQH-cSkQQQJg"); width:575px;height:891px; top:0px;left:0px;position:relative}
Next Page




_OC_addFlags({Host:"https://books.google.co.uk/", LockSrc:"/books/javascript/lock_67cdbfe536dffe3871218db5c25fdc8a.js", IsFutureOnSaleVolumesEnabled:1, IsBookcardListPriceSmall:0, IsImagePageProviderEnabled:1, IsMyLibraryGooglePlusEnabled:1, IsImageModeNotesEnabled:1, IsEmbeddedMediaEnabled:1, IsAdsDisabled:0, IsOfflineBubbleEnabled:1, IsBrowsingHistoryEnabled:1, IsZipitFolderCollectionEnabled:1, IsDisabledRandomBookshelves:0, IsMobileRequest:0, IsImageModeAnnotationsEnabled:1, IsBooksUnifiedLeftNavEnabled:1, IsWebReaderSvgEnabled:0, IsBooksShareButtonEnabled:0, IsBooksRentalEnabled:1, IsInternalUser:0});_OC_Run({"page":[{"pid":"PP1","flags":34,"order":0,"h":900},{"pid":"PP2","flags":2,"order":1},{"pid":"PP3","flags":2,"order":2},{"pid":"PP4","flags":2,"order":3},{"pid":"PP5","flags":2,"order":4},{"pid":"PP6","flags":2,"order":5},{"pid":"PP7","flags":2,"order":6},{"pid":"PP8","flags":2,"order":7},{"pid":"PP9","flags":2,"order":8},{"pid":"PA1","flags":2,"order":9,"title":"1"},{"pid":"PA2","flags":2,"order":10,"title":"2"},{"pid":"PA3","flags":2,"order":11,"title":"3"},{"pid":"PA4","flags":2,"order":12,"title":"4"},{"pid":"PA5","flags":2,"order":13,"title":"5"},{"pid":"PA6","flags":2,"order":14,"title":"6"},{"pid":"PA7","flags":2,"order":15,"title":"7"},{"pid":"PA8","flags":2,"order":16,"title":"8"},{"pid":"PA9","flags":2,"order":17,"title":"9"},{"pid":"PA10","flags":2,"order":18,"title":"10"},{"pid":"PA11","flags":2,"order":19,"title":"11"},{"pid":"PA12","flags":2,"order":20,"title":"12"},{"pid":"PA13","flags":2,"order":21,"title":"13"},{"pid":"PA14","flags":2,"order":22,"title":"14"},{"pid":"PA15","flags":2,"order":23,"title":"15"},{"pid":"PA16","flags":2,"order":24,"title":"16"},{"pid":"PA17","flags":2,"order":25,"title":"17"},{"pid":"PA18","flags":2,"order":26,"title":"18"},{"pid":"PA19","flags":2,"order":27,"title":"19"},{"pid":"PA20","flags":2,"order":28,"title":"20"},{"pid":"PA21","flags":2,"order":29,"title":"21"},{"pid":"PA22","flags":2,"order":30,"title":"22"},{"pid":"PA23","flags":2,"order":31,"title":"23"},{"pid":"PA24","flags":2,"order":32,"title":"24"},{"pid":"PA25","flags":2,"order":33,"title":"25"},{"pid":"PA26","flags":2,"order":34,"title":"26"},{"pid":"PA27","flags":2,"order":35,"title":"27"},{"pid":"PA28","flags":2,"order":36,"title":"28"},{"pid":"PA29","flags":2,"order":37,"title":"29"},{"pid":"PA30","flags":2,"order":38,"title":"30"},{"pid":"PA31","flags":2,"order":39,"title":"31"},{"pid":"PA32","flags":2,"order":40,"title":"32"},{"pid":"PA33","flags":2,"order":41,"title":"33"},{"pid":"PA34","flags":2,"order":42,"title":"34"},{"pid":"PA35","flags":2,"order":43,"title":"35"},{"pid":"PA36","flags":2,"order":44,"title":"36"},{"pid":"PA37","flags":2,"order":45,"title":"37"},{"pid":"PA38","flags":2,"order":46,"title":"38"},{"pid":"PA39","flags":2,"order":47,"title":"39"},{"pid":"PA40","flags":2,"order":48,"title":"40"},{"pid":"PA41","flags":2,"order":49,"title":"41"},{"pid":"PA42","flags":2,"order":50,"title":"42"},{"pid":"PA43","flags":2,"order":51,"title":"43"},{"pid":"PA44","flags":2,"order":52,"title":"44"},{"pid":"PA45","flags":2,"order":53,"title":"45"},{"pid":"PA46","flags":2,"order":54,"title":"46"},{"pid":"PA47","flags":2,"order":55,"title":"47"},{"pid":"PA48","flags":2,"order":56,"title":"48"}],"prefix":"https://books.google.co.uk/books?id=kJRhAgAAQBAJu0026lpg=PP1u0026dq=HTML+Download+code"},{"fullview":true,"page_width":575,"page_height":889,"font_height":10,"first_content_page":9,"disable_twopage":false,"initial_zoom_width_override":685,"show_print_pages_button":false,"title":"Pencil Code","subtitle":"A Programming Primer","attribution":"By David Bau III","additional_info":{"[JsonBookInfo]":{"BuyLinks":[{"Seller":"Buy Pencil Code in Paperback","Url":"http://www.amazon.com/Pencil-Code-A-Programming-Primer/dp/149434744X","TrackingUrl":"/url?client=ca-print-otter_7YDW7URu0026format=googleprintu0026num=0u0026id=kJRhAgAAQBAJu0026q=http://www.amazon.com/Pencil-Code-A-Programming-Primer/dp/149434744Xu0026usg=AFQjCNEoOUeHpz5TIWjrNTqLXgSN5jCi5A","IsPublisher":true},{"Seller":"Amazon.co.uk","Url":"http://www.amazon.co.uk/gp/search?index=booksu0026linkCode=qsu0026keywords=9781494347444","TrackingUrl":"/url?client=ca-print-otter_7YDW7URu0026format=googleprintu0026num=0u0026id=kJRhAgAAQBAJu0026q=http://www.amazon.co.uk/gp/search%3Findex%3Dbooks%26linkCode%3Dqs%26keywords%3D9781494347444u0026usg=AFQjCNHn-TJ0crtBIUWKafVrKEVbCTNw-A"},{"Seller":"BookDepository","Url":"http://www.bookdepository.com/book/9781494347444","TrackingUrl":"/url?client=ca-print-otter_7YDW7URu0026format=googleprintu0026num=0u0026id=kJRhAgAAQBAJu0026q=http://www.bookdepository.com/book/9781494347444u0026usg=AFQjCNE7BiBHJfGN4l0q6DHKnWrRfm1mfg"},{"Seller":"Waterstone's","Url":"http://www.waterstones.com/waterstonesweb/advancedSearch.do?buttonClicked=2u0026isbn=149434744X","TrackingUrl":"/url?client=ca-print-otter_7YDW7URu0026format=googleprintu0026num=0u0026id=kJRhAgAAQBAJu0026q=http://www.waterstones.com/waterstonesweb/advancedSearch.do%3FbuttonClicked%3D2%26isbn%3D149434744Xu0026usg=AFQjCNGVV9pG2_j1pTcFZcAWuAnvMnI3ew"},{"Seller":"WHSmith","Url":"http://www.whsmith.co.uk/CatalogAndSearch/SearchWithinCategory.aspx?as_ISBN=149434744X","TrackingUrl":"/url?client=ca-print-otter_7YDW7URu0026format=googleprintu0026num=0u0026id=kJRhAgAAQBAJu0026q=http://www.whsmith.co.uk/CatalogAndSearch/SearchWithinCategory.aspx%3Fas_ISBN%3D149434744Xu0026usg=AFQjCNHBmO--1-NYBTf9v1R1ivZ4jbh02w"},{"Seller":"Blackwell","Url":"http://bookshop.blackwell.co.uk/bobuk/scripts/home.jsp?action=searchu0026type=isbnu0026term=149434744X","TrackingUrl":"/url?client=ca-print-otter_7YDW7URu0026format=googleprintu0026num=0u0026id=kJRhAgAAQBAJu0026q=http://bookshop.blackwell.co.uk/bobuk/scripts/home.jsp%3Faction%3Dsearch%26type%3Disbn%26term%3D149434744Xu0026usg=AFQjCNHj49ncZlYMekQs7Y52hnSyxIpxrg"}],"AboutUrl":"https://books.google.co.uk/books?id=kJRhAgAAQBAJ","PreviewUrl":"https://books.google.co.uk/books?id=kJRhAgAAQBAJ","allowed_syndication_flags":{"allow_disabling_chrome":true},"online_access":{"url":"https://play.google.com/store/books/details?id=kJRhAgAAQBAJu0026rdid=book-kJRhAgAAQBAJu0026rdot=1","price":"£0.00","list_price":"£0.00"},"TocLine":[{"Title":"Part ","Pid":"PA1","PgNum":"1","Order":9},{"Title":"Points ","Pid":"PA2","PgNum":"2","Order":10},{"Title":"Loops ","Pid":"PA3","PgNum":"3","Order":11},{"Title":"Nesting ","Pid":"PA4","PgNum":"4","Order":12},{"Title":"Functions ","Pid":"PA5","PgNum":"5","Order":13},{"Title":"Parameters ","Pid":"PA6","PgNum":"6","Order":14},{"Title":"Time ","Pid":"PA7","PgNum":"7","Order":15},{"Title":"Output ","Pid":"PA8","PgNum":"8","Order":16},{"Title":"Input ","Pid":"PA9","PgNum":"9","Order":17},{"Title":"Numbers ","Pid":"PA10","PgNum":"10","Order":18},{"Title":"Computation ","Pid":"PA11","PgNum":"11","Order":19},{"Title":"Objects ","Pid":"PA12","PgNum":"12","Order":20},{"Title":"Arrays ","Pid":"PA13","PgNum":"13","Order":21},{"Title":"Recursion ","Pid":"PA14","PgNum":"14","Order":22},{"Title":"Randomness ","Pid":"PA15","PgNum":"15","Order":23},{"Title":"Sets ","Pid":"PA16","PgNum":"16","Order":24},{"Title":"Text ","Pid":"PA17","PgNum":"17","Order":25},{"Title":"Motion ","Pid":"PA18","PgNum":"18","Order":26},{"Title":"Concurrency ","Pid":"PA19","PgNum":"19","Order":27},{"Title":"Styles ","Pid":"PA20","PgNum":"20","Order":28},{"Title":"Selectors ","Pid":"PA21","PgNum":"21","Order":29},{"Title":"Events ","Pid":"PA22","PgNum":"22","Order":30},{"Title":"Slicing ","Pid":"PA23","PgNum":"23","Order":31},{"Title":"Sorting ","Pid":"PA24","PgNum":"24","Order":32},{"Title":"Search ","Pid":"PA25","PgNum":"25","Order":33},{"Title":"Intelligence ","Pid":"PA26","PgNum":"26","Order":34},{"Title":"One Project in Detail ","Pid":"PA28","PgNum":"28","Order":36},{"Title":"Running Pencil Code ","Pid":"PA29","PgNum":"29","Order":37},{"Title":"Keeping a Secret ","Pid":"PA30","PgNum":"30","Order":38},{"Title":"Computers are Fine Calculators ","Pid":"PA31","PgNum":"31","Order":39},{"Title":"Strings and Numbers ","Pid":"PA32","PgNum":"32","Order":40},{"Title":"Creating Graphics ","Pid":"PA33","PgNum":"33","Order":41},{"Title":"Making our First Program ","Pid":"PA34","PgNum":"34","Order":42},{"Title":"Hurry Up and Wait ","Pid":"PA35","PgNum":"35","Order":43},{"Title":"Using for to Repeat ","Pid":"PA36","PgNum":"36","Order":44},{"Title":"Using if to Choose ","Pid":"PA37","PgNum":"37","Order":45},{"Title":"Input with read ","Pid":"PA38","PgNum":"38","Order":46},{"Title":"Using while to Repeat ","Pid":"PA39","PgNum":"39","Order":47},{"Title":"Improving our Game ","Pid":"PA40","PgNum":"40","Order":48},{"Title":"Making it Look Like Hangman ","Pid":"PA41","PgNum":"41","Order":49},{"Title":"Picking a Random Secret ","Pid":"PA42","PgNum":"42","Order":50},{"Title":"Loading a List from the Internet ","Pid":"PA43","PgNum":"43","Order":51},{"Title":"TheWhole Hangman Program ","Pid":"PA44","PgNum":"44","Order":52},{"Title":"Making it Yours ","Pid":"PA45","PgNum":"45","Order":53}]}},"table_of_contents_page_id":"PP6","max_resolution_image_width":1280,"max_resolution_image_height":1978,"num_toc_pages":2,"quality_info":"We know this book has good quality.","volume_id":"kJRhAgAAQBAJ","permission_info":"Published by David Bau","is_ebook":true,"volumeresult":{"has_flowing_text":false,"has_scanned_text":true,"can_download_pdf":true,"can_download_epub":false,"is_pdf_drm_enabled":false,"is_epub_drm_enabled":false,"download_pdf_url":"https://books.google.co.uk/books/download/Pencil_Code.pdf?id=kJRhAgAAQBAJu0026output=pdfu0026sig=ACfU3U0yjE-NRi2oI8CHsZVwTjy2mx9Ryg"},"rating":10,"num_reviews":1,"publisher":"David Bau","publication_date":"2013.12.15","subject":"Computers","num_pages":56,"sample_url":"https://play.google.com/books/reader?id=kJRhAgAAQBAJu0026printsec=frontcoveru0026source=gbs_vpt_hover","synposis":"This elegant programming primer teaches K-12 students to code through more than 100 graded examples, each one illustrated in color. The second edition includes an appendix with a tutorial in CoffeeScript.Written by a computer scientist to teach his own children to program, the book is designed for inductive learning. The illustrated programs come with no expository text. Instead, the sequence of projects introduce increasingly sophisticated concepts by example.  Each one invites customization and exploration.The book begins by suggesting a simple program to draw a line. Subsequent pages introduce core concepts in computer science: loops, functions, recursion, input and output, numbers and text, and data structures. The more advanced material introduces concepts in randomness, animation, HTML5, jQuery, networking, and artificial intelligence.","my_library_url":"https://www.google.com/accounts/Login?service=printu0026continue=https://books.google.co.uk/books%3Fop%3Dlibraryu0026hl=en","is_magazine":false,"is_public_domain":false},{"enableUserFeedbackUI":true,"pseudocontinuous":true,"enableThumbnailViewport":true,"is_cobrand":false,"sign_in_url":"https://www.google.com/accounts/Login?service=printu0026continue=https://books.google.co.uk/books%3Fid%3DkJRhAgAAQBAJ%26printsec%3Dfrontcover%26dq%3DHTML%2BDownload%2Bcode%26hl%3Den%26sa%3DXu0026hl=en"},{"page":[{"pid":"PP1","src":"https://books.google.co.uk/books/content?id=kJRhAgAAQBAJu0026pg=PP1u0026img=1u0026zoom=3u0026hl=enu0026sig=ACfU3U0fE1m3jmdSKVSiWAbQH-cSkQQQJg","highlights":[{"X":286,"Y":344,"W":78,"H":26}],"flags":34,"order":0,"uf":"https://books.google.co.uk/books_feedback?id=kJRhAgAAQBAJu0026spid=AFLRE700fO5q5pREHC7qBUkREoKHS616BuO80ERixo7Uyp8OBPasuQ8gNvVOCHlCwG2sXkMl5gngu0026ftype=0","snippet_src":"https://books.google.co.uk/books/content?id=kJRhAgAAQBAJu0026pg=PP1u0026img=1u0026pgis=1u0026dq=HTML+Download+codeu0026sig=ACfU3U3r4Z0FESvai-TmH2NHBpB5-FgBewu0026edge=0"}]},null,null,{});window.ga=window.ga||function(){(ga.q=ga.q||).push(arguments)};ga.l=+new Date;ga('create', 'UA-18010-1', 'auto');ga('send', 'pageview');














function isValidPageNum(s) {return (s.match("^([0-9])*$") ||s.toUpperCase().match("^M{0,4}(CM|CD|D?C{0,3})(XC|XL|L?X{0,3})(IX|IV|V?I{0,3})$") );}function onSubmit(thisForm) {if ( !isValidPageNum(thisForm.jtp.value) ) {var msg = '%1$s is not a page number. Please enter the page number to visit';msg = msg.replace("%1$s", "'" + thisForm.jtp.value + "' ");alert(msg);return false;}thisForm.submit();return true;}



  






PDF















function isValidPageNum(s) {return (s.match("^([0-9])*$") ||s.toUpperCase().match("^M{0,4}(CM|CD|D?C{0,3})(XC|XL|L?X{0,3})(IX|IV|V?I{0,3})$") );}function onSubmit(thisForm) {if ( !isValidPageNum(thisForm.jtp.value) ) {var msg = '%1$s is not a page number. Please enter the page number to visit';msg = msg.replace("%1$s", "'" + thisForm.jtp.value + "' ");alert(msg);return false;}thisForm.submit();return true;}



  















PDF



PDF









.html_page_image{display:none;}
.viewport div img {display:none;}


.html_page_image { background-image:url("https://books.google.co.uk/books/content?id=kJRhAgAAQBAJ&pg=PP1&img=1&zoom=3&hl=en&sig=ACfU3U0fE1m3jmdSKVSiWAbQH-cSkQQQJg"); width:575px;height:891px; top:0px;left:0px;position:relative}
Next Page








.html_page_image{display:none;}
.viewport div img {display:none;}


.html_page_image { background-image:url("https://books.google.co.uk/books/content?id=kJRhAgAAQBAJ&pg=PP1&img=1&zoom=3&hl=en&sig=ACfU3U0fE1m3jmdSKVSiWAbQH-cSkQQQJg"); width:575px;height:891px; top:0px;left:0px;position:relative}
Next Page






.html_page_image { background-image:url("https://books.google.co.uk/books/content?id=kJRhAgAAQBAJ&pg=PP1&img=1&zoom=3&hl=en&sig=ACfU3U0fE1m3jmdSKVSiWAbQH-cSkQQQJg"); width:575px;height:891px; top:0px;left:0px;position:relative}
Next Page



Next Page

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP

Popular posts from this blog

Rothschild family

Cinema of Italy