{"id":656,"date":"2015-03-09T23:50:25","date_gmt":"2015-03-09T23:50:25","guid":{"rendered":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/?p=656"},"modified":"2015-03-10T22:15:29","modified_gmt":"2015-03-10T22:15:29","slug":"data-types-and-structures-revision","status":"publish","type":"post","link":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/2015\/03\/09\/data-types-and-structures-revision\/","title":{"rendered":"Data types and structures"},"content":{"rendered":"<ul>\n<li>String, character<\/li>\n<li>Numeric (integer and real) variables<\/li>\n<li>Graphical objects<\/li>\n<li>Boolean variables<\/li>\n<li>1D arrays<\/li>\n<\/ul>\n<p><!--more--><\/p>\n<p>All code examples are given in Visual basic. You can find more about this topic in chapter 2 of \u201cHow to Pass NATIONAL 5 Computing Science\u201d<\/p>\n<ul>\n<li><strong>String<\/strong> &#8211; text variable like name\n<ul>\n<li>DIM name as String<\/li>\n<\/ul>\n<\/li>\n<li><strong>Integer<\/strong> &#8211; a round number used for number of people or items\n<ul>\n<li>DIM age as Integer<\/li>\n<\/ul>\n<\/li>\n<li><strong>Real<\/strong> &#8211; contains decimals used for distances or measurements\n<ul>\n<li>DIM length as Single<\/li>\n<\/ul>\n<\/li>\n<li><strong>Graphical objects<\/strong> &#8211; pictures<\/li>\n<li><strong>Boolean variables<\/strong> &#8211; Yes or No\n<ul>\n<li>DIM Quit as Boolean<\/li>\n<\/ul>\n<\/li>\n<li><strong>1D arrays<\/strong> &#8211; used for a variable with many pieces of data all of the same data type.\n<ul>\n<li>DIM Pupilname (20) as String<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>String, character Numeric (integer and real) variables Graphical objects Boolean variables 1D arrays<\/p>\n","protected":false},"author":32,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17933,17013,475,17009],"tags":[],"class_list":["post-656","post","type-post","status-publish","format-standard","hentry","category-data-types-and-structures","category-national-5","category-revision","category-software-design-devlopment"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/posts\/656","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/users\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/comments?post=656"}],"version-history":[{"count":4,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/posts\/656\/revisions"}],"predecessor-version":[{"id":695,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/posts\/656\/revisions\/695"}],"wp:attachment":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/media?parent=656"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/categories?post=656"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/tags?post=656"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}