GoConqr has a new look! Let us know what you think.

Quiz

Quiz 2 Comp 3613

vincewong22 9 questions

Take the quiz

Questions in this quiz (9)

  1. 1What does the method call, "request.getParameterNames()" return?
    1. AA String[] of an HTML <FORM> input values.
    2. BA space delimited String of HTML parameter names.
    3. CA header of previously stored parameter names.
    4. DAn Enumeration of HTML input parameter names.
  2. 2Which statement best describes what an HTML header is?
    1. AInformation about the client that is sent from an HTML <FORM>.
    2. BThe title of an HTML page.
    3. CBrowser data that is used to initialize HttpServlet objects.
    4. DClient side String data that is either read or initialized by the server.
  3. 3Which of the following is the best way to send an error meesage back to the client?
    1. Aresponse.sendError(404, "The file could not be found.");
    2. Bresponse.out("An error ahas occurred");
    3. CSystem.out.println("error message");
    4. DCapture the error output String and send it back to the client as plain text.
  4. 4Which of these is not part of a status line in a Servlet response?
    1. AA response header.
    2. BA short message.
    3. CThe version of HTTP.
    4. DThe status code.
  5. 5Which of the following is required to generate DatabaseMetaData references?
    1. Aan int genreated by an update query
    2. Ba ResultSet
    3. Ca database connection
    4. Dnone of these
  6. 6Select the false statement below.
    1. AUsing ResultSetMetaData will allow me to dynamically retreive the column count returned from a
      SELECT query.
    2. BResultSetMetaData provides information genereated from a table SELECT query.
    3. CI can use ResultSetMetaData to obtain the names of all the tables in the database.
    4. DI need to first generate a ResultSet before I can generate ResultSetMetaData.
  7. 7What is returned when you execute a batch process?
    1. AString[]
    2. BResultSetMetaData
    3. Cint[]
    4. DResultSet
  8. 8Which of these SQL commands is not processed in a batch?
    1. ADELETE
    2. BSELECT
    3. CUPDATE
    4. DINSERT
  9. 9By default, the autocommit property will do this.
    1. Areject the entire batch process if a problem occurs during execution of the batch
    2. Bcause a booean false value to be returned if a problem occurs during execution of the batch
    3. Cmake your computer blow up if the antimatter
      chamber loses its containment field
    4. Dautomatically commit a batch process

Information

Description
Comp3613 Quiz on Quiz 2 Comp 3613, created by vincewong22 on 03/04/2015.
Language
English
Views
0
Tags
comp3613
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?