.Net Flashcards

1
Q

What are the important components of .Net?

A

Common Language Runtime, .Net Class library, Common Type System

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is JIT or Just In Time?

A

The JIT compiler converts Intermediate Language to Native code. JIT stands for Just-in-Time which means that code gets compiled when it is needed, not before runtime.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is meant by Globalization and Localization?

A

Globalization is developing applications to support different languages.
Localization means changing an already globalized app to cater to a specific culture or language.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a Garbage Collector?

A

Garbage collection is the process of freeing up unused code objects in the memory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is Caching?

A

Caching is the storing of data temporarily in the memory so that the application can access the data from the cache instead of looking for its original location. This increases application performance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the GAC?

A

The GAC or Global Assembly Cache is a folder in Windows directory to store the .NET assemblies that are specifically designated to be shared by all applications.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is an Assembly?

A

An assembly is a collection of logical units resources which are required to build and deploy an application using the .Net framework. They are portable and executable. They are a collection of Exe and Dlls.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the 4 parts of an Assembly?

A
  1. Manifest – The assembly metadata which contains information about the version of an assembly.
  2. Type Metadata – Binary information of the program.
  3. MSIL – Microsoft Intermediate Language code.
  4. Resources – List of related files.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is Managed Code?

A

Code that runs inside the .Net Framework Common Language Run-time instead of the operating system directly, is called managed code. The CLR handles garbage collection, type checking and exceptions handling.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is Intermediate language?

A

Intermediate language is an object-oriented assembly language that the .Net compiler generates from source code. Upon execution, the JIT compiler takes the IL (.exe and .dll) files and converts them to bytecode to run on the CLR.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is AppDomain?

A

Application Domain is a logically isolated container in which .NET code runs.
DLLs can be loaded and unloaded in an app domain without it affecting code running in another app domain.
Also, untrusted third party DLLs can be run in their own app domain with less privileges applied to that app domain container.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly