logo

CuriousTab

CuriousTab

Discussion


Home Database JDBC, Java Server Pages, and MySQL Comments

  • Question
  • A JSP is transformed into a(n):


  • Options
  • A. Java applet.
  • B. Java servlet.
  • C. Either 1 or 2 above.
  • D. Neither 1 nor 2 above.

  • Correct Answer
  • Java servlet. 


  • JDBC, Java Server Pages, and MySQL problems


    Search Results


    • 1. In OLE DB, actions that an object can perform are called:

    • Options
    • A. properties.
    • B. collections.
    • C. methods.
    • D. abstractions.
    • Discuss
    • 2. ________ is a cover for utilizing OLE DB that is designed for use by almost any language.

    • Options
    • A. ODBC
    • B. ASP
    • C. JPCD
    • D. ADO
    • Discuss
    • 3. ________ is a simple object model that is easier to understand and use than OLE DB, and is frequently used for database applications.

    • Options
    • A. ASP
    • B. XML
    • C. ODBC
    • D. ADO
    • Discuss
    • 4. When using ODBC, which of the following processes ODBC requests and submits specific SQL statements to a given type of data source?

    • Options
    • A. Data source
    • B. Driver
    • C. Driver manager
    • D. DBMS
    • Discuss
    • 5. The ODBC Level 2 API contains which the following functions?

    • Options
    • A. Commit or rollback transactions only
    • B. Connect to data sources with driver-specific information only
    • C. Connect to data sources only
    • D. All of the above are contained in the OBDC Level 2 API
    • Discuss
    • 6. Which JDBC driver Types are for use over communications networks?

    • Options
    • A. Type 3 only
    • B. Type 4 only
    • C. Both Type 3 and Type 4
    • D. Neither Type 3 nor Type 4
    • Discuss
    • 7. How many JDBC driver types does Sun define?

    • Options
    • A. One
    • B. Two
    • C. Three
    • D. Four
    • Discuss
    • 8. What MySQL property is used to create a surrogate key in MySQL?

    • Options
    • A. UNIQUE
    • B. SEQUENCE
    • C. AUTO_INCREMENT
    • D. None of the above -- Surrogate keys are not implemented in MySQL.
    • Discuss
    • 9. What is not true of a Java bean?

    • Options
    • A. There are no public instance variables.
    • B. All persistent values are accessed using getxxx and setxxx methods.
    • C. It may have many constructors as necessary.
    • D. All of the above are true of a Java bean.
    • Discuss
    • 10. Which JDBC driver Type(s) is(are) the JDBC-ODBC bridge?

    • Options
    • A. Type 1
    • B. Type 2
    • C. Type 3
    • D. Type 4
    • Discuss


    Comments

    There are no comments.

Enter a new Comment