HTML ASP

1 Get method passes the values to destination page




Answer is C)


2 Which of the following is true




Answer is B)


3 Output of following :< HTML > < BODY > HARTRON1 < SCRIPT LANGUAGE = ” VBSCRIPT ” RUN AT = “SERVER> response.write(“HARTRON 2”) </ SCRIPT >
will be:-




Answer is B)


4 HTTP_REFERER tells




Answer is C)


5 Which of following is true : < ! ——– #INCLUDE FILE = ” —-“——->




Answer is B)


6 Which is true




Answer is A)


7 Server variable SCRIPT_NAME tells




Answer is C)


8 Cookies are passed between server and browser




Answer is B)


9 Keyset-driven cursor




Answer is D)


10 Move first method




Answer is C)


11 Paging properties can not be used with




Answer is A)


12 <% myfile = “firstpage.asp” %>




Answer is C)


13 Record count property when used with forward only cursor returns




Answer is C)


14 Which of following is true




Answer is C)


15 Session variables work with help of




Answer is A)


16 Best way to maintain web site is through




Answer is C)


17 Utility used to work send E-mail in ASP is




Answer is C)


18 Which of following is true




Answer is A)


19 To send output to browser which of following objects is used is ASP




Answer is D)


20 <%Response.buffer = TRUE %> <% for i = 1 to 500 Response.write(i) Next %> will generate




Answer is A)


21 When the page is not buffered which of following properties can work




Answer is A)


22 <% Response.write(“first page”) Response.redirect “/another page.asp” Response.write(“third page”) %> another page : <% Response.write(“Second page”) % >




Answer is C)


23 What is the output of thje following statement: Response.cookies (” News” ) (“sports”) =”cricket”




Answer is A)


24 Which of the following is not a CGI programming language




Answer is D)


25 XML is based on




Answer is C)


26 Which of the following is true:




Answer is C)


27 <% var =” he said , ” “Hello ! “”” %> when this program is executed the value in the text box is:




Answer is C)


28 Which of the following is true




Answer is A)


29 The result of the following statement Response.cookies(” news”)=date()-1




Answer is B)


30 The server variables collection of request object represents




Answer is C)


31 What following statement will do when executed session.abandon




Answer is B)


32 what is true about request object




Answer is B)


33 output of the program is:




Answer is B)


34 <% Response.write(“first page”) Server.execute “/another page.asp” Response.write(“third page”) %> Another page <% Response.write(“second page”) %> output will be :




Answer is A)


35 page is used to




Answer is A)


36 Default cursor type of a recordset is




Answer is A)


37 Advantages of server side cursor over client side cursor is :




Answer is C)


38 RecordCount property is supported by following cursor(s)




Answer is B)


39 Which of the following is not a collection of request object




Answer is C)


40 What is true about collection query string of the request object(built in object of ASP)




Answer is D)


41 Which of the following is built in ASP object to execute transactional scripts




Answer is C)


42 Output of the following ASP program will be <%x=”hello” %> <% Response.write(x) %>




Answer is C)


43 Output of the following program will be <% dim a response.write (“Hello world” ) Responswe.end %> <% response.write (“Hey “) %>




Answer is B)


44 To create a new cookie with the name News we have to write




Answer is A)


45 Result of the following statement is <% Response.write Server.HTMLEncode(” To display in bold use and tags “) %>




Answer is B)


46 To connect to a different URL using response object which of the methods is used




Answer is C)


47 The property absolute page of recordset object specifies




Answer is B)


48 LCID( locate identifier ) is the property of which built in ASP object




Answer is B)


49 To delete Cookie “News” the statement used is




Answer is D)


50 <% var= "he said , "" hey ! "" " % > < html > < input type = "text " name = " myfield" value = "< % =var % > “> < / html > value appeared on the text field is:




Answer is B)


51 Cookies are sent to the client as part of :




Answer is B)


52 what will happen when statement response.end is executed.




Answer is B)

Leave a Comment