home   Query   contact
 
    logo  
  About
meet the crew
  Portfolio
have a look
  Courses
what we do
  Careers
step forward
  Gallery
our Album
     
         
   
ASP.net Quiz   Back
     

1. What does ASP stand for?

     Active Standard Pages
     Active Server Pages
     All Standard Pages
     All Server Page

2. ASP server scripts are surrounded by delimiters, which?

     <script>...</script>
     <%...%>
     <&>...</&>
     <%>...</%>

3. How do you write "Hello World" in ASP

     Response.Write("Hello World")
     Document.Write("Hello World")
     "Hello World"
     System.ou.println("Hello World")

4. "<%=" is the same as:

     <%Equal
     <%Document.Write
     <%Response.Write
     <%Write     

5. What is the defualt scripting Language in ASP ?

     JavaScript
     PERL
     EcmaScript
     VBScript     

6. How can you script your ASP code in JavaScript?

     "> Start the document with: <% language="javascript" %;>
     JavaScript is the default scripting language
     ;" /> End the document with: <% language="javascript" %;>
     Start the document with: <%@ language="javascript" %;>     

7. How do you get information from a form that is submitted using the "get" method?

     Request.Form
     Request.QueryString
     Response.write
     Response.writeln    

8. <a href="page2.asp?color=green">Go</a><br%> How can page2.asp get the "color"      parameter?

     Request.QueryString("color")
     Response.Parameter("color")
     Response.QueryString("color")
     Get("color")   

9. Which ASP property is used to identify a user?

     The Application object
     An ASP Cookie
     The Server object
     The Request    

10. Which ASP property is used to identify a user?

     The Application object
     An ASP Cookie
     The Server object
     The Request   

11. How do you create a FileSystemObject?

     Server.CreateObject("FileSystemObject")
     Create Object:"Scripting.FileSystemObject"
     Server.CreateObject("Scripting.FileSystemObject")
     Create("FileSystemObject")   

12. What is the correct way to include the file "time.inc" ?

     " /> <% include file="time.inc" %>
     " /> <% #include file="time.inc" %>
     <!--#include file="time.inc"-->
     <include file="time.inc">

13. Which one of these events is a standard Global.asa event?

     Session_Start
     Global.asa doesn't have any standard events
     Session_id
     Application_OnStart

14. Which of the following is not a valid VBScript looping statement?

     Do...Loop
     While...Wend
     For...Next
     If....fi

15. Which of these objects is NOT an ASP component?

     File Access
     AdRotator
     Counter
     LinkCounter
 
 
 
   
 
 
footer