-
How to Display images using Response object?
A. Contenttype=Application/Brush B. Contenttype=Image/JPG C. Contenttype=Application/paint D. Contenttype=Image/WMF
-
-
<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
-
Which will NOT set the scope of an Active Server Component?
A. Setting the [component name].scope property. B. Using the Server.CreateObject method. C. Placing it in the Session or Application OnStart event handler. D. Instantiating the component in the global.asa file. E. Using the <OBJECT> tag.
-
What must be installed on an IIS4 machine to use the CDONTS e-mail server object?
A. FTP service B. SMTP service C. IIS administrator D. Exchange Server E. IPX/SPX protocol
-
Which choice is NOT a property of Dictionary Object?
A. Key() B. CompareMode C. Item () D. Exists () E. Count
-
Using VBScript, which of the following Scripting Object(s) is NOT available from scrrun.dll?
A. TextStream B. Dictionary Object C. Err Object D. FileSystemObject E. All are available from scrrun.dll.
-
What is a Web Server?
It’s a Computer that provides Web services on the Internet or on a local Intranet. It is designed to locate, address and send out simple HTML pages to all other users who access these pages.
-
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 would be the result of the above code?
A. Type mismatch error B. "Hello World, Hello World, Hello World" C. 0 D. "Hello World 3" E. "Hello World"
-
-
-
-
%>
Referring to the above, if you want to pass the contents of the strName variable in a hyperlink, which line of code would you use?"><% strName="John Smith" %> Referring to the above, if you want to pass the contents of the strName variable in a hyperlink, which line of code would you use?
A. This cannot be done. The anchor is on the client and the variable is on the server. B. href="Encode.asp?
-
What purpose is served by the Application.Lock method?
A. It locks the Application object, preventing other clients from altering any values in the Contents collection. B. It locks the application, preventing the server from responding to any requests for application documents. C. It locks the application, preventing non-SSL requests from being processed. D. It locks the Application object, preventing other clients from reading any values in the Content...
-
Server.CreateObject("THINGDOER.thingy")
%>
The above code appears in the global.asa file. What would it accomplish?"><% Set Application("Thing") = Server.CreateObject("THINGDOER.thingy") %> The above code appears in the global.asa file. What would it accomplish?
A. It would create a "Thing" object and place it in Contents Collection of the Application object. B. It would create a "Thing" object and place it in StaticObjects Collection of the Application object. C. It would create a "Thing" object and place it in the Application.Buffer Collection Of the Application object. D. It would create an application-level variable named "Thing" with the value of the...
-
What is the Order of precedence for LOGICAL Operators.
NOT, AND, OR, XOR, EQV, IMP
-
-
-
What are the special sub-types in VBScript?
EMPTY: has no value NULL: Value does not exist (conjunction with database) OBJECT:
ASP Interview Questions
Ans