dot net interview questions and answers for freshers
1.Difference between .Net Framework and VisualStudio.Net? .NET FRAMEWORK
- It is a run- time environment, which we can use to run applications.
- It is required for .net developers and .net application end users
- It is a freeware which we can download from Microsoft Website.
VISUAL STUDIO .NET
- It is a development environment, which we can use to develop applications.
- It is required for only .net developers.
- It is not freeware which we have to purchase from Microsoft.
2 . What is JIT Compiler? JIT (JUST-IN-TIME) Compiler will convert MSIL (Microsoft Intermediate Language) code to Native code because operating system can understand only Native code or machine code.
3 .What is CLS? . CLS (Common Language Specifications) is a set of common language standard defined by the Microsoft for all .NET Languages. .Every .NET Language has to follow CLS Standards. . Whenever a Programming Language wants to recognize as .NET Language then it has to follow CLS
. 4. What is CTS? –CTS (Common Type System) is a subset of CLS. It is a set of common based data types defined by Microsoft for all .NET Languages. –2. Every .NET Language has to map their data types with CTS types.
5. Explain .net application Execution process?
Diagram for .net application execution process : A) .Net application Execution process can be divided into
2 steps: Step1. Converting HIGH level language code into MSIL (Microsoft Intermediate Language) with the help of language compilers because .Net execution engine (CLR) can understand only MSIL code. Step2. JIT (JUST-IN-TIME) compiler will convert MSIL code to NATIVE code because operating system can understand only NATIVE code or MACHINE code.
6. What is MSIL Code? .
Microsoft Intermediate Language (MSIL), is one of the Core component of the .NET Framework. Any .NET source codes written in any .net supportive language (C#, VB.net etc), when compiled are converted to MSIL. This MSIL, when installed or at Runtime, gets converted to the machine code. The Runtime conversion of MSIL code to the machine code is handled by a component called as the Just In Time (JIT) Compiler.
7.What is Managed Code and Unmanaged Code?
Managed Code A) Managed code: The code which is taking the help of CLR for execution is called as managed code. Example for Managed Code:- All .net languages code is managed code. VB.Net code, C#.Net code…etc
B) Unmanaged code: - The code which is not taking the help of CLR for execution is called as Unmanaged code.. Example for Unmanaged Code:-VB Code, VC++ Code…
Note: - .net application can contain non .net code.
8. What is CLR?
CLR stands for Common Language Runtime, it is .net execution. CLR is a common execution engine for all .NET Languages that means every .NET language application has to execute with the help of CLR.
Dot net training in hyderabad:-
Guru provides dot net training in Hyderabad. we are providing lab facilities with complete real time training and training based on advanced concepts. for latest Dot net interview questions and answers :-