.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Jean Paul
SP
satyapriyanayak
Ashutosh Jha
Simon Robert VoIP

Home >> Interview Question >> .NET Framework >> Post New Question Subscribe to Interview Questions

What is the role of compiler?

Posted By :Abhisek Panda     Posted Date :December 24, 2009    Points :10   Category :.NET Framework 
Compiler translates a high level language into machine language.

You can also find related Interview Question to What is the role of compiler?  below: 

What is DML Compiler?

  
It translates DML statements in a query language into low-level instruction that the query evaluation engine can understand. (More...)

What is the role of a ScriptManagerProxy?

  
A page can contain only one ScriptManager control. If you have a Master-Content page scenario in your application and the MasterPage contains a ScriptManager control, then you can use the ScriptManagerProxy control to add scripts to content pages.

Also, if you come across a scenario where only a few pages in your application need to register to a script or a web service, then its best to remove them from the ScriptManager control and add them to individual pages, by using the ScriptManagerProxy control. That is because if you added the scripts using the ScriptManager on the Master Page, then these items will be downloaded on each page that derives from the MasterPage, even if they are not needed, which would lead to a waste of resources. (More...)

What is the role of the ScriptManager control in implementing multilingual applications (AJAX)?

  
The ScriptManager control can be used to define the UI or custom UI cultures that you would use in your applications. You can set the
EnableScriptLocalization and EnableScriptGlobalization properties of
the ScriptManager control to true and specify the script reference path as per your requirements. (More...)

What optimizations does the C# compiler perform when you use the /optimize+ compiler option?

  
The following is a response from a developer on the C# compiler team: We get rid of unused locals (i.e., locals that are never read, even if assigned). We get rid of unreachable code. We get rid of try-catch with an empty try. We get rid of try-finally with an empty try. We get rid of try-finally with an empty finally. We optimize branches over branches: gotoif A, lab1 goto lab2: lab1: turns into: gotoif !A, lab2 lab1: We optimize branches to ret, branches to next instruction, and branches to branches. (More...)

What's the difference between code-based security and role-based security? Which one is better?

  
Code security is the approach of using permissions and permission sets for a given code to run. Role-based security most of the time involves the code running with the privileges of the current user. Both are equally better. Depending on the deployment type security can be implemented. (More...)

Can you explain the role of each service?

  
SQL SERVER - is for running the databases SQL AGENT - is for automation such as Jobs, DB Maintanance, Backups DTC - Is for linking and connecting to other SQL Servers (More...)

What are the different compiler generated methods when a .NET delegate is compiled?

  
Compilation of a .NET delegate results in a sealed class with three compiler generated methods whose parameters and return values are dependent on the delegate declaration. The methods are,
Invoke()
BeginInvoke() and
EndInvoke(). (More...)

What's the role of the DataReader class in ADO.NET connections?

  
a read-only dataset from the data source when the command is executed. (More...)

what is the difference between compiler and interpreter?
give any one example for interpretter?

  
An interpreter reads each line of the source code and
converts it to machine code on the fly. This happens every
time the programme is run. Consequently it is very slow as
it is converting source code to machine code while the
programme is running.


A compiler does it once and thats it.

DOS BASIC is an example for interpretter. (More...)

What is the role of each service?

  
SQL SERVER - is for running the databases SQL AGENT - is for automation such as Jobs, DB Maintanance, Backups DTC - Is for linking and connecting to other SQL Servers (More...)

is JavaScript a compiler or interpreter.if so why?

  
javascript is a scripting language that executes on client browser.
its a interpreter language whereby script executes before compilation (More...)

What's the role of the DataReader class in ADO.NET connections?

  
It returns a read-only dataset from the data source when the command is executed. (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend