Q.1

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?

  • .NET class libraries
  • Common Language Runtime
  • Common Language Infrastructure
  • Component Object Model
  • Common Type System
Q.2

Which of the following assemblies can be stored in Global Assembly Cache?

  • Private Assemblies
  • Friend Assemblies
  • Shared Assemblies
  • Public Assemblies
  • Protected Assemblies
Q.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
  • 1, 4, 5
  • 2, 5
  • 2, 3
  • 3, 4
Q.4

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.
  • Only 1 and 2
  • Only 1, 2 and 4
  • 1, 2, 3, 4
  • Only 4 and 5
  • Only 3 and 4
Q.5

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.
  • 1, 2, 3
  • 3, 5
  • 1, 4, 5
  • 3, 4
Q.6

Code that targets the Common Language Runtime is known as

  • Unmanaged
  • Distributed
  • Legacy
  • Managed Code
  • Native Code
Q.7

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.
  • Only 1 and 2
  • Only 3, 4
  • Only 1, 3 and 4
  • Only 2, 3 and 4
  • All of the above
Q.8

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.
  • 1, 2, 3
  • 2, 4, 5
  • 1, 3, 5
  • 1, 2
Q.9

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
  • 1, 5
  • 3, 4
  • 1, 2
  • 4, 5
Q.10

Which of the following statements is correct about Managed Code?

  • Managed code is the code that is compiled by the JIT compilers.
  • Managed code is the code where resources are Garbage Collected.
  • Managed code is the code that runs on top of Windows.
  • Managed code is the code that is written to target the services of the CLR.
  • Managed code is the code that can run on top of Linux.
Q.11

Which of the following .NET components can be used to remove unused references from the managed heap?

  • Common Language Infrastructure
  • CLR
  • Garbage Collector
  • Class Loader
  • CTS
Q.12

Which of the following statements correctly define .NET Framework?

  • It is an environment for developing, building, deploying and executing Desktop Applications, Web Applications and Web Services.
  • It is an environment for developing, building, deploying and executing only Web Applications.
  • It is an environment for developing, building, deploying and executing Distributed Applications.
  • It is an environment for developing, building, deploying and executing Web Services.
  • It is an environment for development and execution of Windows applications.
Q.13

Which of the following statements is correct about the .NET Framework?

  • .NET Framework uses DCOM for achieving language interoperability.
  • .NET Framework is built on the DCOM technology.
  • .NET Framework uses DCOM for making transition between managed and unmanaged code.
  • .NET Framework uses DCOM for creating unmanaged applications.
  • .NET Framework uses COM+ services while creating Distributed Applications.
Q.14

Which of the following is the root of the .NET type hierarchy?

  • System.Object
  • System.Type
  • System.Base
  • System.Parent
  • System.Root
Q.15

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
  • 1, 2, 3
  • 2, 4
  • 3, 4, 5
  • 1, 2
Q.16

Which of the following utilities can be used to compile managed assemblies into processor-specific native code?

  • gacutil
  • ngen
  • sn
  • dumpbin
  • ildasm
Q.17

Which of the following constitutes the .NET Framework?

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

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.
  • Only 1 and 2
  • Only 2, 3 and 4
  • Only 1, 2 and 4
  • Only 4
  • All of the above
Q.19

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
  • Only 1, 2, 3
  • Only 1, 2
  • Only 1, 2, 4
  • Only 4, 5
  • All of the above
Q.20

Which of the following are NOT true about .NET Framework?

  1. It provides a consistent object-oriented programming environment whether object code is stored and executed locally, executed locally but Internet-distributed, or executed remotely.
  2. It provides a code-execution environment that minimizes software deployment and versioning conflicts.
  3. It provides a code-execution environment that promotes safe execution of code, including code created by an unknown or semi-trusted third party.
  4. It provides different programming models for Windows-based applications and Web-based applications.
  5. It provides an event driven programming model for building Windows Device Drivers.
  • 1, 2
  • 2, 4
  • 4, 5
  • 1, 2, 4
0 h : 0 m : 1 s