header1.html

Thursday, 4 April 2013

.NET Framework Quiz-1


After successful implementation of My First Quiz on Computer Awareness,we are now moving to some technical stuff let's start from .NET Framework.Click hereto Check Quiz.
.NET Framework Quiz-1
1.Which of the following define the rules for .Net Languages?
GAC
CLS
CTS
CLR


2.___________ namespace is not defined in the .NET class library.
System.CodeDom
System
System.IO
System.Text


3. Dot Net Framework consists of :
Common language runtime
Set of class libraries
Common language runtime and set of class libraries
None of above


4.Which of the following statements are correct about JIT?
JIT compiler compiles instructions into machine code at run time.
The code compiler by the JIT compiler runs under CLR.
The instructions compiled by JIT compilers are written in native code.
The instructions compiled by JIT compilers are written in Intermediate Language (IL) code.
1,2,3
2,4
3,4
1,2


5.Which of the following is the root of the .NET type hierarchy?
System.Type
System.Base
System.Parent
System.Object


6.Code that targets the Common Language Runtime is known as
Unmanaged
Distributed
Managed Code
Native Code


7.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.


8.How many types of compilers availbale under CLR?
4
2
1
3


9.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.


10.Which of the following utilities can be used to compile managed assemblies into processor-specific native code?
gacutil
ngen
sn
ildasm