Developing sharp software  
Active Server Pages Test - 25 questions
Please answer each of the questions to the best of your knowledge.  Although this may place you at a disadvantage,  we ask that you take this test without the aid of programming help materials such as MSDN.  We understand that you may not have worked with code that employs or deals with every question below, and we do not necessarily expect that you will answer every question.  Feel free to answer those that you are experienced with.  This will help give an indication of where your strengths lie and how you can help Acuit as a software engineer.

Name:

Email:

Phone:


No.

Question

1 ADO stands for:
Active Disk Origination
Active Directory Objects
ASP Data Objects
Active Data Objects
I don't know
2 What is the purpose of the “<% %>” tags?
  To define variables
To encapsulate ASP code
To create server only code
None of these
I don't know
3 How can you make your ASP pages run faster?
Write out less HTML code
Set the BIGDOGAPP parameter to FALSE
Use Response.Buffer to TRUE
Any of these would probably work
I don't know
4 How do you get the state of a combo box in ASP?
  You can’t do that in ASP
nLocation = Request.FormField("Location")
nLocation = Cint(Request.Form("Location"))
nLocation = “Location”
I don't know
5 Which is the correct way to get the value of a cookie?
Cookie.(“EverySiteHeHasEverVisited”)
Request.cookies(“EverySiteHeHasEverVisited”)(“Last”)
Both of these
None of these
I don't know
6 How can you tell if the client browser is version 5 or above?
  Use Server.CreateObject("MSWC.BrowserType") and query the results
Request.GetBrowserVersion
Server.GetBrowserVersion
Client.GetBrowserVersion
I don't know
7 How do you get the value of a query string?
Request.QUERY(“username”)
Response.QueryString(“username”)
Request.QueryString(“username”)
Any of these will work
I don't know
8 Can ASP be used to display a combo box preloaded with values?
  Yes, but only on Internet Explorer
No, you must create an HTML form instead
No, combo boxes are client objects not ASP server objects
None of these
I don't know
9 What is the purpose of a query string?
Selecting a limited number or rows from a database table
Sending values to an ASP page
Prompting the user for information in a dialog box
Building a form that requests information
I don't know
10 Does ASP run faster on Microsoft Internet Explorer browsers?
  Yes, because they are both Microsoft products
Yes, because IE has special hooks for ASP
No, because of governmental controls on Microsoft products
No, because ASP runs on the server not the client
I don't know
11 The URL encoding scheme is used to:
Help ASP find web pages
Format a web address correctly
Encrypt URL addresses from prying eyes
All of these
I don't know
12 CreateObject is used for which type of object?
  Objects on the client’s machine
Objects on the server machine
Developing new ActiveX components in the C++ language
Good trick! CreateObject is not an ASP function at all!
I don't know
13 How do you register an ActiveX server object?
Don’t have to. All objects are registered when the IIS server software is installed
Server.RegisterObject
Regsvr32.exe
I don’t think you need to, but I’m not sure
I don't know
14 Is calling Server.URLEncode necessary before calling Response.Redirect?
  No, but it attempts to ensure that the browser won’t choke
No, because Response.Redirect has nothing to do with URL’s
Yes, because Response.Redirect must have an exact URL format
Yes, because Microsoft demands that you do things their way
I don't know
15 Response.Write can be used for which of the following?
None of these, as far as I can tell
Creating radio buttons
Creating binary files on the client machine
Creating binary files on the server machine
I don't know
16 Which is the correct form for query strings?
  “Login.asp QUERY: username=rayw AND pwd=bulabula”
“Login.asp rayw=username, bulabula=pwd”
“Login.asp USERNAME=raw + PWD=bulabula“
“Login.asp?username=rayw&pwd=bulabula“
I don't know
17 Which function causes the buffered HTML to be pushed immediately to the client?
You can’t do that! The server is in control of that
Flush
Clear
Write
I don't know
18 Which of the following statements is true?
  Each user has access to his own unique Application object
All users have access to a single shared Application object
ASP permits either configuration based on the BIGDOGAPP parameter
ASP applications should never care about that kind of stuff
I don't know
19 How do you prevent two users from accessing an Application variable at the same time?
Set the BIGDOGAPP parameter to FALSE
Allow only one user to run your ASP application at any given time
Make sure that each user runs the application on a different server machine
Use Lock and Unlock
I don't know
20 If Session.Timeout is set to 10,000, how much time may elapse until the page expires?
  10 seconds (or 10,000 milliseconds)
10 minutes (or 10,000 milliminutes)
167 minutes (or 10,000 seconds)
Way too darned long
I don't know
21 Using the RUNAT=Client parameter signifies what?
The ASP code will run on the server
The ASP code will run on the client
The client runs ASP code directly off the server
You don’t really know what you are doing
I don't know
22 Which object is used to access data in a database from ASP?
  Recordset object
Record object
SQL object
All of these
I don't know
23 Is ASP code case sensitive?
No, because it’s just VBScript code
No, because scripting languages are all case insensitive
No, and I really don’t care why. I’m not into details like that.
It depends upon the scripting language you choose
I don't know
24 What are cookies?
  A collection
Tasty programmer food eaten with Mountain Dew
Netscape objects on the client machine
None of these
I don't know
25 What is another way to produce HTML in ASP?
Use “=” to output code
Use Put
Use Post
All of these will do it
I don't know

     When finished make sure you have filled in the user information above and press the Submit button below.
     Do not submit this test more than once until your answers have been checked and returned to you.
       Best of luck from Acuit Development - and don't forget to try our other tests!