{"id":107,"date":"2022-05-10T16:44:50","date_gmt":"2022-05-10T15:44:50","guid":{"rendered":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/phsn5computingscience\/?page_id=107"},"modified":"2024-08-29T14:25:20","modified_gmt":"2024-08-29T13:25:20","slug":"computer-structure","status":"publish","type":"page","link":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/phsn5computingscience\/computer-structure\/","title":{"rendered":"Computer Architecture"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-108\" src=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/phsn5computingscience\/uploads\/sites\/10033\/2022\/05\/10164322\/Screenshot-2022-05-10-164300-300x204.png\" alt=\"\" width=\"978\" height=\"665\" srcset=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/phsn5computingscience\/uploads\/sites\/10033\/2022\/05\/10164322\/Screenshot-2022-05-10-164300-300x204.png 300w, https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/phsn5computingscience\/uploads\/sites\/10033\/2022\/05\/10164322\/Screenshot-2022-05-10-164300-1024x697.png 1024w, https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/phsn5computingscience\/uploads\/sites\/10033\/2022\/05\/10164322\/Screenshot-2022-05-10-164300-768x522.png 768w, https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/phsn5computingscience\/uploads\/sites\/10033\/2022\/05\/10164322\/Screenshot-2022-05-10-164300-624x424.png 624w, https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/phsn5computingscience\/uploads\/sites\/10033\/2022\/05\/10164322\/Screenshot-2022-05-10-164300.png 1032w\" sizes=\"auto, (max-width: 978px) 100vw, 978px\" \/><\/p>\n<h2 style=\"color: red\"><b><span data-contrast=\"auto\">The Processor (CPU)<\/span><\/b><span data-contrast=\"auto\">\u00a0<\/span><\/h2>\n<p><span data-contrast=\"auto\">The processor is the\u00a0<\/span><b><span data-contrast=\"none\">brains of the computer<\/span><\/b><span data-contrast=\"auto\">\u00a0and\u00a0<\/span><b><span data-contrast=\"none\">deals with all the movement of data and any calculations to be carried out<\/span><\/b><span data-contrast=\"auto\">. Computers can carry out instructions very quickly because the CPU can process billions of instructions every second although it only does one at a time.\u00a0\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">The processor is made up from:\u00a0<\/span><\/p>\n<ul>\n<li data-aria-posinset=\"1\" data-aria-level=\"2\"><span data-contrast=\"auto\">The Control Unit (CU)\u00a0<\/span><\/li>\n<li data-aria-posinset=\"2\" data-aria-level=\"2\"><span data-contrast=\"auto\">The Arithmetic and Logic Unit (ALU)\u00a0<\/span><\/li>\n<li data-aria-posinset=\"3\" data-aria-level=\"2\"><span data-contrast=\"auto\">Registers<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-110\" src=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/phsn5computingscience\/uploads\/sites\/10033\/2022\/05\/10164544\/Screenshot-2022-05-10-164525-300x239.png\" alt=\"\" width=\"1042\" height=\"830\" srcset=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/phsn5computingscience\/uploads\/sites\/10033\/2022\/05\/10164544\/Screenshot-2022-05-10-164525-300x239.png 300w, https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/phsn5computingscience\/uploads\/sites\/10033\/2022\/05\/10164544\/Screenshot-2022-05-10-164525-768x612.png 768w, https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/phsn5computingscience\/uploads\/sites\/10033\/2022\/05\/10164544\/Screenshot-2022-05-10-164525-624x497.png 624w, https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/phsn5computingscience\/uploads\/sites\/10033\/2022\/05\/10164544\/Screenshot-2022-05-10-164525.png 984w\" sizes=\"auto, (max-width: 1042px) 100vw, 1042px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2 style=\"color: red\">The Control Unit<\/h2>\n<p data-reactid=\".1opom89cqiy.0.0.0.1:0.1.0.$0.$4.$1\"><span data-reactid=\".1opom89cqiy.0.0.0.1:0.1.0.$0.$4.$1.0\">The control unit is responsible for managing the clock, read, write, reset and interrupt lines.<\/span><\/p>\n<p data-reactid=\".1opom89cqiy.0.0.0.1:0.1.0.$0.$4.$2\"><span data-reactid=\".1opom89cqiy.0.0.0.1:0.1.0.$0.$4.$2.0\">The control unit has a clock line that sends out a signal to synchronise the fetch\/execute cycle. Clock speed is measured in Hertz (Hz) and is a good indication of how quickly the processor can complete tasks. Modern processors for desktop PCs operate in GHz.<\/span><\/p>\n<h2 style=\"color: red\"><b><span data-contrast=\"auto\">The Arithmetic and Logic Unit (ALU)<\/span><\/b><\/h2>\n<p><span data-contrast=\"none\"><strong>All calculations and logical decisions are handled by the ALU<\/strong>. Processing real numbers would be an example of an action performed by the ALU.<\/span><\/p>\n<ul>\n<li><span data-contrast=\"none\">performs all calculations\u00a0<\/span><\/li>\n<li><span data-contrast=\"none\">performs comparisons on numeric values<\/span><\/li>\n<li><span data-contrast=\"none\">makes decisions based on logic (AND, OR, NOT)\u00a0<\/span><\/li>\n<\/ul>\n<h2 style=\"color: red\" data-reactid=\".1opom89cqiy.0.0.0.1:0.1.0.$0.$4.$2\">The Registers<\/h2>\n<ul style=\"font-weight: 400\">\n<li data-aria-posinset=\"1\" data-aria-level=\"1\"><span data-contrast=\"auto\">Registers are\u00a0<\/span><b><span data-contrast=\"none\">small temporary memory locations<\/span><\/b><span data-contrast=\"auto\">\u00a0located on the processor.\u00a0<\/span><\/li>\n<li data-aria-posinset=\"2\" data-aria-level=\"1\"><span data-contrast=\"auto\">They are used to\u00a0<\/span>store the data for the current instruction<span data-contrast=\"auto\">\u00a0being processed<\/span><\/li>\n<\/ul>\n<p><span data-contrast=\"auto\">For example<\/span><\/p>\n<p><span data-contrast=\"auto\">The accumulator is a register that stores the results of calculations preformed buy the ALU.\u00a0 The Instructions register holds the program instruction that is currently being decoded and executed.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Processor (CPU)\u00a0 The processor is the\u00a0brains of the computer\u00a0and\u00a0deals with all the movement of data and any calculations to be carried out. Computers can carry out instructions very quickly because the CPU can process billions of instructions every second although it only does one at a time.\u00a0\u00a0 The processor is made up from:\u00a0 The [&hellip;]<\/p>\n","protected":false},"author":79984,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-107","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/phsn5computingscience\/wp-json\/wp\/v2\/pages\/107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/phsn5computingscience\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/phsn5computingscience\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/phsn5computingscience\/wp-json\/wp\/v2\/users\/79984"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/phsn5computingscience\/wp-json\/wp\/v2\/comments?post=107"}],"version-history":[{"count":7,"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/phsn5computingscience\/wp-json\/wp\/v2\/pages\/107\/revisions"}],"predecessor-version":[{"id":603,"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/phsn5computingscience\/wp-json\/wp\/v2\/pages\/107\/revisions\/603"}],"wp:attachment":[{"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/phsn5computingscience\/wp-json\/wp\/v2\/media?parent=107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}