CoolInterview.com - World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions
Our Services
Get 9,000 Interview Questions & Answers in an eBook.




Get it now !!
Send your Resume to 6000 Companies

Search Interview Questions

Question: What is CLR?

Answer: CLR is .NET equivalent of Java Virtual Machine (JVM). It is the runtime that converts a MSIL code into the host machine language code, which is then executed appropriately. The CLR is the execution engine for .NET Framework applications. It provides a number of services, including:
? Code management (loading and execution)
? Application memory isolation
? Verification of type safety
? Conversion of IL to native code.
? Access to metadata (enhanced type information)
? Managing memory for managed objects
? Enforcement of code access security
? Exception handling, including cross-language exceptions
? Interoperation between managed code, COM objects, and pre-existing DLL's (unmanaged code and data)
? Automation of object layout
? Support for developer services (profiling, debugging, and so on).



Category DotNet Interview Questions & Answers - Exam Mode / Learning Mode
Rating (1.0) By 667 users
Added on 5/31/2011
Views 9706
Rate it!
Question: What is CLR?
Answer:

CLR is .NET equivalent of Java Virtual Machine (JVM). It is the runtime that converts a MSIL code into the host machine language code, which is then executed appropriately. The CLR is the execution engine for .NET Framework applications. It provides a number of services, including:
? Code management (loading and execution)
? Application memory isolation
? Verification of type safety
? Conversion of IL to native code.
? Access to metadata (enhanced type information)
? Managing memory for managed objects
? Enforcement of code access security
? Exception handling, including cross-language exceptions
? Interoperation between managed code, COM objects, and pre-existing DLL's (unmanaged code and data)
? Automation of object layout
? Support for developer services (profiling, debugging, and so on). Source: CoolInterview.com


Full form of CLR is Common Language Runtime and it forms the heart of the .NET
framework.All Languages have runtime and its the responsibility of the runtime to take care of
the code execution of the program.For example VC++ has MSCRT40.DLL,VB6 has
MSVBVM60.DLL , Java has Java Virtual Machine etc. Similarly .NET has CLR.Following are the
responsibilities of CLR
√ Garbage Collection :- CLR automatically manages memory thus eliminating
memory leakes. When objects are not referred GC automatically releases those
memory thus providing efficient memory management.
√ Code Access Security :- CAS grants rights to program depending on the security
configuration of the machine.Example the program has rights to edit or create
a new file but the security configuration of machine does not allow the program
to delete a file.CAS will take care that the code runs under the environment of
machines security configuration.
√ Code Verification :- This ensures proper code execution and type safety while
the code runs.It prevents the source code to perform illegal operation such as
accessing invalid memory locations etc.
√ IL( Intermediate language )-to-native translators and optimizer?s :- CLR uses
JIT and compiles the IL code to machine code and then executes. CLR also
determines depending on platform what is optimized way of running the IL
code. Source: CoolInterview.com

Answered by: Madhura | Date: 3/10/2009 | Contact Madhura Contact Madhura

CLR is .NET equivalent of Java Virtual Machine (JVM). It is the runtime that converts a MSIL code into the host machine language code, which is then executed appropriately. The CLR is the execution engine for .NET Framework applications. It provides a number of services, including:
? Code management (loading and execution)
? Application memory isolation
? Verification of type safety
? Conversion of IL to native code.
? Access to metadata (enhanced type information)
? Managing memory for managed objects
? Enforcement of code access security
? Exception handling, including cross-language exceptions
? Interoperation between managed code, COM objects, and pre-existing DLL's (unmanaged code and data)
? Automation of object layout
? Support for developer services (profiling, debugging, and so on).

Source: CoolInterview.com

Answered by: md manjar hussain | Date: 4/7/2009 | Contact md manjar hussain Contact md manjar hussain

CLR is .NET equivalent of Java Virtual Machine (JVM). It is the runtime that converts a MSIL code into the host machine language code, which is then executed appropriately. The CLR is the execution Source: CoolInterview.com

Answered by: praveena | Date: 4/8/2009 | Contact praveena Contact praveena

CLR is a Runtime Environment just like MSVCRT40.dll in visual C++, MSVBVM.dll in Visual Basic 6.0 and Java Virtual Machine (JVM)in Java.

It acts as a agents which manages code at runtime providing various core services such as memory management, garbage collection, cross language integration,etc while enforcing strict type safety and security Source: CoolInterview.com

Answered by: Kunal Gupta | Date: 8/1/2009 | Contact Kunal Gupta Contact Kunal Gupta

CLR_
1)Common Language Runtime.
2)What ever code we written in .Net it convert that code into Machine readable form. Mean it convert that code into Proccess readble form.
3)All the Proccess not take formated code.
4)CLR is dependent on Proccess.
5) Different Proccess take different formate.
6) CLR is the Heart for the .Net. Source: CoolInterview.com

Answered by: Srikar | Date: 10/14/2009 | Contact Srikar Contact Srikar

CLR is stands for a commmon language run time.clr is equivalent to jvm.it is use for convert a MSIL(microsoft intermediate language) code to the machine code or host code.machine code is easy to understand by C.P.U that's why CLR convert a MSIL code To Machine Code Source: CoolInterview.com

Answered by: Harsh Shah | Date: 11/3/2009 | Contact Harsh Shah Contact Harsh Shah

Answers:

CLR is .NET equivalent of Java Virtual Machine (JVM). It is the runtime that converts a MSIL code into the host machine language code, which is then executed appropriately. The CLR is the execution engine for .NET Framework applications. It provides a number of services, including:
? Code management (loading and execution)
? Application memory isolation
? Verification of type safety
? Conversion of IL to native code.
? Access to metadata (enhanced type information)
? Managing memory for managed objects
? Enforcement of code access security
? Exception handling, including cross-language exceptions
? Interoperation between managed code, COM objects, and pre-existing DLL's (unmanaged code and data)
? Automation of object layout
? Support for developer services (profiling, debugging, and so on).

Full form of CLR is Common Language Runtime and it forms the heart of the .NET
framework.All Languages have runtime and its the responsibility of the runtime to take care of
the code execution of the program.For example VC++ has MSCRT40.DLL,VB6 has
MSVBVM60.DLL , Java has Java Virtual Machine etc. Similarly .NET has CLR.Following are the
responsibilities of CLR
√ Garbage Collection :- CLR automatically manages memory thus eliminating
memory leakes. When objects are not referred GC automatically releases those
memory thus providing efficient memory management.
√ Code Access Security :- CAS grants rights to program depending on the security
configuration of the machine.Example the program has rights to edit or create
a new file but the security configuration of machine does not allow the program
to delete a file.CAS will take care that the code runs under the environment of
machines security configuration.
√ Code Verification :- This ensures proper code execution and type safety while
the code runs.It prevents the source code to perform illegal operation such as
accessing invalid memory locations etc.
√ IL( Intermediate language )-to-native translators and optimizer?s :- CLR uses
JIT and compiles the IL code to machine code and then executes. CLR also
determines depending on platform what is optimized way of running the IL
code.


Posted by: Madhura

Contact Madhura Contact Madhura

CLR is stands for a commmon language run time.clr is equivalent to jvm.it is use for convert a MSIL(microsoft intermediate language) code to the machine code or host code.machine code is easy to understand by C.P.U that's why CLR convert a MSIL code To Machine Code


Source: CoolInterview.com

Answered by: Ajay Bhushan | Date: 12/10/2009 | Contact Ajay Bhushan Contact Ajay Bhushan

CLR - It is a heart of .net framework
CLR should lead execution of code.CLR
which converts IL into machine language by using JIT compiler
Source: CoolInterview.com

Answered by: LakshmiR | Date: 12/26/2009 | Contact LakshmiR Contact LakshmiR

*CLR is soul of .Net Frame Work.
*CLR is responsible for memory isolation during the program execution.
*CLR is responsible for Garbage collection.
*CLR convert the source code int managed code. Source: CoolInterview.com

Answered by: Raghvendra vikram singh | Date: 2/22/2010 | Contact Raghvendra vikram singh Contact Raghvendra vikram singh

CLR STANDS FOR COMMON LANGUAGE RUN TIME AND IT PROVIDES THE SERVICES PROVIDED BY THE JVM INJAVA AT RUNTIME.IT PROVIDES THE SERVICES SUCH AS
1. DEBUGGING ENGINE
2. CLASS LODER
3. SECURITY ENGINE
4. TYPE CHECKER
5. COM/DCOM
6. GC(GARBAGE COLLECTER) Source: CoolInterview.com

Answered by: M.S. KISHORE | Date: 2/23/2010 | Contact M.S. KISHORE Contact M.S. KISHORE

CLR- It is a software.it converts microsoft intermediate language to machine understandable code... Source: CoolInterview.com

Answered by: Mahender.D | Date: 2/24/2010 | Contact Mahender.D Contact Mahender.D

CLR STANDS FOR COMMON LANGUAGE RUN TIME.CLR is .NET equivalent of Java Virtual Machine (JVM). It is the runtime that converts a MSIL code into the host machine language code, which is then executed appropriately. The CLR is the execution engine for .NET Framework applications.CLR is a Runtime Environment just like MSVCRT40.dll in visual C++, MSVBVM.dll in Visual Basic 6.0 and Java Virtual Machine (JVM)in Java.

ITS FUNCTOINS ARE GIVEN BELOW::::
1.Code management
2. Application memory isolation
3. Verification of type safety
4.Conversion of IL to native code.
5. Access to metadata
6. Managing memory for managed objects
7.CLR is dependent on Proccess. 8. Different Proccess take different format.
9. CLR is the Heart for the .Net.
10. Enforcement of code access security
11.Exception handling, including cross-language exceptions
12.Automation of object layout
Support for developer services
13.CLR uses JIT
Source: CoolInterview.com

Answered by: RAKESH KUMAR KAR | Date: 4/6/2010 | Contact RAKESH KUMAR KAR Contact RAKESH KUMAR KAR

clr is plateform to run all .net application or managed language Source: CoolInterview.com

Answered by: MADHU | Date: 4/9/2010 | Contact MADHU Contact MADHU

1.CLR means common Language Runtime.
2.CLR is a heart of .net framework.
3.CLR is execute the MSIL(Microsoft Intermediate Language)code to Machine code or host code.
4.The CPU will be easily understand the code for execution. Source: CoolInterview.com

Answered by: ch rajeshkumarreddy | Date: 4/18/2010 | Contact ch rajeshkumarreddy Contact ch rajeshkumarreddy

CLR_
1)Common Language Runtime.
2)What ever code we written in .Net it convert that code into Machine readable form. Mean it convert that code into Proccess readble form.
3)All the Proccess not take formated code.
4)CLR is dependent on Proccess.
5) Different Proccess take different formate.
6) CLR is the Heart for the .Net Source: CoolInterview.com

Answered by: JHANSI | Date: 4/19/2010 | Contact JHANSI Contact JHANSI

CLR STANDS FOR COMMON LANGUAGE RUN TIME.CLR is .NET equivalent of Java Virtual Machine (JVM). It is the runtime that converts a MSIL code into the host machine language code, which is then executed appropriately. The CLR is the execution engine for .NET Framework applications.CLR is a Runtime Environment just like MSVCRT40.dll in visual C++, MSVBVM.dll in Visual Basic 6.0 and Java Virtual Machine (JVM)in Java.
? Code mThe CLR is the execution engine for .NET Framework applications. It provides a number of services, including:anagement (loading and execution)
? Application memory isolation
? Verification of type safety
? Conversion of IL to native code.
? Access to metadata (enhanced type information)
? Managing memory for managed objects
? Enforcement of code access security
? Exception handling, including cross-language exceptions
Source: CoolInterview.com

Answered by: Imran ali | Date: 4/19/2010 | Contact Imran ali Contact Imran ali

CLR is .NET equivalent of Java Virtual Machine (JVM). It is the runtime that converts a MSIL code into the host machine language code, which is then executed appropriately. The CLR is the execution engine for .NET Framework applications. It provides a number of services, including:
? Code management (loading and execution)
? Application memory isolation
? Verification of type safety
? Conversion of IL to native code.
? Access to metadata (enhanced type information)
? Managing memory for managed objects
? Enforcement of code access security
? Exception handling, including cross-language exceptions
? Interoperation between managed code, COM objects, and pre-existing DLL's (unmanaged code and data)
? Automation of object layout
? Support for developer services (profiling, debugging, and so on).
Source: CoolInterview.com

Answered by: software | Date: 4/26/2010 | Contact software Contact software

CLR stand comon language runtime.it is heart of dot.net framewor where dotnet code execute.it provide number of services such as code management thread managment,automatic memory managment,sequrity Source: CoolInterview.com

Answered by: omprakash | Date: 5/1/2010 | Contact omprakash Contact omprakash

Common Language Runtime is the heart of the .net framework, where the Code is converted into Machine Language which is understandable to process and that Machine Language Code can be used in any of the .net technologies such as ASP.net,VB.net etc. Source: CoolInterview.com

Answered by: Narasimharao | Date: 5/25/2010 | Contact Narasimharao Contact Narasimharao

the full form of clr is common language runtime.it provides a environment to execute .net applications on target machines.it is the code component under the .net framework responsible for converting intermediate languate code into machine code.the responsibilities of clr are list below:
-Automatic memory management
-Garbage Collection
-Code Access Security
-Code Verification
-JIT compilation of .net code Source: CoolInterview.com

Answered by: vara prasad pola | Date: 6/7/2010 | Contact vara prasad pola Contact vara prasad pola

CLR is the .net framework which create run time environment for a .net application.application program is executed by operating system.both contain the different architecture.CLR is used as a layer for mapping between operating system and application prigram. Source: CoolInterview.com

Answered by: mohit | Date: 6/20/2010 | Contact mohit Contact mohit

CLR STANDS FOR COMMON LANGUAGE RUN TIME.CLR is .NET equivalent of Java Virtual Machine (JVM). It is the runtime that converts a MSIL code into the host machine language code, which is then executed appropriately. The CLR is the execution engine for .NET Framework applications.CLR is a Runtime Environment just like MSVCRT40.dll in visual C++, MSVBVM.dll in Visual Basic 6.0 and Java Virtual Machine (JVM)in Java.
? Code mThe CLR is the execution engine for .NET Framework applications. It provides a number of services, including:anagement (loading and execution)
? Application memory isolation
? Verification of type safety
? Conversion of IL to native code.
? Access to metadata (enhanced type information)
? Managing memory for managed objects
? Enforcement of code access security
? Exception handling, including cross-language exceptions



Source: CoolInterview.com

Answered by: VIJAY | Date: 6/21/2010 | Contact VIJAY Contact VIJAY

CLR(Common Language Runtime)
It is equivalent to JVM(Java Virtual Machine).It is runtime that converts a msil code into the host machine language code. Source: CoolInterview.com

Answered by: Ajesh | Date: 6/28/2010 | Contact Ajesh Contact Ajesh

CLR is the common Language runtime. It is heart of the .Net Framework.
They convert MSIL code to mechine code for excecution. Source: CoolInterview.com

Answered by: Divya.M | Date: 7/26/2010 | Contact Divya.M Contact Divya.M

CLR STANDS FOR COMMON LANGUAGE RUN TIME.CLR is .NET equivalent of Java Virtual Machine (JVM)
CLR is a heart of .net framework.
CLR is execute the MSIL(Microsoft Intermediate Language)code to Machine code or host code Source: CoolInterview.com

Answered by: K Ravinder Reddy | Date: 7/30/2010 | Contact K Ravinder Reddy Contact K Ravinder Reddy

The Common Language Runtime (CLR) is a core component of Microsoft's .NET initiative. It is Microsoft's implementation of the Common Language Infrastructure (CLI) standard, which defines an execution environment for program code. In the CLR, code is expressed in a form of bytecode called the Common Intermediate Language (CIL, previously known as MSIL?Microsoft Intermediate Language)


The CLR allows programmers to ignore many details of the specific CPU that will execute the program. It also provides other important services, including the following:

* Memory management
* Thread management
* Exception handling
* Garbage collection
* Security.
Source: CoolInterview.com

Answered by: ankit | Date: 8/2/2010 | Contact ankit Contact ankit

CLR stands for commom language runtime.it is equivalent to JVM(java virtual macine).it is the heart of .net framework.
CLR which converts IL(intermediate langauge) into machine language by using JIT compiler through the CLS(common language specification).
CLR convert unmanaged code into managed code by using JIT compiler. Source: CoolInterview.com

Answered by: Anju Bhati | Date: 8/5/2010 | Contact Anju Bhati Contact Anju Bhati

CLR(Common Language Runtime)
It is equivalent to JVM(Java Virtual Machine).It is runtime that converts a msil code into the host machine language code. Source: CoolInterview.com

Answered by: chirag | Date: 8/5/2010 | Contact chirag Contact chirag

CLR- Common language Run-time

it just converts the source in to machine understandable code,Which means it converting the MSIL in to Host Machine Language..
its also said to be as the heart of the .net framework Source: CoolInterview.com

Answered by: vinu | Date: 8/9/2010 | Contact vinu Contact vinu

CLR(COMMON LANGUAGE RUN TIME)is the execution engine for .NET Framework applications.It is use for convert a MSIL(microsoft intermediate language) code to the machine code or host code.It provides of services,some of......
1- CLR convert the source code int managed code.
2- Access to metadata.
3- Exception handling, including cross-language exception.
4- CLR uses JIT(Just-in-Time) compilation of .net code.
5- Thread managment,automatic memory managment,sequrity.
Source: CoolInterview.com

Answered by: Rishabh tripathi | Date: 8/14/2010 | Contact Rishabh tripathi Contact Rishabh tripathi

CLR is the .net framework which create run time environment for a .net application.application program is executed by operating system.both contain the different architecture.CLR is used as a layer for mapping between operating system and application prigram. Source: CoolInterview.com

Answered by: Sanjay Kumar Soni | Date: 8/25/2010 | Contact Sanjay Kumar Soni Contact Sanjay Kumar Soni

CLR is the .net framework which create run time environment for a .net application.application program is executed by operating system.both contain the different architecture.CLR is used as a layer for mapping between operating system and application prigram.CLR is a heart of .net framework . CLR is take care of run time execution Source: CoolInterview.com

Answered by: Sanjay Kumar Soni | Date: 8/25/2010 | Contact Sanjay Kumar Soni Contact Sanjay Kumar Soni


If you have the better answer, then send it to us. We will display your answer after the approval

Rules to Post Answers in CoolInterview.com:-

  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.

Post your answer here

Inform me about updated answers to this question.
Related Questions
View Answer
Explain the differences between Server-side and Client-side code?
View Answer
What type of code (server or client) is found in a Code-Behind class?
View Answer
Should validation (did the user enter a real date) occur server-side or client-side? Why?
View Answer
What does the EnableViewState Means?
View Answer
What is the difference between Servers? Transfer and Response. Redirect? Why would I choose one over the other?
View Answer
Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component
View Answer
Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?
View Answer
Can you give an example of what might be best suited to place in the Application Start and Session Start subroutines?
View Answer
What are ASP.NET Web Forms? How is this technology different than what is available though ASP (1.0-3.0)?
View Answer
How does VB.NET/C# achieve polymorphism?
View Answer
How would you implement inheritance using VB.NET/C#?
View Answer
Whats an assembly ..?
View Answer
Describe the difference between inline and code behind - which is best in a loosely coupled solution.
View Answer
How would you implement inheritance using VB.NET/C#?
View Answer
Explain what a diffgram is, and a good use for one
View Answer
Where would you use an iHTTPModule, and what are the limitations of any approach you might take in implementing one
View Answer
Can you explain what inheritance is and an example of when you might use it?
View Answer
What are the disadvantages of viewstate/what are the benefits
View Answer
Describe session handling in a webfarm, how does it work and what are the limits
View Answer
How would you get ASP.NET running in Apache web servers - why would you even do this?
View Answer

Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.

View All DotNet Interview Questions & Answers - Exam Mode / Learning Mode




India News Network
Latest 20 Questions
Payment of time- barred debt is: (a) Valid (b) Void (c) Illegal (d) Voidable
Consideration is defined in the Indian Contract Act,1872 in: (a) Section 2(f) (b) Section 2(e) (c) Section 2(g) (d) Section 2(d)
Which of the following is not an exception to the rule, "No consideration, No contract": (a) Natural love and affection (b) Compensation for involuntary services (c) Completed gift (d) Agency
Consideration must move at the desire of: (a) The promisor (b) The promisee (c) The promisor or any other party (d) Both the promisor and the promisee
An offer which is open for acceptance over a period of time is: (a) Cross Offer (b) Counter Offer (c) Standing Offer (d) Implied Offer
Specific offer can be communicated to__________ (a) All the parties of contract (b) General public in universe (c) Specific person (d) None of the above
_________ amounts to rejection of the original offer. (a) Cross offer (b) Special offer (c) Standing offer (d) Counter offer
A advertises to sell his old car by advertising in a newspaper. This offer is caleed: (a) General Offer (b) Special Offer (c) Continuing Offer (d) None of the above
In case a counter offer is made, the original offer stands: (a) Rejected (b) Accepted automatically (c) Accepted subject to certain modifications and variations (d) None of the above
In case of unenforceable contract having some technical defect, parties (a) Can sue upon it (b) Cannot sue upon it (c) Should consider it to be illegal (d) None of the above
If entire specified goods is perished before entering into contract of sale, the contract is (a) Valid (b) Void (c) Voidable (d) Cancelled
______________ contracts are also caled contracts with executed consideration. (a) Unilateral (b) Completed (c) Bilateral (d) Executory
A offers B to supply books @ Rs 100 each but B accepts the same with condition of 10% discount. This is a case of (a) Counter Offer (b) Cross Offer (c) Specific Offer (d) General Offer
_____________ is a game of chance. (a) Conditional Contract (b) Contingent Contract (c) Wagering Contract (d) Quasi Contract
There is no binding contract in case of _______ as one's offer cannot be constructed as acceptance (a) Cross Offer (b) Standing Offer (c) Counter Offer (d) Special Offer
An offer is made with an intention to have negotiation from other party. This type of offer is: (a) Invitation to offer (b) Valid offer (c) Voidable (d) None of the above
When an offer is made to the world at large, it is ____________ offer. (a) Counter (b) Special (c) General (d) None of the above
Implied contract even if not in writing or express words is perfectly _______________ if all the conditions are satisfied:- (a) Void (b) Voidable (c) Valid (d) Illegal
A specific offer can be accepted by ___________. (a) Any person (b) Any friend to offeror (c) The person to whom it is made (d) Any friend of offeree
An agreement toput a fire on a person's car is a ______: (a) Legal (b) Voidable (c) Valid (d) Illegal
Cache = 0.033203 Seconds