logo

CuriousTab

CuriousTab

Discussion


Home C# Programming .NET Framework Comments

  • Question
  • Which of the following statements are TRUE about the .NET CLR?

    1. It provides a language-neutral development & execution environment.
    2. It ensures that an application would not be able to access memory that it is not authorized to access.
    3. It provides services to run "managed" applications.
    4. The resources are garbage collected.
    5. It provides services to run "unmanaged" applications.


  • Options
  • A. Only 1 and 2
  • B. Only 1, 2 and 4
  • C. 1, 2, 3, 4
  • D. Only 4 and 5
  • E. Only 3 and 4

  • Correct Answer
  • 1, 2, 3, 4 


  • .NET Framework problems


    Search Results


    • 1. Which of the following are valid .NET CLR JIT performance counters?

      1. Total memory used for JIT compilation
      2. Average memory used for JIT compilation
      3. Number of methods that failed to compile with the standard JIT
      4. Percentage of processor time spent performing JIT compilation
      5. Percentage of memory currently dedicated for JIT compilation

    • Options
    • A. 1, 5
    • B. 3, 4
    • C. 1, 2
    • D. 4, 5
    • Discuss
    • 2. Which of the following constitutes the .NET Framework?

      1. ASP.NET Applications
      2. CLR
      3. Framework Class Library
      4. WinForm Applications
      5. Windows Services

    • Options
    • A. 1, 2
    • B. 2, 3
    • C. 3, 4
    • D. 2, 5
    • Discuss
    • 3. Which of the following security features can .NET applications avail?

      1. PIN Security
      2. Code Access Security
      3. Role Based Security
      4. Authentication Security
      5. Biorhythm Security

    • Options
    • A. 1, 4, 5
    • B. 2, 5
    • C. 2, 3
    • D. 3, 4
    • Discuss
    • 4. Which of the following jobs are NOT performed by Garbage Collector?

      1. Freeing memory on the stack.
      2. Avoiding memory leaks.
      3. Freeing memory occupied by unreferenced objects.
      4. Closing unclosed database collections.
      5. Closing unclosed files.

    • Options
    • A. 1, 2, 3
    • B. 3, 5
    • C. 1, 4, 5
    • D. 3, 4
    • Discuss
    • 5. Which of the following is the root of the .NET type hierarchy?

    • Options
    • A. System.Object
    • B. System.Type
    • C. System.Base
    • D. System.Parent
    • E. System.Root
    • Discuss
    • 6. Which of the following components of the .NET framework provide an extensible set of classes that can be used by any .NET compliant programming language?

    • Options
    • A. .NET class libraries
    • B. Common Language Runtime
    • C. Common Language Infrastructure
    • D. Component Object Model
    • E. Common Type System
    • Discuss
    • 7. Which of the following utilities can be used to compile managed assemblies into processor-specific native code?

    • Options
    • A. gacutil
    • B. ngen
    • C. sn
    • D. dumpbin
    • E. ildasm
    • Discuss
    • 8. Code that targets the Common Language Runtime is known as

    • Options
    • A. Unmanaged
    • B. Distributed
    • C. Legacy
    • D. Managed Code
    • E. Native Code
    • Discuss
    • 9. Which of the following statements are correct about a .NET Assembly?

      1. It is the smallest deployable unit.
      2. Each assembly has only one entry point - Main(), WinMain() or DLLMain().
      3. An assembly can be a Shared assembly or a Private assembly.
      4. An assembly can contain only code and data.
      5. An assembly is always in the form of an EXE file.

    • Options
    • A. 1, 2, 3
    • B. 2, 4, 5
    • C. 1, 3, 5
    • D. 1, 2
    • Discuss
    • 10. Which of the following can be used to terminate a while loop and transfer control outside the loop?

      1. exit while
      2. continue
      3. exit statement
      4. break
      5. goto

    • Options
    • A. 1, 3
    • B. 2, 4
    • C. 3, 5
    • D. 4, 5
    • E. None of these
    • Discuss


    Comments

    There are no comments.

Enter a new Comment