{"id":686,"date":"2015-03-10T21:53:39","date_gmt":"2015-03-10T21:53:39","guid":{"rendered":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/?p=686"},"modified":"2015-03-10T22:12:15","modified_gmt":"2015-03-10T22:12:15","slug":"low-level-operations-and-computer-architecture","status":"publish","type":"post","link":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/2015\/03\/10\/low-level-operations-and-computer-architecture\/","title":{"rendered":"Low-level  operations and  computer  architecture"},"content":{"rendered":"<ul>\n<li>Units of storage: bit, byte, Kilobyte, Megabyte, Gigabyte, Terabyte, Petabyte<\/li>\n<li>Translation of high-level program code to binary (machine code): interpreters and compilers<\/li>\n<li>Use of binary to represent and store:\n<ul>\n<li>Integers<\/li>\n<li>Real numbers (mantissa &amp; exponent)<\/li>\n<li>Characters<\/li>\n<li>Instructions (machine code)<\/li>\n<li>Graphics (bit-mapped and vector)<\/li>\n<\/ul>\n<\/li>\n<li>Basic computer architecture:\n<ul>\n<li>Processor( registers, ALU, control unit)<\/li>\n<li>Memory<\/li>\n<li>Buses (data and address)<\/li>\n<li>Interfaces<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><!--more--><\/p>\n<h2>Units of storage<\/h2>\n<p><strong>Binary \/ Decimal<\/strong><\/p>\n<pre style=\"padding-left: 30px\">128 64 32 16 8 4 2 1 \r\n 1  1  1  1  1 1 1 1 = 255 \r\n 0  1  1  0  1 0 0 1 = 105\r\n<\/pre>\n<ul>\n<li>1 bit \u00a0= <strong>Bi<\/strong>nary Digi<strong>t<\/strong><\/li>\n<li>8 bits = 1 Byte<\/li>\n<li>1024 Bytes = 1 Kilobyte<\/li>\n<li>1024 Kilobytes = 1 Megabyte<\/li>\n<li>1024 Megabytes = 1 Gigabyte<\/li>\n<li>1024 Gigabytes = 1 Terabyte<\/li>\n<li>1024 Terabytes = 1 Petabyte<\/li>\n<\/ul>\n<h2>Translation of high-level program code to binary (machine code)<\/h2>\n<ul>\n<li><strong>Interpreters<\/strong> &#8211; translates program code\u00a0line by line, spots errors more easily but takes longer.<\/li>\n<li><strong>Compilers<\/strong> &#8211; translates program code and saves the machine code, less likely to spot errors but more efficient. Creates a run time version that can&#8217;t be edited.<\/li>\n<\/ul>\n<h2>Use of binary to represent and store<\/h2>\n<ul>\n<li><strong>Real numbers<\/strong> uses mantissa &amp; exponent &#8211; 2.56 X 10<sup>5<\/sup>\n<ul>\n<li>Mantissa = 2.56 Exponent = 5<\/li>\n<\/ul>\n<\/li>\n<li><strong>Characters<\/strong> &#8211; ASCII allocates a different binary code to each letter (8 bits-256 characters), Unicode (16 bits &#8211; 65,535 characters)\n<ul>\n<li>A = 00100001<\/li>\n<\/ul>\n<\/li>\n<li><strong>Instructions<\/strong>, machine code &#8211; the only characters the processor can understand 10101011101<\/li>\n<li><strong>Graphics<\/strong> bit-mapped and vector Bit-mapped, graphics are made up of pixels<\/li>\n<\/ul>\n<h3>Bit-mapped Graphics<\/h3>\n<p><strong>Formula <\/strong><\/p>\n<p>Number of pixels = image width x resolution x image height x resolution<\/p>\n<p><strong>Example 1<\/strong><\/p>\n<p><a href=\"https:\/\/blogs.glowscotland.org.uk\/nl\/public\/ColtnessHS-ComputingScience\/uploads\/sites\/12638\/2015\/03\/pixels.jpg\"><img decoding=\"async\" data-attachment-id=\"690\" data-permalink=\"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/2015\/03\/10\/low-level-operations-and-computer-architecture\/pixels\/\" data-orig-file=\"https:\/\/blogs.glowscotland.org.uk\/nl\/public\/ColtnessHS-ComputingScience\/uploads\/sites\/12638\/2015\/03\/pixels.jpg\" data-orig-size=\"993,904\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"pixels\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/glow-prod-nl.s3.eu-west-1.amazonaws.com\/nl\/public\/ColtnessHS-ComputingScience\/uploads\/sites\/12638\/2015\/03\/pixels-300x273.jpg?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&amp;X-Amz-Security-Token=IQoJb3JpZ2luX2VjEKb%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCWV1LXdlc3QtMSJGMEQCICLN6euxLm0t6cByhB24RRtzPX1O38VvYaZqO9mgVUxiAiB%2BXrTSe0U7cL2%2F0If5iG6eTfMap4Ri%2FXy65PFpUPBWcyq5BQhvEAUaDDI3MzU3MDE5NTQzMyIMMKChVqIGmoXYBx4cKpYFRl4UxzNyhQiU8oCpkHCj5jq9nIMO0DSnYcTzUw6zsQ3N7zIjJIkC5edR8JrIw%2Fo5wrD1WhpfUfD7UWr0QvjuSjMRqKg3Cmxs237BK6LjgddLJNYezEqtdoA3bVJgxZ0YUgvpIkAutb7hYRDf9iNFa%2FcKlM3v9QTXclLUOZxxdz7S7ov%2FIpa%2B3DQYKzk%2FJf4%2BC5lr0y9uzS9XcARdhxmW45Dqkj4qmjEMX9Jzu1eWE3Zp4lRh9y9XlrgrLFAWj5CxpslfJHGXmOBd9qRY7z8pnbfpDR0GjrvKtg2wPC9X6oNygwsQEYxwcHGqfxw%2BkAR2rjz%2FdzgRxfxgzz%2FlpWET7zHAJiZa%2FBMpyZ0X2vWKIaZ%2FToDDax2fqgbiwfZy3YTwI6dkdMxtjTIVsKH4rLkkNgwoXW7F4YxMWnFTYLkYCdgPlHYUCHRpP%2FIumJPOimyoDqpm7KA5FpvZ5ktKvKT7pkeLCVWhlOuCT0%2FAEV7uhUKCWIz8iGCnNUo38Bjp69%2ByAph0pZbJRpTA9ROxQKC8cj8UESZKKK4jBnbTcnWx%2Fm9bdO%2B7ifZpAtO%2FgcMfzCkKWftoL3Dn4Si2iX4gpr1KQ8uq4uf7JTt1YbrCfFiCqe0n0E%2Bb4znUp3Gjxa4Dmsw8PysLiGQEzy0LgCkDnnYxEyISODuApSWnB8Vzh5%2FheILWruZbnNCvFDr5yyf9GsRmiSKmMKYpDxsoqYp5oehml5A3FAGTLF%2FSM9a0wiGeFaOPsfG6XdsHH2H4ex7LXib1xDJEZpbnF1gPSYDVlE5W9SkM9ybMbhx2ZC0NaxNH1PYg1lda%2BujMzAecHzWWBhP%2FRo3%2F3oJI94CPueubfOCiVB7zdyXX27lQstTJ%2FvEJiVIwO6DUh%2FAw463N1AY6sgHWOpIapB8zJpwudKlC1GSjASc8jUiXvJSf88th2cejqHgOr%2Bdb7JqiVpi3Xn9AK6sb%2BDbU4ci8hD84aXWpiIIjKdPaFS4TgHyuLVS7NN8o0kO8Nyn%2FhiLQ6aqKRx%2B0o691XF8pGtqDxk3g2tJLi4fDhFjCgjr%2B4C5vSnkNZjW1u3K0Gh%2FVpw3hc%2BApFfY%2BV2QBEWpbtP8Vcl7DparLj845dITvO%2Fl9Vs6lpU7o892Anqzh&amp;X-Amz-Algorithm=AWS4-HMAC-SHA256&amp;X-Amz-Credential=ASIAT7MQN47U4QYJLMLX%2F20260829%2Feu-west-1%2Fs3%2Faws4_request&amp;X-Amz-Date=20260829T221855Z&amp;X-Amz-SignedHeaders=host&amp;X-Amz-Expires=900&amp;X-Amz-Signature=e39d9029301ab84fd8e01c2ba970bf3905adb3249e7cfa943d89dc569d8c22e0\" data-large-file=\"https:\/\/blogs.glowscotland.org.uk\/nl\/public\/ColtnessHS-ComputingScience\/uploads\/sites\/12638\/2015\/03\/pixels.jpg\" class=\"alignnone size-medium wp-image-690\" src=\"https:\/\/glow-prod-nl.s3.eu-west-1.amazonaws.com\/nl\/public\/ColtnessHS-ComputingScience\/uploads\/sites\/12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oehml5A3FAGTLF%2FSM9a0wiGeFaOPsfG6XdsHH2H4ex7LXib1xDJEZpbnF1gPSYDVlE5W9SkM9ybMbhx2ZC0NaxNH1PYg1lda%2BujMzAecHzWWBhP%2FRo3%2F3oJI94CPueubfOCiVB7zdyXX27lQstTJ%2FvEJiVIwO6DUh%2FAw463N1AY6sgHWOpIapB8zJpwudKlC1GSjASc8jUiXvJSf88th2cejqHgOr%2Bdb7JqiVpi3Xn9AK6sb%2BDbU4ci8hD84aXWpiIIjKdPaFS4TgHyuLVS7NN8o0kO8Nyn%2FhiLQ6aqKRx%2B0o691XF8pGtqDxk3g2tJLi4fDhFjCgjr%2B4C5vSnkNZjW1u3K0Gh%2FVpw3hc%2BApFfY%2BV2QBEWpbtP8Vcl7DparLj845dITvO%2Fl9Vs6lpU7o892Anqzh&#038;X-Amz-Algorithm=AWS4-HMAC-SHA256&#038;X-Amz-Credential=ASIAT7MQN47U4QYJLMLX%2F20260829%2Feu-west-1%2Fs3%2Faws4_request&#038;X-Amz-Date=20260829T221854Z&#038;X-Amz-SignedHeaders=host&#038;X-Amz-Expires=900&#038;X-Amz-Signature=32332698e4ebfbe2f5220ae0aeebb0d492a3efa511e4b381b03daad05ae6f6c1\" alt=\"pixels\" width=\"300\" height=\"273\" srcset=\"https:\/\/glow-prod-nl.s3.eu-west-1.amazonaws.com\/nl\/public\/ColtnessHS-ComputingScience\/uploads\/sites\/12638\/2015\/03\/pixels-300x273.jpg?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&amp;X-Amz-Security-Token=IQoJb3JpZ2luX2VjEKb%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCWV1LXdlc3QtMSJGMEQCICLN6euxLm0t6cByhB24RRtzPX1O38VvYaZqO9mgVUxiAiB%2BXrTSe0U7cL2%2F0If5iG6eTfMap4Ri%2FXy65PFpUPBWcyq5BQhvEAUaDDI3MzU3MDE5NTQzMyIMMKChVqIGmoXYBx4cKpYFRl4UxzNyhQiU8oCpkHCj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aqKRx%2B0o691XF8pGtqDxk3g2tJLi4fDhFjCgjr%2B4C5vSnkNZjW1u3K0Gh%2FVpw3hc%2BApFfY%2BV2QBEWpbtP8Vcl7DparLj845dITvO%2Fl9Vs6lpU7o892Anqzh&amp;X-Amz-Algorithm=AWS4-HMAC-SHA256&amp;X-Amz-Credential=ASIAT7MQN47U4QYJLMLX%2F20260829%2Feu-west-1%2Fs3%2Faws4_request&amp;X-Amz-Date=20260829T221855Z&amp;X-Amz-SignedHeaders=host&amp;X-Amz-Expires=900&amp;X-Amz-Signature=e39d9029301ab84fd8e01c2ba970bf3905adb3249e7cfa943d89dc569d8c22e0 300w, https:\/\/glow-prod-nl.s3.eu-west-1.amazonaws.com\/nl\/public\/ColtnessHS-ComputingScience\/uploads\/sites\/12638\/2015\/03\/pixels-150x136.jpg?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&amp;X-Amz-Security-Token=IQoJb3JpZ2luX2VjEKb%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCWV1LXdlc3QtMSJGMEQCICLN6euxLm0t6cByhB24RRtzPX1O38VvYaZqO9mgVUxiAiB%2BXrTSe0U7cL2%2F0If5iG6eTfMap4Ri%2FXy65PFpUPBWcyq5BQhvEAUaDDI3MzU3MDE5NTQzMyIMMKChVqIGmoXYBx4cKpYFRl4UxzNyhQiU8oCpkHCj5jq9nIMO0DSnYcTzUw6zsQ3N7zIjJIkC5edR8JrIw%2Fo5wrD1WhpfUfD7UWr0QvjuSjMRqKg3Cmxs237BK6LjgddLJNYezEqtdoA3bVJgxZ0YUgvpIkAutb7hYRDf9iNFa%2FcKlM3v9QTXclLUOZxxdz7S7ov%2FIpa%2B3DQYKzk%2FJf4%2BC5lr0y9uzS9XcARdhxmW45Dqkj4qmjEMX9Jzu1eWE3Zp4lRh9y9XlrgrLFAWj5CxpslfJHGXmOBd9qRY7z8pnbfpDR0GjrvKtg2wPC9X6oNygwsQEYxwcHGqfxw%2BkAR2rjz%2FdzgRxfxgzz%2FlpWET7zHAJiZa%2FBMpyZ0X2vWKIaZ%2FToDDax2fqgbiwfZy3YTwI6dkdMxtjTIVsKH4rLkkNgwoXW7F4YxMWnFTYLkYCdgPlHYUCHRpP%2FIumJPOimyoDqpm7KA5FpvZ5ktKvKT7pkeLCVWhlOuCT0%2FAEV7uhUKCWIz8iGCnNUo38Bjp69%2ByAph0pZbJRpTA9ROxQKC8cj8UESZKKK4jBnbTcnWx%2Fm9bdO%2B7ifZpAtO%2FgcMfzCkKWftoL3Dn4Si2iX4gpr1KQ8uq4uf7JTt1YbrCfFiCqe0n0E%2Bb4znUp3Gjxa4Dmsw8PysLiGQEzy0LgCkDnnYxEyISODuApSWnB8Vzh5%2FheILWruZbnNCvFDr5yyf9GsRmiSKmMKYpDxsoqYp5oehml5A3FAGTLF%2FSM9a0wiGeFaOPsfG6XdsHH2H4ex7LXib1xDJEZpbnF1gPSYDVlE5W9SkM9ybMbhx2ZC0NaxNH1PYg1lda%2BujMzAecHzWWBhP%2FRo3%2F3oJI94CPueubfOCiVB7zdyXX27lQstTJ%2FvEJiVIwO6DUh%2FAw463N1AY6sgHWOpIapB8zJpwudKlC1GSjASc8jUiXvJSf88th2cejqHgOr%2Bdb7JqiVpi3Xn9AK6sb%2BDbU4ci8hD84aXWpiIIjKdPaFS4TgHyuLVS7NN8o0kO8Nyn%2FhiLQ6aqKRx%2B0o691XF8pGtqDxk3g2tJLi4fDhFjCgjr%2B4C5vSnkNZjW1u3K0Gh%2FVpw3hc%2BApFfY%2BV2QBEWpbtP8Vcl7DparLj845dITvO%2Fl9Vs6lpU7o892Anqzh&amp;X-Amz-Algorithm=AWS4-HMAC-SHA256&amp;X-Amz-Credential=ASIAT7MQN47U4QYJLMLX%2F20260829%2Feu-west-1%2Fs3%2Faws4_request&amp;X-Amz-Date=20260829T221855Z&amp;X-Amz-SignedHeaders=host&amp;X-Amz-Expires=900&amp;X-Amz-Signature=6036e6c65ef17bcb4ae510604a0eb7cc6e9872242868c2db4e524d9436deeb67 150w, https:\/\/blogs.glowscotland.org.uk\/nl\/public\/ColtnessHS-ComputingScience\/uploads\/sites\/12638\/2015\/03\/pixels.jpg 993w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>This is enlarged but is 1 inch by 1 inch at 22 Dots Per Inch. In that case there are 22 x 1 x 22 x 1 = 484\u00a0pixels<\/p>\n<p><strong>Example 2 <\/strong><\/p>\n<p>Bitmap with a resolution of 600&#215;600 pixels in 8 bit colour.<\/p>\n<p>Storage requirements<\/p>\n<pre style=\"padding-left: 30px\">600 x 600 x 1 bytes = 360000 \r\nIt is 1 byte as it is 8 bits per pixel \r\n360000\/1024 = 351.6 kilobytes<\/pre>\n<p><strong>Example 3 <\/strong><\/p>\n<p>Calculate the number of pixels in 4 inch by 5 inch photograph scanned which has a resolution of 600 dots per inch.<\/p>\n<pre style=\"padding-left: 30px\">Pixels = 4 x 600 x 5 x 600 = 7,200,000 pixels\r\n1pixel = 1 bit \r\n7,200,000 \/ 8 = 90000 bytes \r\n90000 bytes \/ 1024 = 878.9 Kb<\/pre>\n<h3>Vector Graphics<\/h3>\n<p>It is possible to edit each <strong>object<\/strong> separately, for example, change the shape, colour, size and position.<\/p>\n<p>Even if an object in a vector graphic is quite large, it doesn&#8217;t need a lot of computer memory. Therefore the file size of a vector graphic is often very <strong>small<\/strong>.<\/p>\n<p>Vector graphics are <strong>scalable<\/strong> when you resize them, they<strong> do not lose quality<\/strong>.<\/p>\n<h2>Basic computer architecture<\/h2>\n<ul>\n<li><strong>Processor<\/strong>\n<ul>\n<li><strong>Registers<\/strong> &#8211; temporary storage locations holding data being processed<\/li>\n<li><strong>Arithmetic and Logic Unit<\/strong> \u2013 deals with comparisons and arithmetic calculations<\/li>\n<li><strong>Control Unit<\/strong> &#8211; controls all other parts of the processor, ensures instructions are carried out in the correct order<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li><strong>Memory<\/strong>\n<ul>\n<li><strong>Random Access Memory (RAM)<\/strong> &#8211; temporary data storage only held as long as the computer is switched on.<\/li>\n<li><strong>Read only memory (ROM)<\/strong> &#8211; Permanent memory not lost when the computer is switched off. Data stored on a hard disk or a memory stick.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li><strong>Buses<\/strong>\n<ul>\n<li><strong>data bus<\/strong> &#8211; carries data to and from the processor, memory and other devices. Bi-directional<\/li>\n<li><strong>address bus<\/strong> &#8211; carries address locations\u00a0from processor to the memory.<\/li>\n<li><strong>control bus<\/strong> &#8211; made up of a number of separate wires.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li><strong>Interfaces<\/strong>\n<ul>\n<li>allows a processor to send and receive data to and from peripherals like printers, scanners, keyboards and projectors.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Units of storage: bit, byte, Kilobyte, Megabyte, Gigabyte, Terabyte, Petabyte Translation of high-level program code to binary (machine code): interpreters and compilers Use of binary to represent and store: Integers Real numbers (mantissa &amp; exponent) Characters Instructions (machine code) Graphics (bit-mapped and vector) Basic computer architecture: Processor( registers, ALU, control unit) Memory Buses (data and &hellip;<\/p>\n","protected":false},"author":32,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17938,17013,17009],"tags":[],"class_list":["post-686","post","type-post","status-publish","format-standard","hentry","category-computerstructure","category-national-5","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\/686","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=686"}],"version-history":[{"count":4,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/posts\/686\/revisions"}],"predecessor-version":[{"id":692,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/posts\/686\/revisions\/692"}],"wp:attachment":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/media?parent=686"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/categories?post=686"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/tags?post=686"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}