R Programming
Scatter Plot in R using ggplot2 (with Example)
Graphs are the third part of the process of data analysis. The first part is about data extraction , the...
Memory is very much like our brain as it is used to store data and instructions. Computer memory is the storage space where data is to be processed, and instructions needed for processing are stored. The memory is divided into a large number of smaller portions called the cell. Every cell/ location has a unique address and a size.
Two types of memories are:
In this tutorial, you will learn
Primary memory is the main memory of the computer system. Accessing data from primary memory is faster because it is an internal memory of the computer. The primary memory is most volatile which means data in primary memory does not exist if it is not saved when a power failure occurs.
The primary memory is a semiconductor memory. It is costlier compared with secondary memory. The capacity of primary memory is very much limited and is always smaller compares to secondary memory.
Two types of Primary Memory are:
Random access memory which is also known as RAM is generally known as a main memory of the computer system. It is called temporary memory or cache memory. The information stored in this type of memory is lost when the power supply to the PC or laptop is switched off.
It stands for Read Only Memory. ROM is a permanent type of memory. Its content is not lost when the power supply is switched off. The computer manufacturer decides the information of ROM, and it is permanently stored at the time of manufacturing which can not be overwritten by the user.
All secondary storage devices which are capable of storing high volume data is referred to secondary memory. It's slower than primary memory. However, it can save a substantial amount of data, in the range of gigabytes to terabytes. This memory is also called backup storage or mass storage media.
The magnetic disk provides cheap storage and is used for both small and large computer systems.
Two types of magnetic disks are:
Solid State Drive provides a persistent flash memory. It's very fast compared to Hard Drives. Frequently found in Mobile phones, its rapidly being adopted in PC/Laptop/Mac.
This secondary storage device is from which data is read and written with the help of lasers. Optical disks can hold data up to 185TB.
Examples
It is one of the most popular types of secondary storage device available in the market. USB drives are removable, rewritable and are physically very small. The capacity of USB drives is also increasing significantly as today 1TB pen drive is also available in the market.
It is a serial access storage device which allows us to store a very high volume of data. Usually used for backups.
| Parameter | Primary memory | Secondary memory |
|---|---|---|
| Nature | The primary memory is categorized as volatile & nonvolatile memories. | The secondary memory is always a non-volatile memory. |
| Alias | These memories are also called internal memory. | Secondary memory is known as a Backup memory or Additional memory or Auxiliary memory. |
| Access | Data is directly accessed by the processing unit. | Data cannot be accessed directly by the processor. It is first copied from secondary memory to primary memory. Only then CPU can access it. |
| Formation | It's a volatile memory meaning data cannot be retained in case of power failure. | It's a non-volatile memory so that that data can be retained even after power failure. |
| Storage | It holds data or information that is currently being used by the processing unit. Capacity is usually in 16 to 32 GB | It stores a substantial amount of data and information. Capacity is generally from 200GB to terabytes. |
| Accesses | Primary memory can be accessed by the data bus. | Secondary memory is accessed by I/O channels. |
| Expense | Primary memory is costlier than secondary memory. | Secondary memory is cheaper than primary memory. |
Graphs are the third part of the process of data analysis. The first part is about data extraction , the...
What is R Software? R is a programming language and free software developed by Ross Ihaka and...
Video players are media player that can play video data from varieties of sources local disc, DVD, VCD,...
What is Apache Solr? Apache Solr is an open-source search server platform written in Java language...
As Linux is a multi-user operating system, there is a high need of an administrator, who can...
Here are SCCM interview questions for fresher as well as experienced candidates to get their dream...