Are You A .Net Memory Management Guru?

6 Questions | Attempts: 959
Share

SettingsSettingsSettings
Memory Management Quizzes & Trivia

Are you a. NET Memory Management Guru? Take Andrew's fiendish Quiz and stand a chance to win a copy of the new Red Gate's ANTS Memory Profiler 5 by entering the prize draw at the end of the quiz.


Questions and Answers
  • 1. 

    .NET developers should explicitly call GC.Collect to improve their application's performance.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
  • 2. 

    A garbage collection removes all objects that are no longer referenced by the program.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
  • 3. 

    Which of these items is not a GC root?

    • A.

      A static variable

    • B.

      A local variable

    • C.

      A class field

    • D.

      A method parameter

    Correct Answer
    C. A class field
  • 4. 

    The memory used by an object is released when Dispose() is called.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
  • 5. 

    Allocating memory on the managed heap in .NET applications is extremely fast.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 6. 

    Objects larger than 85KB are never moved by the garbage collector.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 21, 2022
    Quiz Edited by
    ProProfs Editorial Team
  • Jun 23, 2009
    Quiz Created by
    Antsprofiler
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.