answersLogoWhite

0

What is static and dynamic memory?

Updated: 11/2/2022
User Avatar

Wiki User

9y ago

Best Answer

A computer is built to contain two kinds of memory. There is static memory, which stays in the computer after it is powered off. Then there is dynamic memory, which is memory that is only accessible while the computer is on. The hard drive is an example of static memory, while RAM is an example of dynamic memory.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

13y ago

Dynamic Memory is like Heap from where you can request memory at runtime. Static is predefined memory plan for your source code like Stack space, code space etc.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is static and dynamic memory?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Why main memory use dynamic memory rather than static memory?

Dynamic memory changes and static stays the same.


What is the difference between static memory versus dynamic memory?

Dynamic memory can be declared at run-time using the new and delete operators (or malloc and free in C), while static memory must be declared at compile-time.


Difference between dynamic and static memory?

dynamic is the study of motin,while static is at rest it means that the memory which is used at motin time as by usic calloc,mallaoc,free function ,on the other hand static is the memory which only used at compile time or at the time of work in during progrmming,static memory has drawback ,the drawback is that in this memory ware unable to use the excess memory as we allocate already to cover or improvre this type of problem we use dynamic memory allocation.


What are types of memory allocation?

There are two types of memory allocations. 1. Static memory allocation 2. Dynamic memory allocation


Compare and contrast dynamic memory allocation and the allocation of files in secondary storage?

Static Memory Allocation: Allocating the total memory requirements that a data structure might need all at once without regard for the actual amount needed at execution time. Dynamic Memory Allocation: The opposite strategy of static memory allocation - Dynamic Memory Allocation, involves allocating memory as-needed.


Difference between static memory devices and dynamic memory devices?

static memory devices are those which stores data permanently as long as power is applied. and dynamic memory devices are those in which data is not permanently stored even with power applied,unless data is periodically rewritten into memory.


Differentiate between static ram and dynamic ram in tabular form any two differences?

· Static RAM: No refreshing, 6 to 8 MOS transistors · Dynamic RAM: Refreshed periodically, 3 to 4 transistors. · Static ram is more reliable · Dynamic ram is less reliable · Static ram is more expensive · Dynamic ram is less expensive · Static ram can store its data when computer is turned off · Dynamic ram looses data when computer is turned off. · A static memory cell takes a lot more space on a Chip than a dynamic memory cellby syed9230088668199


What are the salient features of dynamic RAM?

The dynamic memory is formed of MOSFET and capacitor only. Hence it it is less bulkier than static RAM.


What is dynamic mamory?

Dynamic memory refers to memory that is allocated and deallocated during program execution, as opposed to static memory which is allocated at compile time. In C and C++, dynamic memory allocation is done using functions like malloc() and free(), allowing for flexibility in managing memory resources at runtime. However, improper use of dynamic memory can lead to memory leaks or segmentation faults.


What is difference in static and dynamic storage allocation?

Static storage allocation is when a program dedicates an amount of memory for its use at the start of the program. Dynamic storage allocation is when a program only takes storage as it needs it.


At what time the memory is allocated for variable in c and c?

Static memory allocation occurs at compile time where as dynamic memory allocation occurs at run time.


What are the two major categories or static ram memory?

What is the diferences between statis ram and dynamic RAM