answersLogoWhite

0


Best Answer

The computer uses microchips for primary and secondary memory. Virtual memory uses a portion of the computers hard drive. The former have faster access times than the latter.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How does virtual memory differ from main memory and secondary memory?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the use of virtual memory?

Virtual memory is used to increase the size of working memory in the system main memory by using the locations in secondary storage such as harddisk.


Is newly created process is in main memory or in secondary memory?

A newly created process is in main memory.


Where does the term virtual reality come from?

There were the main frame computers with the "virtual memory". For example Univac 90/60.


Secondary storage and main memory are both types of memory in a computer. What are some differences between them And why does a computer need both of them to work Give an example of each?

Secondary storage and main memory are both types of memory used in a computer, but they differ in terms of their speed, capacity, cost, and volatility. Main memory, also known as primary memory or RAM (Random Access Memory), is a fast, volatile, and temporary form of memory that the CPU (Central Processing Unit) uses to store data and instructions that it is currently processing. Main memory is directly accessible by the CPU and has faster read/write speeds compared to secondary storage. However, main memory is volatile, which means that it loses its contents when the power is turned off or in case of a system failure. An example of main memory is DDR4 RAM. Secondary storage, also known as external memory or non-volatile memory, is a slower, larger, and more permanent form of memory that the computer uses to store data and programs that are not currently in use. Secondary storage is not directly accessible by the CPU and has slower read/write speeds compared to main memory. However, secondary storage is non-volatile, which means that it retains its contents even when the power is turned off. An example of secondary storage is a hard disk drive (HDD) or solid-state drive (SSD). A computer needs both main memory and secondary storage to work efficiently. Main memory provides fast access to data and instructions that the CPU is currently processing, while secondary storage provides a larger and more permanent storage space for data and programs that are not currently in use. Without main memory, the CPU would have to constantly read and write from secondary storage, which would significantly slow down the system's performance. Without secondary storage, the computer would not be able to store large amounts of data and programs permanently. An example of main memory usage is when a user opens a word processing program, and the program's instructions and data are loaded into main memory for processing. An example of secondary storage usage is when a user saves a document to their hard disk drive, where it is stored permanently until the user deletes it. Regenerate response


What is dirty page in virtual memory management?

it's the page that has been modified in main memory(physical memory), but not yet rewritten in the disk.


What is main memory in computer architecture?

main memory is RAM.The words Memory,Buffer,Cache are all refers Ram. Which is Nearly 11,000 times faster than secondary memory (Hard Disk) in Random Access.


Distinguish between primary and secondary memory?

Computer memory is categorized into primary and secondary memory. While primary memory is the main memory of the computer which is used to store data or information temporarily, whereas secondary memory refers to external storage devices that are used to store data or information permanently.


Is the secondary storage faster than main memory?

No. The secondary storage is typically slowerthan primary storage. But the secondary storage has higher capacity than primary storage.


What is the role of operating system in memory management?

Role of the Memory management unit in Operating system Every program for its execution requires some space in computer memory which is provided by memory management unit using virtual memory that provides the external storage addressing location for the programs that does not have too much space in main memory for their execution and saved them in secondary memory but when required loaded them again in main memory. This deallocation and reallocation of programs in main memory deals with concurrency. At last, we say that loading capabilities of programs with the memory addressing is there in it.


Why is physical memory better than virtual memory?

Physical memory (in a computer) is 'better' than virtual memory because it is much faster (and speed is usually the main concern in this subject area). Physical memory (or RAM) is where the programs and variables are stored whilst they are working. Virtual memory is only used when the computer runs out of physical memory. Virtual memory is just one or more files saved on a hard disk. Access to the hard disk is much slower than access to the physical memory.


What are the differences between simple paging and virtual memory paging?

In case of simple paging all pages should be in main memory to run a process..while in case of virtual memory paging pages can be loaded as needed by the processor i.e. called demand paging...


What program in an OS coordinates the memories by tracking which one is available which is to be allocated or deallocated and how to swap between the main memory and secondary memories?

The memory manager is the program responsible for managing memory allocation and deallocation in an operating system. It keeps track of which memory is available and allocates it to processes based on their needs. It also handles swapping data between main memory and secondary storage when the system runs low on physical memory.