-
What are LOCAL and GLOBAL variables?
Local variables lifetime ends when the Procedure ends. Global variables lifetime begins at the start of the script and ends at the end of the script and it can be used by any procedure within the script. Declaring a variable by using the keyword PRIVATE makes the variable global within the script, but if declared using PUBLIC, then all scripts can refer the variable.
-
What is the function of Buffer in Response Object?
Buffer controls the HTML output stream manually.
-
What are the methods in Session Object?
The Session Object has only one method, which is Abandon. It destroys all the objects stored in a Session Object and releases the server resources they occupied.
-
Name some of the ASP components?
• Ad Rotator component – a way to manage advertisements on the web site. • Content Linker component – a technique to direct users through a set of pages on a web site by creating a list of URLs and description of the next and previous pages. • Browser Capabilities component – allows to customize the page to the ability of the browser viewing it. • Database Access component – allows to access data from...
-
What should be used in order to determine if the cookie "FavoriteFlavors" in the request object contains more than one entry?
A. Request.Cookies("FavoriteFlavors").HasItems B. Request.Cookies("FavoriteFlavors").Collection.Count C. Request.Cookies("FavoriteFlavors").Dictionary D. Request.Cookies("FavoriteFlavors").HasKeys E. Request.Cookies("FavoriteFlavors").Count
-
What does Internet Information Server (IIS) assume to be the default language for Active Server Pages?
A. Jscript B. JavaScript C. JAVA D. VBScript E. ECMAScript
-
What should the developer use in order to have an Active Server Page (ASP) invokes a stored procedure on a SQL Server database?
A. ADO B. RDO C. RDS D. OLEDB E. None of the above.
-
What are the types of HTML?
• Static HTML – Browser uses HTTP to request HTML file from the Web Server • Dynamic HTML – Browser uses HTTP to request an executable application rather than a Static HTML file
-
-
-
The FileSystemObject provides an object interface to drives, directories, and files for which of the following?
A. Any local or mapped drive on either the server or the client. B. Only files and subdirectories in the web site’s home directory. C. Any local physical drive or mapped drive on the web server. D. Any file system physically located on the web server. E. The client’s computer.
-
Which choice is NOT a property of Dictionary Object?
A. Key() B. CompareMode C. Item () D. Exists () E. Count
-
What is the order of execution for an ASP application?
1) Global.asa 2) Server-side Includes 3) Jscript scripts tagged within <SCRIPT> tags 4) HTML together with scripts tagged within <% … %> delimiters 5) VBScripts tagged within <SCRIPT> tags
-
-
-
-
ClientCertificate is a collection of
A. Server B. Response C. Request D. ObjectContext
-
What happens to a HTML page?
The browser makes a HTTP request; the server gives a HTTP response to the browser and the browser converts into a HTML page.
-
What are the Web Servers supporting ASP?
• Internet Information Server (IIS) on Windows NT • Personal Web Server (PWS) on Windows 95 • Peer Web Services on Windows NT
-
How will you set the values for cookies?
<% Response.Cookies("variable name ")="value" %>.
ASP Interview Questions
Ans