{"id":307,"date":"2021-01-20T14:23:45","date_gmt":"2021-01-20T14:23:45","guid":{"rendered":"http:\/\/mediaonabicycle.com\/?page_id=307"},"modified":"2021-01-22T14:13:16","modified_gmt":"2021-01-22T14:13:16","slug":"algorithms-coding-bugs-and-debugging","status":"publish","type":"page","link":"https:\/\/mediaonabicycle.com\/?page_id=307","title":{"rendered":"Algorithms, Coding, Bugs and Debugging"},"content":{"rendered":"\n<p>Here we are looking at some basic computer terms. I have linked each of the terms to a <a rel=\"noreferrer noopener\" href=\"https:\/\/www.bbc.co.uk\/bitesize\" target=\"_blank\">https:\/\/www.bbc.co.uk\/bitesize<\/a> video. The answers are near the bottom of this page. <\/p>\n\n\n\n<p>Can you name three digital devices? Think of electronic devices that link to the internet.  <\/p>\n\n\n\n<p>What is an algorithm? <a rel=\"noreferrer noopener\" href=\"https:\/\/www.bbc.co.uk\/bitesize\/topics\/z3tbwmn\/articles\/z3whpv4\" target=\"_blank\">https:\/\/www.bbc.co.uk\/bitesize\/topics\/z3tbwmn\/articles\/z3whpv4<\/a><\/p>\n\n\n\n<p>What is computer code or coding? <a rel=\"noreferrer noopener\" href=\"https:\/\/www.bbc.co.uk\/bitesize\/topics\/z3tbwmn\/articles\/zykx6sg\" target=\"_blank\">https:\/\/www.bbc.co.uk\/bitesize\/topics\/z3tbwmn\/articles\/zykx6sg<\/a><\/p>\n\n\n\n<p>What is a computer bug? <a rel=\"noreferrer noopener\" href=\"https:\/\/www.bbc.co.uk\/bitesize\/topics\/z3tbwmn\/articles\/ztgjq6f\" target=\"_blank\">https:\/\/www.bbc.co.uk\/bitesize\/topics\/z3tbwmn\/articles\/ztgjq6f<\/a><\/p>\n\n\n\n<p>What is debugging? <a rel=\"noreferrer noopener\" href=\"https:\/\/www.bbc.co.uk\/bitesize\/topics\/z3tbwmn\/articles\/ztgjq6f\" target=\"_blank\">https:\/\/www.bbc.co.uk\/bitesize\/topics\/z3tbwmn\/articles\/ztgjq6f<\/a><\/p>\n\n\n\n<p><strong>Changing algorithms into code<\/strong><\/p>\n\n\n\n<p>Here is an example of an <strong>algorithm<\/strong> showing how to draw a circle. Remember that algorithms are lists of instructions to complete a task. <a rel=\"noreferrer noopener\" href=\"https:\/\/youtu.be\/mlplWX1eSw0\" target=\"_blank\">https:\/\/youtu.be\/mlplWX1eSw0<\/a> <\/p>\n\n\n\n<p>Once you&#8217;ve watched the video have a look at this scratch project. Try putting the blocks in the right order so you can make a circle. <a href=\"https:\/\/scratch.mit.edu\/projects\/477397189\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/scratch.mit.edu\/projects\/477397189\/<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"http:\/\/mediaonabicycle.com\/wp-content\/uploads\/2021\/01\/Scratch-online-screen.png\"><img loading=\"lazy\" width=\"1024\" height=\"425\" src=\"http:\/\/mediaonabicycle.com\/wp-content\/uploads\/2021\/01\/Scratch-online-screen-1024x425.png\" alt=\"\" class=\"wp-image-244\" srcset=\"https:\/\/mediaonabicycle.com\/wp-content\/uploads\/2021\/01\/Scratch-online-screen-1024x425.png 1024w, https:\/\/mediaonabicycle.com\/wp-content\/uploads\/2021\/01\/Scratch-online-screen-300x124.png 300w, https:\/\/mediaonabicycle.com\/wp-content\/uploads\/2021\/01\/Scratch-online-screen-768x319.png 768w, https:\/\/mediaonabicycle.com\/wp-content\/uploads\/2021\/01\/Scratch-online-screen-500x207.png 500w, https:\/\/mediaonabicycle.com\/wp-content\/uploads\/2021\/01\/Scratch-online-screen.png 1285w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p><strong>Answers<\/strong><\/p>\n\n\n\n<p>A&nbsp;<strong>digital device<\/strong>&nbsp;is an electronic&nbsp;<strong>device<\/strong>&nbsp;that can receive, store, process or send&nbsp;<strong>digital<\/strong>&nbsp;information. Laptop, Personal computer, Smart TV, Smart Phone, iPad or Tablet.<\/p>\n\n\n\n<p> <a rel=\"noreferrer noopener\" href=\"https:\/\/itlaw.wikia.org\/wiki\/Digital_device#:~:text=A%20digital%20device%20is%20an,process%20or%20send%20digital%20information.\" target=\"_blank\">https:\/\/itlaw.wikia.org\/<\/a><\/p>\n\n\n\n<p>An <strong>algorithm<\/strong> is a set of rules or instructions used to complete a task. An example could be, a list of instructions for making a cup of tea or the steps needed to use a cash point machine. Making a list of steps on paper before trying to code a game is an algorithm. Start, Ask a question, Response, Is the answer correct (IF no, say sorry that&#8217;s wrong or IF yes, Say that&#8217;s right). <\/p>\n\n\n\n<p>Here is a Video explaining an algorithm and code <a rel=\"noreferrer noopener\" href=\"https:\/\/youtu.be\/RB62Tv_EDGo\" target=\"_blank\">https:\/\/youtu.be\/RB62Tv_EDGo<\/a> and the project file in Scratch for you to have a go. <a rel=\"noreferrer noopener\" href=\"https:\/\/scratch.mit.edu\/projects\/476344233\/\" target=\"_blank\">https:\/\/scratch.mit.edu\/projects\/476344233\/<\/a> Save to your computer using the File and Save to your computer or make an account in Scratch and save a copy of my project there. <\/p>\n\n\n\n<p>Computers use <strong>code<\/strong> to complete tasks. Webpages are <strong>coded<\/strong> in the language <strong>HTML<\/strong>. Scratch uses a blocks of <strong>code<\/strong> the allow children learn the basics fundamentals of <strong>coding<\/strong>.  <\/p>\n\n\n\n<p><strong>Coding<\/strong> can be very complex and sometimes <strong>coders<\/strong> (people who write the code) make errors. Errors in <strong>coding<\/strong> are called <strong>Bugs<\/strong>. It can be as simple as the wrong spelling of a word or the incorrect order of the code. After testing your code and findings bugs you will need to <strong>Debug<\/strong> your code. To debug, is to check the code for errors and sort out any problems. Don&#8217;t forget to retest on completion.<\/p>\n\n\n\n<p><strong>Dance Mat Typing <\/strong>&#8211; Improve your typing skills by spending ten minutes a day on Dance Mat Typing. It&#8217;s fun and it is a fantastic skill for now and the future. <a rel=\"noreferrer noopener\" href=\"http:\/\/bbc.co.uk\/bitesize\/topics\/zf2f9j6\/articles\/z3c6tfr\" target=\"_blank\">bbc.co.uk\/bitesize\/topics\/zf2f9j6\/articles\/z3c6tfr<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"http:\/\/mediaonabicycle.com\/wp-content\/uploads\/2021\/01\/Dance-Mat-Typing.png\" alt=\"This image has an empty alt attribute; its file name is Dance-Mat-Typing.png\"\/><\/figure>\n\n\n\n<p><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here we are looking at some basic computer terms. I have linked each of the terms to a https:\/\/www.bbc.co.uk\/bitesize video. The answers are near the bottom of this page. Can you name three digital devices? Think of electronic devices that &hellip; <a href=\"https:\/\/mediaonabicycle.com\/?page_id=307\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/mediaonabicycle.com\/index.php?rest_route=\/wp\/v2\/pages\/307"}],"collection":[{"href":"https:\/\/mediaonabicycle.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mediaonabicycle.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mediaonabicycle.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mediaonabicycle.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=307"}],"version-history":[{"count":10,"href":"https:\/\/mediaonabicycle.com\/index.php?rest_route=\/wp\/v2\/pages\/307\/revisions"}],"predecessor-version":[{"id":330,"href":"https:\/\/mediaonabicycle.com\/index.php?rest_route=\/wp\/v2\/pages\/307\/revisions\/330"}],"wp:attachment":[{"href":"https:\/\/mediaonabicycle.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}