ASP Programming

ASP

15 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the following objects maintains information for the life of an application?

  1. Session object
  2. Dictionary object
  3. Voting
  4. Application object
Question 2 Multiple Choice (Single Answer)

Which method of response object outputs the contents of the page buffer immediately but it does not stop processing the rest of the page?

  1. End
  2. Clear
  3. Flush
  4. None of these
Question 3 Multiple Choice (Single Answer)

Which of the following types of cursors in ASP allows you to move through a recordset and reflects all changes made by another user?

  1. adOpenForwardOnly
  2. adOpenStatic
  3. adOpenDynamic
  4. None of these
Question 4 Multiple Choice (Single Answer)

Which parameter of CreateTextFile method specifies the path of file to be created?

  1. Overwrite
  2. Unicode
  3. FileSpecifier
  4. None of these
Question 5 Multiple Choice (Single Answer)

Which of the following File Access components in ASP is used for reading from and writing to a file?

  1. FileSystem object
  2. TextStream
  3. Folder
  4. File
Question 6 Multiple Choice (Single Answer)

Which of the following text files is used to record the activities of the visitors to your site?

  1. Store HTML Form Data
  2. Create a Custom Log
  3. Store tip of the Day
  4. None of these
Question 7 Multiple Choice (Single Answer)

Which of the following methods of TextStream method reads the specified number of characters from the text file?

  1. Read(<character>)
  2. Write(<string>)
  3. Read
  4. ReadLine
Question 8 Multiple Choice (Single Answer)

____________ component of ASP provides communication with a database.

  1. Request object
  2. Server object
  3. Active databse
  4. Content linking
Question 9 Multiple Choice (Single Answer)

Which of the following properties of recordset object in ASP indicates that the current record postion is after the last record in a recordset?

  1. BOF
  2. EOF
  3. RecordCount
  4. None of these
Question 10 Multiple Choice (Single Answer)

____________ are the tools used to communicate with the server's environment and system.

  1. Components and objects
  2. Request and response
  3. Properties
  4. None of these
Question 11 Multiple Choice (Single Answer)

Which of the following server variables describes a virtual path to the script being executed?

  1. PATH_TRANSLATED
  2. SCRIPT_NAME
  3. REMOTE_ADDR
  4. SERVER_PORT
Question 12 Multiple Choice (Single Answer)

Which property of TextStream object indicates when the end of a particular line in a text file is reached?

  1. AtEndOfLine
  2. AtEndOfStream
  3. Column
  4. Line
Question 13 Multiple Choice (Single Answer)

_________ are used to exchange bits of information between different web pages.

  1. Query strings
  2. Form
  3. HTMLEncode
  4. None of these
Question 14 Multiple Choice (Single Answer)

________ method of TextStream object is used to write the given string to a text file and adds a newline character.

  1. Write(<string>)
  2. WriteLine(<string>)
  3. WriteBlankLine(<number of lines>)
  4. Close
Question 15 Multiple Choice (Single Answer)

_________ method skips the specified number of characters in an open file.

  1. SkipLine
  2. Skip(<characters>)
  3. Close
  4. None of these