ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
what is the differance between native code &  managed code?
 Question Submitted By :: Sunita
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is the differance between native code & managed code?
Answer
# 1
hi
sohan singh
native code is cpu dependent and managed code  target to clr
 
Is This Answer Correct ?    3 Yes 0 No
Guest
 
  Re: what is the differance between native code & managed code?
Answer
# 2
The code, which targets  clr is called as managed code.
managed code that does not have any providers .it is very 
fast than unmanaged code.

If you want to prevent your program from being cracked by 
hackers, you can use native code. You can cipher/decipher 
this code, or it may be self-modifying code for more 
safety.
 
Is This Answer Correct ?    0 Yes 0 No
Chinna
 
 
 
  Re: what is the differance between native code & managed code?
Answer
# 3
When the complier translates, it translates the .net source 
code into MSIL (Microsoft Intermediate Language) which is 
known as managed code. These managed code is the CPU - 
independent set of instructions which is later converted 
into native code (i.e CPU dependent) by the JIT ( Just In-
time) compiler before execution.
 
Is This Answer Correct ?    1 Yes 1 No
Sneha
 
  Re: what is the differance between native code & managed code?
Answer
# 4
Native code is CPU dependent 
Managed Code is when the code is inside the CLR .
 
Is This Answer Correct ?    1 Yes 0 No
Chaitali
 
  Re: what is the differance between native code & managed code?
Answer
# 5
Native code is computer programming (code) that is compiled
to run with a particular processor (such as an Intel
x86-class processor) and its set of instructions. If the
same program is run on a computer with a different
processor, software can be provided so that the computer
emulates the original processor. In this case, the original
program runs in "emulation mode" on the new processor and
almost certainly more slowly than in native mode on the
original processor. (The program can be rewritten and
recompiled so that it runs on the new processor in native mode.)

Native code can also be distinguished from bytecode
(sometimes called interpreted code), a form of code that can
be said to run in a virtual machine (for example, the Java
virtual machine). The virtual machine is a program that
converts the platform-generalized bytecode into the native
code that will run in a specific processor. Microsoft's .NET
compilers for its Visual Basic, C#, and JavaScript languages
produce bytecode (which Microsoft calls Intermediate
Language). Java bytecode and Microsoft's Intermediate
Language can be compiled into native code before execution
by a just-in-time compiler for faster performance.
 
Is This Answer Correct ?    0 Yes 0 No
Debasis
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
What is the syntax for datagrid and specifying columns ? Microsoft1
What is a transaction? a) A banking term. b) A concept used to describe a step in the business process. c) A combination of DML steps that must succeed or the data is retuned to its initial state. d) A combination of DDL steps that must succeed or the data is retuned to its initial state. Syntax-Softtech3
What is the difference between Server.Transfer and Response.Redirect?  4
When during the page processing cycle is ViewState available?  1
How to kill session? Protech11
What are the disadvantages of viewstate/what are the benefits  3
How to merge 2 tables fields in DataTable in asp.net Wipro5
Which property on a Combo Box do you set with a column name, prior to setting the DataSource, to display data in the combo box?  1
What is wrong with a line like this? DateTime.Parse(myString) Metasys3
Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading process.  1
Usage of web.config? Microsoft1
What is Partial in ASP.NET 2.0? Fulcrum-Logic2
What are all the ways to find out types of objects? HCL4
.Net Doesn't offer Deterministic Distruction ? a) True b) False CTS4
Can you please anyone explain in detailed Webservices concepts in Asp.net?  1
what is roles in asp.net  2
I am using SQLServer 2005. I have one table called Drivers. Every day thousands of records will be added in this table. I have to show all these records in my GridView with out applying ajax timer beacause we don't know the time limit when the new record come to the table. Sometimes it will add for 10 seconds some times 20 seconds. There by Please try without using timer or any other soultion apply for the table in sqlserver. But, i want to see all records immediately when new record comes in table. How? Thanks in advance... Ramesh  5
Can i have both C# and vb.net code in same assembly?how? Wipro4
What are runtime hosts? Microsoft1
Explain authentication levels in .net ?  3
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com