The quiz test your knowledge of. Net Memory Management concepts.
1
2
3
4
Rate this question:
Static fields
Method Parameter
Native win32 Handles
Local Variables
Rate this question:
1
2
3
4
Rate this question:
It uses a fix quota of memory for different generation
The algorithm used by GC is configurable by administrator
It is a self optimizing Garbage Collector
Calling GC.Collect will immediate start garbage Collection
Rate this question:
Generation 0 is full
AppDomain unloading or CLR shutdown
Explicit calls to Garbage Collector collect method
Generation 1 is full
Rate this question:
Used for deterministically cleaning up the object
Depends on the object finalize method
Depends on the object implementing IDisposable interface
Can be used with value type as well
Rate this question:
SuppressFinalize
ReRegisterForFinalize
RegisterFinalize
Collect
Rate this question:
This eliminates the leakage of managed memory.
It takes away memory management task from developer.
It prevents leaking native Windows resources using finalize and dispose pattern
It takes away all kind of Windows resource management from developer
Rate this question:
Quiz Review Timeline (Updated): Mar 21, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.