logo

CuriousTab

CuriousTab

Discussion


Home C# Programming .NET Framework Comments

  • Question
  • Which of the following statements is correct about Managed Code?


  • Options
  • A. Managed code is the code that is compiled by the JIT compilers.
  • B. Managed code is the code where resources are Garbage Collected.
  • C. Managed code is the code that runs on top of Windows.
  • D. Managed code is the code that is written to target the services of the CLR.
  • E. Managed code is the code that can run on top of Linux.

  • Correct Answer
  • Managed code is the code that is written to target the services of the CLR. 


  • .NET Framework problems


    Search Results


    • 1. Which of the following statements correctly define .NET Framework?

    • Options
    • A. It is an environment for developing, building, deploying and executing Desktop Applications, Web Applications and Web Services.
    • B. It is an environment for developing, building, deploying and executing only Web Applications.
    • C. It is an environment for developing, building, deploying and executing Distributed Applications.
    • D. It is an environment for developing, building, deploying and executing Web Services.
    • E. It is an environment for development and execution of Windows applications.
    • Discuss
    • 2. Which of the following assemblies can be stored in Global Assembly Cache?

    • Options
    • A. Private Assemblies
    • B. Friend Assemblies
    • C. Shared Assemblies
    • D. Public Assemblies
    • E. Protected Assemblies
    • Discuss
    • 3. Which of the following are parts of the .NET Framework?

      1. The Common Language Runtime (CLR)
      2. The Framework Class Libraries (FCL)
      3. Microsoft Published Web Services
      4. Applications deployed on IIS
      5. Mobile Applications

    • Options
    • A. Only 1, 2, 3
    • B. Only 1, 2
    • C. Only 1, 2, 4
    • D. Only 4, 5
    • E. All of the above
    • Discuss
    • 4. Which of the following .NET components can be used to remove unused references from the managed heap?

    • Options
    • A. Common Language Infrastructure
    • B. CLR
    • C. Garbage Collector
    • D. Class Loader
    • E. CTS
    • Discuss
    • 5. Which of the following statements are correct about JIT?

      1. JIT compiler compiles instructions into machine code at run time.
      2. The code compiler by the JIT compiler runs under CLR.
      3. The instructions compiled by JIT compilers are written in native code.
      4. The instructions compiled by JIT compilers are written in Intermediate Language (IL) code.
      5. The method is JIT compiled even if it is not called

    • Options
    • A. 1, 2, 3
    • B. 2, 4
    • C. 3, 4, 5
    • D. 1, 2
    • Discuss
    • 6. Which of the following jobs are done by Common Language Runtime?

      1. It provides core services such as memory management, thread management, and remoting.
      2. It enforces strict type safety.
      3. It provides Code Access Security.
      4. It provides Garbage Collection Services.

    • Options
    • A. Only 1 and 2
    • B. Only 3, 4
    • C. Only 1, 3 and 4
    • D. Only 2, 3 and 4
    • E. All of the above
    • Discuss
    • 7. Which of the following benefits do we get on running managed code under CLR?

      1. Type safety of the code running under CLR is assured.
      2. It is ensured that an application would not access the memory that it is not authorized to access.
      3. It launches separate process for every application running under it.
      4. The resources are Garbage collected.

    • Options
    • A. Only 1 and 2
    • B. Only 2, 3 and 4
    • C. Only 1, 2 and 4
    • D. Only 4
    • E. All of the above
    • Discuss


    Comments

    There are no comments.

Enter a new Comment