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


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> JavaScript/VBScript >> Post New Question Subscribe to Interview Questions

Which is a value that does not change during the execution of a script

Posted By :NATHAN ISRAEL     Posted Date :October 11, 2011    Points :40   Category :JavaScript/VBScript 
Ans : constant

You can also find related Interview Question to Which is a value that does not change during the execution of a script  below: 

How can we change priority and what the levels of priority are provided by .NET ?

  
Thread Priority can be changed by using Threadname.Priority = ThreadPriority.Highest. In the sample provided look out for code where the second thread is ran with a high priority.
Following are different levels of Priority provided by .NET :-
. ThreadPriority.Highest
. ThreadPriority.AboveNormal
. ThreadPriority.Normal
. ThreadPriority.BelowNormal
. ThreadPriority.Lowest (More...)

What is side-by-side Execution?

  
Side-by-Side execution is the ability to run multiple versions of an application or component on the same computer. You can have multiple versions of the common language runtime, and multiple versions of applications and components that use a version of the runtime, on the same computer at the same time. (More...)

Does SessionID change with every request in the asp.net 2.0 application?

  
Answer:
For any web programmer, its obvious to think and believe that SessionId remains same through out the user session and it was right till asp.net1.1. But in asp.net2.0, this behavior has changed. In the asp.net application new sessionid is returned with the response to every request until session objects are not used.

According to MSDN the reason/solution is:

"When using cookie-based session state, ASP.NET does not allocate storage for session data until the Session object is used. As a result, a new session ID is generated for each page request until the session object is accessed. If your application requires a static session ID for the entire session, you can either implement the Session_Start method in the application's Global.asax file and store data in the Session object to fix the session ID, or you can use code in another part of your application to explicitly store data in the Session object."


Enjoy. (More...)

Which property needs to be set for script manager control to extend the time before throwing time out expection if no response is received from the server?

  
AsyncPostBackTimeout Property needs to set which gets or sets a value that indicates the time, in seconds, before asynchronous postback time out if no response is received from the server.




The default value of this property is 90 second. We can also set the user defined error message using asyncpostbackerrormessage property (as shown in above code) for time out. (More...)

Explain differences between the page execution lifecycle of an ASP.NET page and an ASP.NET AJAX page?

  
In an asynchronous model, all the server side events occur, as they do in a synchronous model. The Microsoft AJAX Library also raises client side events. However when the page is rendered, asynchronous postback renders only the contents of the update panel, where as in a synchronous postback, the entire page is recreated and sent back to the browser. (More...)

How to add a combo box dynamically at run time in Java script?

  
document.forms[0]..options[index] new Option("Add text Value") (More...)

Can you change the value of a variable while debugging a C# application?

  
Yes, if you are debugging via Visual Studio.NET, just go to Immediate window. (More...)

How can we change the default port?

  
From the Network Utility TCP/IP properties -> Port number.both on client and the server. (More...)

What is Side-by-Side Execution in .NET?

  
Side-by-side execution is the ability to run multiple versions of an application or component on the same computer. You can have multiple versions of the common language runtime, and multiple versions of applications and components that use a version of the runtime, on the same computer at the same time.

(More...)

What are the Benefits of Side-by-Side Execution ?

  
Side-by-side execution and the .NET Framework provide the following features to eliminate DLL conflicts:

1)Strong-named assemblies:-
----------------------------
Side-by-side execution uses strong-named assemblies to bind type information to a specific version of an assembly. This prevents an application or component from binding to an invalid version of an assembly. Strong-named assemblies also allow multiple versions of a file to exist on the same computer and to be used by applications.

2)Version-aware code storage:-
-----------------------------
The .NET Framework provides version-aware code storage in the global assembly cache. The global assembly cache is a computer-wide code cache present on all computers with the .NET Framework installed. It stores assemblies based on version, culture, and publisher information, and supports multiple versions of components and applications. For more information, see Global Assembly Cache.

3)Isolation:-
-------------
Using the .NET Framework, you can create applications and components that execute in isolation, an essential component of side-by-side execution. Isolation involves being aware of the resources you are using and sharing resources with confidence among multiple versions of an application or component. Isolation also includes storing
(More...)

What the different between "Script declared in head section" and "Script declared in body Section"

  
Script declared in Head Section, Page Loading time the script was executed. you call the script explicitly then only use of this script.
Script declared in Body section, it execute the time of body section load. (More...)

What is the result of below given line of code in Java Script? 5+4+'7'

  
The answer is 97.

As 5 and 4 are integer so total becomes 9 and it's add '7' to it as string so it becomes 97.
(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