{"id":122,"date":"2022-05-10T17:07:14","date_gmt":"2022-05-10T16:07:14","guid":{"rendered":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/phsn5computingscience\/?page_id=122"},"modified":"2022-05-10T17:10:11","modified_gmt":"2022-05-10T16:10:11","slug":"memory","status":"publish","type":"page","link":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/phsn5computingscience\/memory\/","title":{"rendered":"Memory"},"content":{"rendered":"<h2 style=\"color: red\">The Main Memory<\/h2>\n<p><span class=\"TextRun SCXO166241626 BCX8\" lang=\"EN-GB\" xml:lang=\"EN-GB\" data-contrast=\"none\"><span class=\"NormalTextRun SCXO166241626 BCX8\">Main Memory<\/span><\/span><span class=\"TextRun SCXO166241626 BCX8\" lang=\"EN-GB\" xml:lang=\"EN-GB\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXO166241626 BCX8\">\u00a0is used to temporarily store programs while they are being run.\u00a0 It is part of the central processing unit and consists of\u00a0<\/span><\/span><span class=\"TextRun SCXO166241626 BCX8\" lang=\"EN-GB\" xml:lang=\"EN-GB\" data-contrast=\"none\"><span class=\"NormalTextRun SCXO166241626 BCX8\">RAM<\/span><\/span><span class=\"TextRun SCXO166241626 BCX8\" lang=\"EN-GB\" xml:lang=\"EN-GB\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXO166241626 BCX8\">\u00a0and\u00a0<\/span><\/span><span class=\"TextRun SCXO166241626 BCX8\" lang=\"EN-GB\" xml:lang=\"EN-GB\" data-contrast=\"none\"><span class=\"NormalTextRun SCXO166241626 BCX8\">ROM<\/span><\/span><span class=\"EOP SCXO166241626 BCX8\"> .<\/span><\/p>\n<p><span class=\"TextRun SCXO91147191 BCX8\" lang=\"EN-GB\" xml:lang=\"EN-GB\" data-contrast=\"none\"><span class=\"NormalTextRun SCXO91147191 BCX8\">Main memory consists of\u00a0<\/span><\/span><span class=\"TextRun SCXO91147191 BCX8\" lang=\"EN-GB\" xml:lang=\"EN-GB\" data-contrast=\"none\"><span class=\"NormalTextRun SCXO91147191 BCX8\">storage locations\u00a0<\/span><\/span><span class=\"TextRun SCXO91147191 BCX8\" lang=\"EN-GB\" xml:lang=\"EN-GB\" data-contrast=\"none\"><span class=\"NormalTextRun SCXO91147191 BCX8\">which are identified by\u00a0<\/span><\/span><span class=\"TextRun SCXO91147191 BCX8\" lang=\"EN-GB\" xml:lang=\"EN-GB\" data-contrast=\"none\"><span class=\"NormalTextRun SCXO91147191 BCX8\"><strong>unique addresses<\/strong>.<\/span><\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-119\" src=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/phsn5computingscience\/uploads\/sites\/10033\/2022\/05\/10165907\/Screenshot-2022-05-10-165843-300x263.png\" alt=\"\" width=\"484\" height=\"424\" srcset=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/phsn5computingscience\/uploads\/sites\/10033\/2022\/05\/10165907\/Screenshot-2022-05-10-165843-300x263.png 300w, https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/phsn5computingscience\/uploads\/sites\/10033\/2022\/05\/10165907\/Screenshot-2022-05-10-165843-768x672.png 768w, https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/phsn5computingscience\/uploads\/sites\/10033\/2022\/05\/10165907\/Screenshot-2022-05-10-165843-624x546.png 624w, https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/phsn5computingscience\/uploads\/sites\/10033\/2022\/05\/10165907\/Screenshot-2022-05-10-165843.png 866w\" sizes=\"auto, (max-width: 484px) 100vw, 484px\" \/><\/p>\n<p><span data-contrast=\"none\">Each storage location holds one word (the number of bits the CPU can process in a single operation)<\/span><\/p>\n<ul>\n<li data-aria-posinset=\"1\" data-aria-level=\"2\"><span data-contrast=\"none\">8 bit computer holds 8 bits in a storage location<\/span><\/li>\n<li data-aria-posinset=\"2\" data-aria-level=\"2\"><span data-contrast=\"none\">16 bit computer holds 16 bits in a storage location<\/span><\/li>\n<\/ul>\n<h2 style=\"color: red\">Rom and RAM<\/h2>\n<p><span data-contrast=\"none\">There are two types of main memory:<\/span><\/p>\n<ul style=\"font-weight: 400\">\n<li data-aria-posinset=\"1\" data-aria-level=\"2\"><span data-contrast=\"none\">Random Access Memory (RAM)<\/span><\/li>\n<li data-aria-posinset=\"2\" data-aria-level=\"2\"><span data-contrast=\"none\">Read Only Memory (ROM)<\/span><\/li>\n<\/ul>\n<h2 style=\"color: red\"><b><span data-contrast=\"none\">RAM (Random Access Memory)<\/span><\/b><\/h2>\n<p><span data-contrast=\"none\">When a program is running, the data that will be processed by the processor is temporarily stored in RAM. RAM will hold data until it is needed by the processor.<\/span><\/p>\n<p><span data-contrast=\"none\">When a program is closed the data held in RAM is deleted.<\/span><\/p>\n<p><span data-contrast=\"none\">When the computer system shuts down, RAM is cleared completely.<\/span><\/p>\n<p><span data-contrast=\"none\">There are many different locations in RAM and each location has its own unique address.\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">The more RAM that is available, the more programs it is possible to run concurrently (at the same time) without slowing system performance.\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2 style=\"color: red\"><b><span data-contrast=\"none\">ROM (Read Only Memory)<\/span><\/b><\/h2>\n<p><span data-contrast=\"none\">Has contents in Rom which are fixed when the chip is manufactured \u2013 cannot be changed or written to.<\/span><\/p>\n<p><span data-contrast=\"none\">The ROM memory holds the bootstrap loader, which is part of the operating system<\/span><\/p>\n<p><span data-contrast=\"none\">Retains its data when the computer is switched off \u2013 non-volatile<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-125\" src=\"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/public\/phsn5computingscience\/uploads\/sites\/10033\/2022\/05\/10170948\/rom.jpeg\" alt=\"\" width=\"391\" height=\"219\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Main Memory Main Memory\u00a0is used to temporarily store programs while they are being run.\u00a0 It is part of the central processing unit and consists of\u00a0RAM\u00a0and\u00a0ROM . Main memory consists of\u00a0storage locations\u00a0which are identified by\u00a0unique addresses. Each storage location holds one word (the number of bits the CPU can process in a single operation) 8 [&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-122","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/phsn5computingscience\/wp-json\/wp\/v2\/pages\/122","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=122"}],"version-history":[{"count":3,"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/phsn5computingscience\/wp-json\/wp\/v2\/pages\/122\/revisions"}],"predecessor-version":[{"id":127,"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/phsn5computingscience\/wp-json\/wp\/v2\/pages\/122\/revisions\/127"}],"wp:attachment":[{"href":"https:\/\/blogs.glowscotland.org.uk\/glowblogs\/phsn5computingscience\/wp-json\/wp\/v2\/media?parent=122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}