21 Memory & GC questions from the .NET bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.
Free to start: the 2-minute IT readiness check — six questions and a result.
A.a throughput-oriented mode that uses a dedicated heap and collector thread per logical processor, suited to high-load multi-core workloads
B.the region of memory from which object instances are allocated and which the automatic collector reclaims when objects become unreachable
C.the interface whose single method gives callers a deterministic hook to release unmanaged resources without waiting for the collector
D.the automatic reclamation of memory occupied by objects that the application can no longer reach, removing the need for manual freeing
Answer + AI explanation with Pro
2. Which term means: "the region of memory from which object instances are allocated and which the automatic collector reclaims when objects become unreachable"?
Junior
A.Finalization
B.IDisposable
C.Managed heap
D.Generational collection
Answer + AI explanation with Pro
3. Which statement is correct?
Junior
A.Managed heap — a non-deterministic cleanup step the collector runs on objects that declare it, used as a safety net to free unmanaged handles before reclamation
B.Managed heap — the region of memory from which object instances are allocated and which the automatic collector reclaims when objects become unreachable
C.Managed heap — the automatic reclamation of memory occupied by objects that the application can no longer reach, removing the need for manual freeing
D.Managed heap — a throughput-oriented mode that uses a dedicated heap and collector thread per logical processor, suited to high-load multi-core workloads
Answer + AI explanation with Pro
4. What is Garbage collection?
Junior
A.a separate area for allocations above roughly 85,000 bytes, collected only during full passes and not compacted by default to avoid costly moves
B.the automatic reclamation of memory occupied by objects that the application can no longer reach, removing the need for manual freeing
C.a throughput-oriented mode that uses a dedicated heap and collector thread per logical processor, suited to high-load multi-core workloads
D.the strategy of segregating objects into age groups so short-lived allocations are reclaimed cheaply and frequently while old objects are scanned rarely
Answer + AI explanation with Pro
5. Which term means: "the automatic reclamation of memory occupied by objects that the application can no longer reach, removing the need for manual freeing"?
Junior
A.Server garbage collection
B.Garbage collection
C.IDisposable
D.Finalization
Answer + AI explanation with Pro
6. Which statement is correct?
Junior
A.Garbage collection — the region of memory from which object instances are allocated and which the automatic collector reclaims when objects become unreachable
B.Garbage collection — the automatic reclamation of memory occupied by objects that the application can no longer reach, removing the need for manual freeing
C.Garbage collection — a non-deterministic cleanup step the collector runs on objects that declare it, used as a safety net to free unmanaged handles before reclamation
D.Garbage collection — the strategy of segregating objects into age groups so short-lived allocations are reclaimed cheaply and frequently while old objects are scanned rarely
Answer + AI explanation with Pro
7. What is Generational collection?
Mid
A.a non-deterministic cleanup step the collector runs on objects that declare it, used as a safety net to free unmanaged handles before reclamation
B.the interface whose single method gives callers a deterministic hook to release unmanaged resources without waiting for the collector
C.a throughput-oriented mode that uses a dedicated heap and collector thread per logical processor, suited to high-load multi-core workloads
D.the strategy of segregating objects into age groups so short-lived allocations are reclaimed cheaply and frequently while old objects are scanned rarely
Answer + AI explanation with Pro
8. Which term means: "the strategy of segregating objects into age groups so short-lived allocations are reclaimed cheaply and frequently while old objects are scanned rarely"?
Mid
A.Finalization
B.IDisposable
C.Generational collection
D.Managed heap
Answer + AI explanation with Pro
9. Which statement is correct?
Mid
A.Generational collection — a throughput-oriented mode that uses a dedicated heap and collector thread per logical processor, suited to high-load multi-core workloads
B.Generational collection — the strategy of segregating objects into age groups so short-lived allocations are reclaimed cheaply and frequently while old objects are scanned rarely
C.Generational collection — a separate area for allocations above roughly 85,000 bytes, collected only during full passes and not compacted by default to avoid costly moves
D.Generational collection — a non-deterministic cleanup step the collector runs on objects that declare it, used as a safety net to free unmanaged handles before reclamation
Answer + AI explanation with Pro
10. What is Large Object Heap?
Mid
A.the interface whose single method gives callers a deterministic hook to release unmanaged resources without waiting for the collector
B.a separate area for allocations above roughly 85,000 bytes, collected only during full passes and not compacted by default to avoid costly moves
C.a non-deterministic cleanup step the collector runs on objects that declare it, used as a safety net to free unmanaged handles before reclamation
D.the automatic reclamation of memory occupied by objects that the application can no longer reach, removing the need for manual freeing
Answer + AI explanation with Pro
11. Which term means: "a separate area for allocations above roughly 85,000 bytes, collected only during full passes and not compacted by default to avoid costly moves"?
Mid
A.Finalization
B.Server garbage collection
C.Managed heap
D.Large Object Heap
Answer + AI explanation with Pro
12. Which statement is correct?
Mid
A.Large Object Heap — the automatic reclamation of memory occupied by objects that the application can no longer reach, removing the need for manual freeing
B.Large Object Heap — the strategy of segregating objects into age groups so short-lived allocations are reclaimed cheaply and frequently while old objects are scanned rarely
C.Large Object Heap — a separate area for allocations above roughly 85,000 bytes, collected only during full passes and not compacted by default to avoid costly moves
D.Large Object Heap — a throughput-oriented mode that uses a dedicated heap and collector thread per logical processor, suited to high-load multi-core workloads
Answer + AI explanation with Pro
13. What is IDisposable?
Mid
A.the region of memory from which object instances are allocated and which the automatic collector reclaims when objects become unreachable
B.the automatic reclamation of memory occupied by objects that the application can no longer reach, removing the need for manual freeing
C.the interface whose single method gives callers a deterministic hook to release unmanaged resources without waiting for the collector
D.the strategy of segregating objects into age groups so short-lived allocations are reclaimed cheaply and frequently while old objects are scanned rarely
Answer + AI explanation with Pro
14. Which term means: "the interface whose single method gives callers a deterministic hook to release unmanaged resources without waiting for the collector"?
Mid
A.Generational collection
B.Garbage collection
C.Large Object Heap
D.IDisposable
Answer + AI explanation with Pro
15. Which statement is correct?
Mid
A.IDisposable — the interface whose single method gives callers a deterministic hook to release unmanaged resources without waiting for the collector
B.IDisposable — a throughput-oriented mode that uses a dedicated heap and collector thread per logical processor, suited to high-load multi-core workloads
C.IDisposable — the strategy of segregating objects into age groups so short-lived allocations are reclaimed cheaply and frequently while old objects are scanned rarely
D.IDisposable — the region of memory from which object instances are allocated and which the automatic collector reclaims when objects become unreachable
Answer + AI explanation with Pro
16. What is Finalization?
Senior
A.the strategy of segregating objects into age groups so short-lived allocations are reclaimed cheaply and frequently while old objects are scanned rarely
B.the automatic reclamation of memory occupied by objects that the application can no longer reach, removing the need for manual freeing
C.a throughput-oriented mode that uses a dedicated heap and collector thread per logical processor, suited to high-load multi-core workloads
D.a non-deterministic cleanup step the collector runs on objects that declare it, used as a safety net to free unmanaged handles before reclamation
Answer + AI explanation with Pro
17. Which term means: "a non-deterministic cleanup step the collector runs on objects that declare it, used as a safety net to free unmanaged handles before reclamation"?
Senior
A.Managed heap
B.Finalization
C.Garbage collection
D.Generational collection
Answer + AI explanation with Pro
18. Which statement is correct?
Senior
A.Finalization — the interface whose single method gives callers a deterministic hook to release unmanaged resources without waiting for the collector
B.Finalization — a non-deterministic cleanup step the collector runs on objects that declare it, used as a safety net to free unmanaged handles before reclamation
C.Finalization — a throughput-oriented mode that uses a dedicated heap and collector thread per logical processor, suited to high-load multi-core workloads
D.Finalization — the strategy of segregating objects into age groups so short-lived allocations are reclaimed cheaply and frequently while old objects are scanned rarely
Answer + AI explanation with Pro
19. What is Server garbage collection?
Senior
A.a separate area for allocations above roughly 85,000 bytes, collected only during full passes and not compacted by default to avoid costly moves
B.the interface whose single method gives callers a deterministic hook to release unmanaged resources without waiting for the collector
C.the strategy of segregating objects into age groups so short-lived allocations are reclaimed cheaply and frequently while old objects are scanned rarely
D.a throughput-oriented mode that uses a dedicated heap and collector thread per logical processor, suited to high-load multi-core workloads
Answer + AI explanation with Pro
20. Which term means: "a throughput-oriented mode that uses a dedicated heap and collector thread per logical processor, suited to high-load multi-core workloads"?
Senior
A.Large Object Heap
B.Managed heap
C.Finalization
D.Server garbage collection
Answer + AI explanation with Pro
21. Which statement is correct?
Senior
A.Server garbage collection — the automatic reclamation of memory occupied by objects that the application can no longer reach, removing the need for manual freeing
B.Server garbage collection — a throughput-oriented mode that uses a dedicated heap and collector thread per logical processor, suited to high-load multi-core workloads
C.Server garbage collection — the region of memory from which object instances are allocated and which the automatic collector reclaims when objects become unreachable
D.Server garbage collection — a non-deterministic cleanup step the collector runs on objects that declare it, used as a safety net to free unmanaged handles before reclamation
Answer + AI explanation with Pro
Free to start
Start with a free readiness check
Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every Memory & GC question come with Pro.