Programming in C#
Which of the following statements is correct about Managed Code?
Managed code is the code that is written to target the services of the CLR.
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.
Which of the following utilities can be used to compile managed assemblies into processor-specific native code?
ngen
gacutil
sn
ildasm
Which of the following .NET components can be used to remove unused references from the managed heap?
Garbage Collector
CLR
Common Language Infrastructure
CTS
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.
Which of the following constitutes the .NET Framework?
1. ASP.NET Applications
2. CLR
3. Framework Class Library
4. WinForm Applications
5. Windows Services
2, 3
1, 2
3, 4
2, 5
Which of the following assemblies can be stored in Global Assembly Cache?
Shared Assemblies
Private Assemblies
Friend Assemblies
Protected Assemblies
Code that targets the Common Language Runtime is known as
Managed Code
Unmanaged
Distributed
Legacy
Which of the following statements is correct about the .NET Framework?
.NET Framework uses DCOM for making transition between managed and unmanaged code.
.NET Framework uses DCOM for achieving language interoperability.
.NET Framework is built on the DCOM technology.
.NET Framework uses COM+ services while creating Distributed Applications.
Which of the following is the root of the .NET type hierarchy?
System.Object
System.Type
System.Base
System.Parent
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
2, 3
1, 4, 5
2, 5
3, 4