Advanced Java - JDBC and Web Development

Covers JDBC database connectivity and JSP web application development

5 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the following provides a means for retrieving column values from the current row?

  1. get()
  2. getXXX()
  3. post()
  4. init()
  5. service()
Question 2 Multiple Choice (Single Answer)

The element that contains the content of another resource in the web application before the contents generated by a JSP is

  1. include-prelude
  2. include-code
  3. el-enabled
  4. import
  5. session
Question 3 Multiple Choice (Single Answer)

Which of the following is the most appropriate on a corporate network, where client installation is not a major problem?

  1. JDBC-ODBC bridge plus ODBC driver
  2. Native-API partly Java driver
  3. Native protocol pure Java driver
  4. JDBC net pure Java driver
  5. JDBC URL
Question 4 Multiple Choice (Single Answer)

Which of the following HTTP response codes represents that everything has succeeded and you have a valid response?

  1. 200
  2. 401
  3. 402
  4. 1xx
  5. 3xx
Question 5 Multiple Choice (Single Answer)

Which of the following contains all the rows, which satisfies the conditions in an SQL statements and provides access to the data in those rows through a set of get methods?

  1. Connection object
  2. JDBC URL
  3. Cursor
  4. Column
  5. ResultSet