logo

CuriousTab

CuriousTab

Discussion


Home Database JDBC, Java Server Pages, and MySQL Comments

  • Question
  • Which JDBC driver Type(s) is(are) the JDBC-ODBC bridge?


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

  • Correct Answer
  • Type 1 


  • JDBC, Java Server Pages, and MySQL problems


    Search Results


    • 1. 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
    • 2. 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
    • 3. How many JDBC driver types does Sun define?

    • Options
    • A. One
    • B. Two
    • C. Three
    • D. Four
    • Discuss
    • 4. 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
    • 5. 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.
    • Discuss
    • 6. Where is metadata stored in MySQL?

    • Options
    • A. In the MySQL database metadata
    • B. In the MySQL database metasql
    • C. In the MySQL database mysql
    • D. None of the above is correct.
    • Discuss
    • 7. What servlet processor was developed by Apache Foundation and Sun?

    • Options
    • A. Apache Tomcat
    • B. Apache Web server
    • C. Sun servlet processor
    • D. None of the above is correct.
    • Discuss
    • 8. To run a compiled Java program, the machine must have what loaded and running?

    • Options
    • A. Java virtual machine
    • B. Java compiler
    • C. Java bytecode
    • D. A Web browser
    • Discuss
    • 9. ________ is an open source DBMS product that runs on UNIX, Linux and Windows.

    • Options
    • A. MySQL
    • B. JSP/SQL
    • C. JDBC/SQL
    • D. Sun ACCESS
    • Discuss
    • 10. How does Tomcat execute a JSP?

    • Options
    • A. As a CGI script
    • B. As an independent process
    • C. By one of Tomcat's threads
    • D. None of the above is correct.
    • Discuss


    Comments

    There are no comments.

Enter a new Comment