-
-
What are the special sub-types in VBScript?
EMPTY: has no value NULL: Value does not exist (conjunction with database) OBJECT:
-
What is the Order of precedence for LOGICAL Operators.
NOT, AND, OR, XOR, EQV, IMP
-
What are the event handlers of Application Object?
• Application_OnStart – This event will be fired when the first visitor hits the page. • Application_OnEnd – This event runs when the server is stopped.
-
What is a Dictionary object?
It lets you store and retrieve information in a flexible data structure. Each value or information stored in a Dictionary is associated with a key through which the information can be retrieved.
-
Which line of code would instantiate the Browser Capabilities component?
A. objBrowser = Server.CreateObject("MSWC.BrowserType") B. Set objBrowser = Server.CreateObject("MSWC.BrowserType") C. var objBrowser = Server.CreateObject("MSWC.BrowserType") D. var objBrowser = CreateObject("MSWC.BrowserType") E. var objBrowser = Server.CreateObject("BrowserType")
-
What is IIS?
IIS is a Web Server that provides Web services, not only for web pages but also for ftp sites and video and audio services. It integrates with the database facilities of SQL Server.
-
-
What is a Scripting Language?
It permits to create more interactive Web Pages. Validation, formatting of web pages can be done. VBScript, JavaScript are some examples.
-
-
What is Global.asa file?
It is text file that contains details about an ASP application, such as when it should begin and end.
-
What are Constants?
How will you declare a constant?
-
What is the maximum size of an array?
Up to 60 dimensions.
-
How many global.asa files can an Application have?
Only one global.asa file and it’s placed in the virtual directory’s root.
-
Which-code sample will report whether the client’s browser supports cookies?
A. <% var objFSO = Server.CreateObject("Scripting.FileSystemObject") Response.Write objFSO.cookiesSupported %> B. You can only use JavaScript for this. C. <% var objFSO = Server.CreateObject("Scripting.FileSystemObject") Response.Write objFSO.cookies %> D. <% var objBrowser = Server.CreateObject("MSWC.BrowserType") Response.Write objBrowser.cookies %> E. <% var objBrowser = Server.CreateObject("MSWC.BrowserType")...
-
<Input type=radio name=rbSex value="F">Female
Referring to the above, which line of code would retrieve the selected radio button value?"><input type=radio name=rbSex value="M">Male <Input type=radio name=rbSex value="F">Female Referring to the above, which line of code would retrieve the selected radio button value?
A. For cnt=0 to rbSex.count - 1 If rbSex(cnt).value = selected Then strSex = rbSex(cnt).value exit for End If Next B. strSex = Request("rbSex").selected.value C. strSex = Request("rbSex") D. strSex = Request.rbSex.value E. For Each value in rbSex If rbSex.selected = true strSex = value exit for Next
-
What is the difference between Querystring collection and Form collection?
The main difference is that the Querystring collection gets appended to a URL(with a ?
-
What is Cookies collection?
Cookies are text files that store information about the user by which the web server identifies and marks each different visitor to a web site and determines where a user has been before. A cookie can store information only when the user sends it. Individual cookies are limited to 4KB of data. The maximum number of cookies allowed is 300. Cookies are stored on client’s machine.
-
What is Server Object?
Controls the ASP execution environment. It can set the amount of time script can run before an error occurs. Converts a virtual path to a physical path on the server. Takes a user supplied string and encode it into proper format for a URL string.
-
ASP Interview Questions
Ans