Primary Memory Last Updated : 08 Sep, 2023 Comments Improve Suggest changes Like Article Like Report Primary storage or memory is also known as the main memory, which is the part of the computer that stores current data, programs, and instructions. Primary storage is stored in the motherboard which results in the data from and to primary storage can be read and written at a very good pace. What is Primary MemoryPrimary memory is a segment of computer memory that can be accessed directly by the processor. In a hierarchy of memory, primary memory has access time less than secondary memory and greater than cache memory. Generally, primary memory has a storage capacity lesser than secondary memory and greater than cache memory. Need of primary memoryIn order to enhance the efficiency of the system, memory is organized in such a way that access time for the ready process is minimized. The following approach is followed to minimize access time for the ready process. All programs, files, and data are stored in secondary storage that is larger and hence has greater access time.Secondary memory can not be accessed directly by a CPU or processor.In order, to execute any process operating system loads the process in primary memory which is smaller and can be accessed directly by the CPU.Since only those processes are loaded in primary memory which is ready to be executed, the CPU can access those processes efficiently and this optimizes the performance of the system.This organization of memory in a stepwise manner is known as Memory Hierarchy. Primary Memory ExamplePrimary Memory examples are RAM, ROM, cache, PROM, EPROM, registers, etc. Classification of Primary MemoryPrimary memory can be broadly classified into two parts: Read-Only Memory (ROM)Random Access Memory (RAM)Read-Only MemoryAny data which need not be altered are stored in ROM. ROM includes those programs which run on booting of the system (known as a bootstrap program that initializes OS) along with data like algorithm required by OS. Anything stored in ROM cannot be altered or changed. Types of ROM:ROM can be broadly classified into 4 types based on their behavior: MROM: Masked ROM is hardwired and pre-programmed ROM. Any content that is once written cannot be altered anyhow.PROM: Programmable ROM can be modified once by the user. The user buys a blank PROM and writes the desired content but once written content cannot be altered.EPROM: Erasable and Programmable ROM Content can be changed by erasing the initial content which can be done by exposing EPROM to UV radiation. This exposure to ultra-violet light dissipates the charge on ROM and content can be rewritten on it.EEPROM: Electrically Erasable and Programmable ROM Content can be changed by erasing the initial content which could be easily erased electrically. However, one byte can be erased at a time instead of deleting in one go. Hence, reprogramming of EEPROM is a slow process.Random Access MemoryAny process in the system which needs to be executed is loaded in RAM which is processed by the CPU as per Instructions in the program. Like if we click on applications like Browser, firstly browser code will be loaded by the Operating system into the RAM after which the CPU will execute and open up the Browser. Types of RAM:RAM can be broadly classified into SRAM (Static RAM) and DRAM (Dynamic RAM) based on their behavior: DRAM: Dynamic RAM or DRAM needs to periodically refresh in a few milliseconds to retain data. DRAM is made up of capacitors and transistors and electric charge leaks from capacitors and DRAM needs to be charged periodically. DRAM is widely used in home PCs and servers as it is cheaper than SRAM.SRAM: Static RAM or SRAM keeps the data as long as power is supplied to the system. SRAM uses Sequential circuits like a flip-flop to store a bit and hence need not be periodically refreshed. SRAM is expensive and hence only used where speed is the utmost priority.Primary Memory is volatile in nature. Content of primary memory may or may not vanish when power is lost depending on if it is stored in RAM or ROM. The content of ROM is non-volatile in nature, they are stored even when power is lost.The content of RAM is volatile in nature, it vanishes when power is lost.When cache memory comes into existence?Data in primary memory can be accessed faster than secondary memory but still, access times of primary memory are generally in a few microseconds, whereas the CPU is capable of performing operations in nanoseconds. Due to the time lag between accessing data and acting on data performance of the system decreases as the CPU is not utilized properly, it may remain idle for some time. In order to minimize this time gap new segment of memory is Introduced known as Cache Memory. Comment More infoAdvertise with us Next Article Secondary Memory H harshshukla5 Follow Improve Article Tags : Computer Science Fundamentals School Learning Class 6 Similar Reads Computer Fundamental Tutorial This Computer Fundamental Tutorial covers everything from basic to advanced concepts, including computer hardware, software, operating systems, peripherals, etc. Whether you're a beginner or an experienced professional, this tutorial is designed to enhance your computer skills and take them to the n 6 min read Introduction To Computer FundamentalsWhat is a Computer?A computer is an electronic device that processes, stores, and executes instructions to perform tasks. It includes key components such as the CPU (Central Processing Unit), RAM (Memory), storage (HDD/SSD), input devices (keyboard, mouse), output devices (monitor, printer), and peripherals (USB drive 13 min read Basics of Computer and its OperationsA computer is an electronic device that can receive, store, process, and output data. In simple terms, itâs a machine that helps us perform all sorts of tasks, from basic calculations to complex activities like playing games, watching videos, or even running artificial intelligence programs.Computer 13 min read Advantages and Disadvantages of ComputerA computer is a machine that follows instructions to perform specific tasks and deliver results very quickly. It is designed to solve complex problems, process information, store and retrieve data and carry out calculations much faster and more accurately than humans.The word "computer" originally r 6 min read Classification of ComputersComputers come in a wide variety of forms and serve countless purposes. They can range from tiny embedded systems to massive supercomputers, each designed to perform specific tasks. By organizing them based on factors such as size, function, and intended use, we can better understand the unique role 11 min read Basic Applications of ComputersThe term computer was taken from the Greek word compute means calculation and the computer was a person or device that did computation. In this article, we will learn what exactly a computer is, how it affects our lives, and the applications of computers in our lives.Basic Application of ComputerWha 5 min read History and Evolution of ComputersHistory of ComputersBefore the invention of computers, people relied on simple tools like sticks, stones, and bones to keep track of numbers and perform basic calculations. As technology progressed and human understanding grew, more advanced devices were developed, such as the abacus and Napier's Bones. While these ear 10 min read Evolution of Generation of ComputersThe generation of computers refers to the progression of computer technology over time, marked by key advancements in hardware and software. These advancements are divided into five generations, each defined by improvements in processing power, size, efficiency, and overall capabilities. Starting wi 6 min read Components of a Computer SystemCentral Processing Unit (CPU)The Central Processing Unit (CPU) is like the brain of a computer. Itâs the part that does most of the thinking, calculating, and decision-making to make your computer work. Whether youâre playing a game, typing a school assignment, or watching a video, the CPU is busy handling all the instructions 7 min read Input DevicesInput devices are important parts of a computer that help us communicate with the system. These devices let us send data or commands to the computer, allowing it to process information and perform tasks. Simply put, an input device is any tool we use to give the computer instructions, whether it's t 11 min read What are Different Output Devices?Output devices are hardware that display or produce the results of a computer's processing. They convert digital data into formats we can see, hear, or touch. Examples include monitors, printers, and speakers. These devices are essential for helping us interact with and understand the information th 11 min read Computer HardwareComputer hardware refers to the physical components of a computer that you can see and touch. These components work together to process input and deliver output based on user instructions. In this article, weâll explore the different types of computer hardware, their functions, and how they interact 10 min read What is a Computer Software?Computer Software serves as the backbone of all digital devices and systems. It is an integral part of modern technology. Unlike hardware which comprises physical components, software is intangible and exists as a code written in programming language. This article focuses on discussing computer soft 8 min read Computer HardwareWhat is a Motherboard?Imagine your computer as a big city, and the motherboard as the main road system connecting all the important buildingsâlike the CPU (the brain), RAM (the memory), and storage (the library). Without the motherboard, these parts couldnât talk to each other, and your computer wouldnât work. This artic 9 min read Random Access Memory (RAM)Random Access Memory (RAM) is a type of computer memory that stores data temporarily. When you turn off your computer, the data in RAM disappears, unlike the data on your hard drive, which stays saved. RAM helps your computer run programs and process information faster. This is similar to how the br 11 min read Hard Disk Drive (HDD) Secondary MemoryPrimary memory, like RAM, is limited and volatile, losing data when power is off. Secondary memory solves this by providing large, permanent storage for data and programs.A hard disk drive (HDD) is a fixed storage device inside a computer that is used for long-term data storage. Unlike RAM, HDDs ret 11 min read Introduction to Solid-State Drive (SSD)A Solid-State Drive (SSD) is a non-volatile storage device that stores data without using any moving parts, unlike traditional Hard Disk Drives (HDDs), which have spinning disks and mechanical read/write heads. Because of this, SSDs are much faster, more durable, and quieter than HDDs. They load fil 7 min read What is a Graphics Processing Unit (GPU)?Graphics Processing Unit (GPU) is a specialized processor originally designed to render images and graphics efficiently for computer displays. In recent years, GPUs have evolved into powerful co-processors that excel at performing parallel computations, making them indispensable for tasks beyond gra 6 min read What is Power Supply Unit (PSU)?A PSU is a type of internal hardware used in information technology systems. Power Supply Units (PSUs), despite their name, transform power rather than providing it to systems. In particular, a power supply regulates the DC output voltage to the precise tolerances needed for contemporary computing c 14 min read Computer SoftwareWhat is a Computer Software?Computer Software serves as the backbone of all digital devices and systems. It is an integral part of modern technology. Unlike hardware which comprises physical components, software is intangible and exists as a code written in programming language. This article focuses on discussing computer soft 8 min read Software and its TypesSoftware is a collection of instructions, data, or computer programs that are used to run machines and carry out particular activities. It is the antithesis of hardware, which refers to a computer's external components. A device's running programs, scripts, and applications are collectively referred 7 min read What is Application Software?A computer is a piece of electronic equipment. Because it is powered by electricity, it is referred to as an electronic device. It accepts data, processes it, and outputs the appropriate results. The output of a computer system is also known as the result of the computer system. The computer system 10 min read System SoftwareSystem software refers to the low-level software that manages and controls a computer's hardware and provides basic services to higher-level software. There are two main types of software: systems software and application software. Systems software includes the programs that are dedicated to managin 12 min read Utility SoftwareUtility software is a type of software that is designed to help users manage, maintain, and optimize their computer systems. Utility software includes a wide range of tools and applications that perform specific tasks to improve the performance, security, and functionality of a computer system. Tab 8 min read Input DevicesWhat is a Keyboard?Computers have two types of devices â Input and Output devices. Input devices are those devices which take commands from user and convey it to the computers in the form of digital signals. Whereas, output devices are those which display or present the result to the user according to the commands giv 7 min read What is a Mouse in Computer?A computer mouse is a small, handheld device used to control a computer by interacting with its Graphical User Interface (GUI). It typically has two buttons (left and right) and a scroll wheel, allowing users to perform actions like clicking, dragging, and scrolling. The mouse is moved across a surf 6 min read What is a Joystick?A joystick is a pointing and controlling device that is commonly used for controlling video games and moving required objects on the system screen. An input device which is called a joystick is used to control a machine or character in a computer program, like an aircraft in a flight simulator syste 8 min read What is a Light Pen?A light pen is a type of pointing input device that detects light and is frequently used to select or alter text or data on a screen. These devices, when used with a CRT (cathode ray tube) monitor, were an early method of highlighting and modifying data on the screen. What is a Light Pen?A light pen 6 min read What is Scanner?A scanner is an electrical device can read and translate text, images, and other materials into a digital signal. This transforms the documents into a format that computer software programs can use to view and/or edit them. There are many different types of scanners with various resolutions on the m 7 min read What is Optical Character Recognition (OCR)?By digitizing the document's content, text-encased image files are produced. Word processing software cannot process text in photos the same way it does text documents. By transforming text photos into text data that can be evaluated by other business tools, OCR technology finds a solution to the is 5 min read What is a Barcode Reader?When you visit a supermarket, you might see the cashier scanning a code on the product at the billing counter. Within fractions of minutes, they calculate the total price and create the bill. The cashier can do the billing process faster with the help of a scanner. The scanner that is used to scan t 5 min read What is WebCam?A webcam is a small video camera connected to a computer via USB, used for capturing and transmitting video over the internet. It's commonly used for video conferencing, live streaming, and real-time communication. Webcams can be built into devices or be external, often featuring built-in microphone 10 min read Output DevicesWhat is a Speaker?Computer Speakers or Multimedia speakers we all heard of it, knew it, and even used it in our day-to-day life. They are found everywhere from home appliances to industries, high-corporation factories, and organizations but especially in movie theatres, concerts, and public sessions. It is one of the 7 min read What is a Printer?A printer is a device that accepts text and graphics output from a computer, and it transfers this information to paper, sheets. Printers can print any information that has been passed to them, whether it be Text, Numbers or Images. It depends on the type of printer that determines what quality or c 5 min read What is a Monitor?A computer monitor is an output device that shows visual data, such as text, images, or videos, on a screen. It typically includes a display panel, supporting circuitry, power unit, enclosure, connectors for external devices, and controls for user interaction. The word "monitor" is derived from the 10 min read What is a Plotter?Plotter uses multicolored automatic pens to create lines on paper and reads computer orders. It can create charts, maps, graphs, drawings, and more. It uses one or more automated pens to draw a line. What is a Plotter?A plotter is basically a type of printer technology. It is a computer output devic 8 min read What is a Projector?Any peripheral that accepts data from a computer and prints, projects, or reproduces it is known as an output device. The output may be audio, video, hard copy â printed paper, etc. Output devices convert the computer data to human understandable form. The projector is also an output device. Let's d 9 min read What are Headphones?Headphones are a type of hardware output device that can be connected to a computer's line-out or speakers port, as well as wirelessly using Bluetooth. They are also referred to as earbuds. You can watch a movie or listen to audio without bothering anyone nearby by using headphones. What are Headpho 7 min read Data Storage and MemoryWhat is a Storage Device? Definition, Types, ExamplesThe storage unit is a part of the computer system which is employed to store the information and instructions to be processed. A storage device is an integral part of the computer hardware which stores information/data to process the result of any computational work. Without a storage device, a comp 11 min read Hard Disk Drive (HDD) Secondary MemoryPrimary memory, like RAM, is limited and volatile, losing data when power is off. Secondary memory solves this by providing large, permanent storage for data and programs.A hard disk drive (HDD) is a fixed storage device inside a computer that is used for long-term data storage. Unlike RAM, HDDs ret 11 min read Introduction to Solid-State Drive (SSD)A Solid-State Drive (SSD) is a non-volatile storage device that stores data without using any moving parts, unlike traditional Hard Disk Drives (HDDs), which have spinning disks and mechanical read/write heads. Because of this, SSDs are much faster, more durable, and quieter than HDDs. They load fil 7 min read Optical Storage SystemsTHe Optical memory is an electronic storage medium that uses a laser beam to store and retrieve digital (binary) data. In optical storage technology, a laser beam encodes digital data on an optical disc or laser disc in the form of tiny pits arranged in a spiral pattern on the surface of the disc. D 6 min read What is Flash Drive?The flash drive, born in the early 2000s with the "DISKONKEY," revolutionized data storage. Initially offering 8 megabytes, it evolved into a compact, portable marvel, devoid of moving parts and relying on NAND flash memory. This technology, organized into pages and blocks, facilitates read, write, 11 min read What is a Memory Card?In this age of digitalization, where most of the information is already converted into digital format a compact chip become basic requirement to store this huge amount information. As result memory card already have become very common in our modern electrical devices, memory card can be considered a 11 min read Computer MemoryComputer MemoryComputer memory is just like the human brain. It is used to store data/information, and instructions. It is a data storage unit or a data storage device where data is to be processed, and instructions required for processing are stored. Both the input and output can be stored here.It's faster than s 9 min read What is Register Memory?Register memory is a type of computer memory that consists of a small set of storage locations within the central processing unit (CPU) itself. These storage locations, known as registers, are used to store data temporarily during the execution of a program. More and bigger registers allow faster CP 7 min read Cache MemoryCache memory is a special type of high-speed memory located close to the CPU in a computer. It stores frequently used data and instructions, So that the CPU can access them quickly, improving the overall speed and efficiency of the computer. It is a faster and smaller segment of memory whose access 7 min read Primary MemoryPrimary storage or memory is also known as the main memory, which is the part of the computer that stores current data, programs, and instructions. Primary storage is stored in the motherboard which results in the data from and to primary storage can be read and written at a very good pace. What is 4 min read Secondary MemorySecondary memory, also known as secondary storage, refers to the storage devices and systems used to store data persistently, even when the computer is powered off. Unlike primary memory (RAM), which is fast and temporary, secondary memory is slower but offers much larger storage capacities. Some Ex 7 min read Introduction to memory and memory unitsMemory is required to save data and instructions. Memory is divided into cells, and they are stored in the storage space present in the computer. Every cell has its unique location/address. Memory is very essential for a computer as this is the way it becomes somewhat more similar to a human brain. 11 min read Like