{"id":127,"date":"2023-06-11T19:56:08","date_gmt":"2023-06-11T19:56:08","guid":{"rendered":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/?page_id=127"},"modified":"2023-08-05T09:33:56","modified_gmt":"2023-08-05T09:33:56","slug":"primary-storage-devices","status":"publish","type":"page","link":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/primary-storage-devices\/","title":{"rendered":"Primary Storage Devices"},"content":{"rendered":"<div class=\"responsive-tabs\">\n<h2 class=\"tabtitle\">Introduction<\/h2>\n<div class=\"tabcontent\">\n\n<h3>Primary Storage Devices<\/h3>\n<p>Primary storage devices, also known as main memory or RAM (Random Access Memory), are an integral part of a computer system, responsible for temporarily holding data and instructions that the CPU (Central Processing Unit) needs to access quickly during the execution of programs. Unlike secondary storage devices, primary storage is volatile, meaning it loses its contents when the power is turned off.<\/p>\n<p>Primary Storage devices include:<\/p>\n<ul>\n<li>L1 &amp; L2 CPU Cache<\/li>\n<li>Random Access Memory<\/li>\n<li>GPU Cache<\/li>\n<\/ul>\n\n<\/div><h2 class=\"tabtitle\">Characteristics<\/h2>\n<div class=\"tabcontent\">\n\n<h3>Characteristics of primary storage devices<\/h3>\n<p><strong>Purpose<\/strong><\/p>\n<p>Primary storage devices, also known as main memory or RAM (Random Access Memory), are used to temporarily store data and instructions that the CPU (Central Processing Unit) needs to access quickly while executing programs. It is the primary working memory of a computer.<\/p>\n<p><strong>Volatility<\/strong><\/p>\n<p>Primary storage is volatile, meaning it loses its data when the power is turned off or the computer is restarted. This is why you need to save your work to secondary storage (e.g., hard drive) for long-term storage.<\/p>\n<p><strong>Speed<\/strong><\/p>\n<p>Primary storage is much faster than secondary storage. Data can be read from and written to RAM at very high speeds, allowing for quick access to the data needed by the CPU.<\/p>\n<p><strong>Capacity<\/strong><\/p>\n<p>The capacity of primary storage is typically smaller compared to secondary storage. It is designed to hold the data and instructions needed for the current execution of programs.<\/p>\n\n<\/div><h2 class=\"tabtitle\">CPU Cache<\/h2>\n<div class=\"tabcontent\">\n\n<h3>CPU Cache<\/h3>\n<p>CPU cache is an area of memory on the cpu itself used to temporarily store data and instructions. There are commonly 2 types of cache on a CPU, L1 and L2.<\/p>\n<p>L1 Cache:<\/p>\n<ul>\n<li>Smaller, fastest cache (16KB to 64KB)<\/li>\n<li>Very quick access times (few clock cycles)<\/li>\n<li>Stores critical and frequently used data and instructions<\/li>\n<li>Acts as a direct buffer between CPU and main memory (RAM)<\/li>\n<\/ul>\n<p>L2 Cache:<\/p>\n<ul>\n<li>Larger than L1 cache (a few hundred KB to a few MB)<\/li>\n<li>Slower than L1 but still faster than main memory<\/li>\n<li>Serves as a secondary cache, holding additional data and instructions<\/li>\n<li>May be inclusive or exclusive of L1 cache<\/li>\n<\/ul>\n\n<\/div><h2 class=\"tabtitle\">RAM<\/h2>\n<div class=\"tabcontent\">\n\n<div class=\"arconix-column-two-thirds\">\n<h3>Random Access Memory (RAM)<\/h3>\n<p>RAM is a type of<strong> very fast memory<\/strong> that is used to<strong> temporarily hold data about currently running programs<\/strong>. When you load any file from the hard drive there is a lag between the request and the data being sent, this would cause massive slow down of the CPU if data was constantly being requested from the hard drive. Instead a single request is sent to the hard drive when the program loads and the whole program is loaded in to RAM. The RAM is electronic memory and all the data is stored in flop flop circuits using electrical currents and transistors. This means that there is <strong>very little latency<\/strong> and there the computer loads the program much faster than if it wasn&#8217;t used. However because RAM data is stored electronically, RAM is <strong>volatile<\/strong> &#8211; once power is lost all data is lost as well.<\/p>\n<\/div>\n<div class=\"arconix-column-one-third\">\n<p><a href=\"https:\/\/learnlearn.uk\/gcsecs\/wp-content\/uploads\/sites\/8\/2017\/01\/ram-ocr-memory.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"size-medium wp-image-351\" src=\"https:\/\/learnlearn.uk\/gcsecs\/wp-content\/uploads\/sites\/8\/2017\/01\/ram-ocr-memory-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" \/><\/a><\/p>\n<\/div>\n\n<\/div><h2 class=\"tabtitle\">Cache<\/h2>\n<div class=\"tabcontent\">\n\n<h3>Cache Memory<\/h3>\n<p>Cache memory is small amount of RAM located on the CPU itself. It stores commonly used data that is being constantly used by the operating system, allowing for even faster access than the RAM.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n\n<\/div><h2 class=\"tabtitle\">ROM \/ PROM<\/h2>\n<div class=\"tabcontent\">\n\n<h3>Programmable ROM (PROM) \/ Flash Memory<\/h3>\n<p>Flash memory is a form of ROM that is commonly used in embedded devices such as washing machines or smart tvs.<\/p>\n<p>Flash memory is:<\/p>\n<ul>\n<li>Very reliable<\/li>\n<li>Relatively Secure( because it requires the memory to be flashed, files can&#8217;t just be copied \/ edited in place)<\/li>\n<\/ul>\n\n<\/div><h2 class=\"tabtitle\">Resources<\/h2>\n<div class=\"tabcontent\">\n\n<h3>Resources<\/h3>\n<p><a href=\"https:\/\/www.aicurriculum.co.uk\/resources\/9aebb152-b1ca-4508-8516-131bb3eb1342\">Free flashcards, loop cards, quizzes and more.<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Primary Storage Devices Primary storage devices, also known as main memory or RAM (Random Access Memory), are an integral part of a computer system, responsible for temporarily holding data and instructions that the CPU (Central Processing Unit) needs to access quickly during the execution of programs. Unlike secondary storage devices, primary storage is volatile, meaning&hellip;&nbsp;<a href=\"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/primary-storage-devices\/\" class=\"\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">Primary Storage Devices<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"off","neve_meta_content_width":100,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Primary Storage Devices - Edexcel iGCSE Computer Science<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/primary-storage-devices\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Primary Storage Devices - Edexcel iGCSE Computer Science\" \/>\n<meta property=\"og:description\" content=\"Primary Storage Devices Primary storage devices, also known as main memory or RAM (Random Access Memory), are an integral part of a computer system, responsible for temporarily holding data and instructions that the CPU (Central Processing Unit) needs to access quickly during the execution of programs. Unlike secondary storage devices, primary storage is volatile, meaning&hellip;&nbsp;Read More &raquo;Primary Storage Devices\" \/>\n<meta property=\"og:url\" content=\"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/primary-storage-devices\/\" \/>\n<meta property=\"og:site_name\" content=\"Edexcel iGCSE Computer Science\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-05T09:33:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/learnlearn.uk\/gcsecs\/wp-content\/uploads\/sites\/8\/2017\/01\/ram-ocr-memory-300x225.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/primary-storage-devices\/\",\"url\":\"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/primary-storage-devices\/\",\"name\":\"Primary Storage Devices - Edexcel iGCSE Computer Science\",\"isPartOf\":{\"@id\":\"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/#website\"},\"datePublished\":\"2023-06-11T19:56:08+00:00\",\"dateModified\":\"2023-08-05T09:33:56+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/primary-storage-devices\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/primary-storage-devices\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/primary-storage-devices\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Primary Storage Devices\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/#website\",\"url\":\"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/\",\"name\":\"Edexcel iGCSE Computer Science\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-GB\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Primary Storage Devices - Edexcel iGCSE Computer Science","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/primary-storage-devices\/","og_locale":"en_GB","og_type":"article","og_title":"Primary Storage Devices - Edexcel iGCSE Computer Science","og_description":"Primary Storage Devices Primary storage devices, also known as main memory or RAM (Random Access Memory), are an integral part of a computer system, responsible for temporarily holding data and instructions that the CPU (Central Processing Unit) needs to access quickly during the execution of programs. Unlike secondary storage devices, primary storage is volatile, meaning&hellip;&nbsp;Read More &raquo;Primary Storage Devices","og_url":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/primary-storage-devices\/","og_site_name":"Edexcel iGCSE Computer Science","article_modified_time":"2023-08-05T09:33:56+00:00","og_image":[{"url":"https:\/\/learnlearn.uk\/gcsecs\/wp-content\/uploads\/sites\/8\/2017\/01\/ram-ocr-memory-300x225.jpg"}],"twitter_card":"summary_large_image","twitter_misc":{"Estimated reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/primary-storage-devices\/","url":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/primary-storage-devices\/","name":"Primary Storage Devices - Edexcel iGCSE Computer Science","isPartOf":{"@id":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/#website"},"datePublished":"2023-06-11T19:56:08+00:00","dateModified":"2023-08-05T09:33:56+00:00","breadcrumb":{"@id":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/primary-storage-devices\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/primary-storage-devices\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/primary-storage-devices\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/"},{"@type":"ListItem","position":2,"name":"Primary Storage Devices"}]},{"@type":"WebSite","@id":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/#website","url":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/","name":"Edexcel iGCSE Computer Science","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-GB"}]}},"rttpg_featured_image_url":null,"rttpg_author":{"display_name":"learnlearnadmin","author_link":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/author\/learnlearnadmin\/"},"rttpg_comment":0,"rttpg_category":null,"rttpg_excerpt":"Primary Storage Devices Primary storage devices, also known as main memory or RAM (Random Access Memory), are an integral part of a computer system, responsible for temporarily holding data and instructions that the CPU (Central Processing Unit) needs to access quickly during the execution of programs. Unlike secondary storage devices, primary storage is volatile, meaning&hellip;&nbsp;Read&hellip;","_links":{"self":[{"href":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/wp-json\/wp\/v2\/pages\/127"}],"collection":[{"href":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/wp-json\/wp\/v2\/comments?post=127"}],"version-history":[{"count":4,"href":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/wp-json\/wp\/v2\/pages\/127\/revisions"}],"predecessor-version":[{"id":399,"href":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/wp-json\/wp\/v2\/pages\/127\/revisions\/399"}],"wp:attachment":[{"href":"https:\/\/learnlearn.uk\/edexcel-igcse-computer-science\/wp-json\/wp\/v2\/media?parent=127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}