Alien head

ASP Quiz

Description: Active Server Pages(ASP) Quiz
Number of Questions: 15
Created by:
Tags: asp

In ASP, a request object retrieves info from a user by ________.

asp
  1. a collection of values sent as cookies in a HTTP header

  2. a collection of data sent with a submitted form

  3. from client variables described from within an object

  4. from the OS module

  5. A&B

Answer: 5

Which of the following are ASP standard objects?

asp
  1. server

  2. response

  3. session

  4. All of the above

Answer: 4

Abandon is an ASP ________ object method.

asp
  1. server

  2. session

  3. request

  4. response

Answer: 2

In ASP, the Response Object is used to send output to the user from the server.

asp
  1. True

  2. False

Answer: 1

MapPath is an ASP ________ object method.

asp
  1. session

  2. request

  3. server

  4. response

Answer: 3

ASP is an acronym for what?

asp
  1. Active Server Protocol

  2. ActiveX Server Pages

  3. Active Setup Pages

  4. Active Server Pages

  5. Active Setup Protocol

Answer: 4

ASP makes a website more interactive and dynamic.

asp
  1. True

  2. False

Answer: 1

How do you comment a line in ASP using VBScript?

asp
  1. < Comment a line in ASP >

  2. 'Comment a line in ASP

Answer: 3

Which is better in managing your code when writing with ASP or any other scripting code?

asp
  1. Break it up into smaller easier-to-manage files that can serve as subroutines and function calls.

  2. Keep it nice and simple in one file and use subroutines and function calls.

Answer: 1

My ASP page won't work is a common complaint for those new to ASP. Which of these can be the cause?

asp
  1. Syntax error such as missing parentheses, comma or quotation mark.

  2. Comments in your code are not tagged properly as comments.

  3. Make sure function names have both opening and closing parentheses.

  4. Check to see that the web page is properly saved with the extension as .asp

  5. All of the above

Answer: 5

You want to add ASP capability to your company's website. What is the first thing you would check?

asp
  1. That all pages are saved in .asp extensions.

  2. Check that the web server has Microsoft FrontPage extensions installed.

  3. Make sure the web server is capable of hosting ASP pages.

  4. Check the coding and be sure the ASP code is surrounded with

  5. All of the above

Answer: 3

You have determined that your company's website is housed on a web server that cannot handle ASP. What would you do?

asp
  1. Contact the ISP and have them switch the website to have ASP capability.

  2. Have your ISP install the Microsoft FrontPage extensions

  3. Develop a transition plan first that includes a step-by-step plan on every detail prior to contacting the ISP.

  4. All the above

Answer: 3

Some say that JavaScript is easier to use than ASP and will run regardless of whatever operating system the web server is using (Unix, Linux, Windows 2000, etc). Then others say that ASP has advantages over JavaScript such as what?

asp
  1. ASP does not depend upon which browser the viewer is using.

  2. ASP code does not show up in the source code; thus, the code is protected

  3. ASP does not download with the page to the viewer.

  4. ASP can easily interact with a database.

  5. All of the above

Answer: 5

A feature of ASP is its ability to interact with a database. Which of these databases is the most popular to use with ASP?

asp
  1. dBase

  2. Delimited text files

  3. Access (97 or 2000)

  4. Excel spreadsheets

  5. SQL

Answer: 3

JavaScript is which?

asp
  1. Client-side executable code (executes at the browser level)

  2. Server side executable code (runs at the server only)

Answer: 1
+ View questions