Correct Questions: 0 | Wrong Questions: 0 | Total Score: 0 Points

What is the basic functionality of CLR(Common Language Runtime) ?

CLR handles the execution of code and provides useful services for the implementation of the program.
LCR describes the datatypes that can be used by managed code.
LCR defines the rules and standards to which languages must adhere to in order to be compatible with other .NET languages.
LCR contains metadata that is the key to cross language interoperability.


The Common Language Runtime (CLR) is the virtual machine component of Microsoft's .NET framework and is responsible for managing the execution of .NET programs. In a process known as just-in-time compilation, the compiled code is converted into machine instructions that, in turn, are executed by the computer's CPU. The CLR provides additional services including memory management, type safety and exception handling. All programs written for the .NET framework, regardless of programming language, are executed by the CLR. It provides exception handling, garbage collection and thread management. CLR is common to all versions of the .NET framework.
The CLR is Microsoft's implementation of the Virtual Execution System (VES) as defined in the Common Language Infrastructure (CLI) standard, initially developed by Microsoft itself. The Common Language Infrastructure specification is now defined by a public standard.

Check Answer

What is the basic functionality of CTS(Common Type System) ?

CTS handles the execution of code and provides useful services for the implementation of the program.
CTS describes the datatypes that can be used by managed code.
CTS defines the rules and standards to which languages must adhere to in order to be compatible with other .NET languages.
CTS contains metadata that is the key to cross language interoperability.


Common Type System (CTS) describes the datatypes that can be used by managed code. CTS defines how these types are declared, used and managed in the runtime. It facilitates cross-language integration, type safety, and high performance code execution. The rules defined in CTS can be used to define your own classes and values.

Check Answer

What is the basic functionality of CLS(Common Language Specification) ?

CLS handles the execution of code and provides useful services for the implementation of the program.
CLS describes the datatypes that can be used by managed code.
CLS defines the rules and standards to which languages must adhere to in order to be compatible with other .NET languages.
CLS contains metadata that is the key to cross language interoperability.


Common Language Specification (CLS) defines the rules and standards to which languages must adhere to in order to be compatible with other .NET languages. This enables C# developers to inherit from classes defined in VB.NET or other .NET compatible languages.

Check Answer

What is the basic functionality of MSIL(Microsoft Intermediate Language) ?

MSIL handles the execution of code and provides useful services for the implementation of the program.
MSIL describes the datatypes that can be used by managed code.
MSIL defines the rules and standards to which languages must adhere to in order to be compatible with other .NET languages.
MSIL contains metadata that is the key to cross language interoperability.


When the code is compiled, the compiler translates your code into Microsoft intermediate language (MSIL). The common language runtime includes a JIT compiler for converting this MSIL then to native code.
MSIL contains metadata that is the key to cross language interoperability. Since this metadata is standardized across all .NET languages, a program written in one language can understand the metadata and execute code, written in a different language. MSIL includes instructions for loading, storing, initializing, and calling methods on objects, as well as instructions for arithmetic and logical operations, control flow, direct memory access, exception handling, and other operations.

Check Answer

What is JIT in .Net Framework ?

JIT is a compiler that converts MSIL to native code.
JIT is the file format defining the structure that all executable files (EXE) and Dynamic Link Libraries (DLL)
JIT is a machine-wide code cache that stores assemblies specifically designated to be shared by several applications on the computer.
JIT provides the CLR with the information it needs to be aware of type implementations.


IT is a compiler that converts MSIL to native code. The native code consists of hardware specific instructions that can be executed by the CPU. Rather than converting the entire MSIL (in a portable executable[PE]file) to native code, the JIT converts the MSIL as it is needed during execution. This converted native code is stored so that it is accessible for subsequent calls.

Check Answer

What is portable executable (PE) ?

PE is a compiler that converts MSIL to native code.
PE is the file format defining the structure that all executable files (EXE) and Dynamic Link Libraries (DLL)
PE is a machine-wide code cache that stores assemblies specifically designated to be shared by several applications on the computer.
PE provides the CLR with the information it needs to be aware of type implementations.


The Portable Executable (PE) format is a file format for executables, object code, DLLs, FON Font files, and others used in 32-bit and 64-bit versions of Windows operating systems. The PE format is a data structure that encapsulates the information necessary for the Windows OS loader to manage the wrapped executable code. This includes dynamic library references for linking, API export and import tables, resource management data and thread-local storage (TLS) data. On NT operating systems, the PE format is used for EXE, DLL, SYS (device driver), and other file types. The Extensible Firmware Interface (EFI) specification states that PE is the standard executable format in EFI environments.

Check Answer

What is global assembly cache(GAC) ?

GAC is a compiler that converts MSIL to native code.
GAC is the file format defining the structure that all executable files (EXE) and Dynamic Link Libraries (DLL)
GAC is a machine-wide code cache that stores assemblies specifically designated to be shared by several applications on the computer.
GAC provides the CLR with the information it needs to be aware of type implementations.


The Global Assembly Cache (GAC) is a folder in Windows directory to store the .NET assemblies that are specifically designated to be shared by all applications executed on a system. The concept of GAC is the result of the .NET architecture whose design addresses the issue of "DLL hell" that existed in COM (Component Object Model). Unlike in COM, there is no need for the assembly in GAC to be registered before its use. Each assembly is accessed globally without any conflict by identifying its name, version, architecture, culture and public key.

Check Answer

What is an assembly ?

Assembly is a compiler that converts MSIL to native code.
Assembly is the file format defining the structure that all executable files (EXE) and Dynamic Link Libraries (DLL)
Assembly is a machine-wide code cache that stores assemblies specifically designated to be shared by several applications on the computer.
Assembly provides the CLR with the information it needs to be aware of type implementations.


An assembly is a collection of one or more .exe or dll’s. An assembly is the fundamental unit for application development and deployment in the .NET Framework. An assembly contains a collection of types and resources that are built to work together and form a logical unit of functionality. An assembly provides the CLR with the information it needs to be aware of type implementations.

Check Answer

What is the ResGen.exe tool used for ?

It is a tool that is used to convert resource files in the form of .txt or .resx files to common language runtime binary .resources files that can be compiled into satellite assemblies.
It is a tool that takes a PE file containing the MSIL code as a parameter and creates a text file that contains managed code.
It is a tool that generates PE files from MSIL code.
It is a tool that grants and modifies permissions to code groups at the user policy, machine policy, and enterprise policy levels.


Check Answer

What is the Ilasm.exe tool used for ?

It is a tool that is used to convert resource files in the form of .txt or .resx files to common language runtime binary .resources files that can be compiled into satellite assemblies.
It is a tool that takes a PE file containing the MSIL code as a parameter and creates a text file that contains managed code.
It is a tool that generates PE files from MSIL code.
It is a tool that grants and modifies permissions to code groups at the user policy, machine policy, and enterprise policy levels.


Ilasm.exe is a tool that generates PE files from MSIL code. You can run the resulting executable to determine whether the MSIL code performs as expected.

Check Answer
Play Again