logo

CuriousTab

CuriousTab

Discussion


Home Database JDBC, Java Server Pages, and MySQL Comments

  • Question
  • 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

  • Correct Answer
  • Java virtual machine 


  • JDBC, Java Server Pages, and MySQL problems


    Search Results


    • 1. 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
    • 2. 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
    • 3. 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
    • 4. 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
    • 5. 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
    • 6. ________ 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
    • 7. 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
    • 8. Who invented Java?

    • Options
    • A. Netscape
    • B. Microsoft
    • C. Sun
    • D. None of the above is correct.
    • Discuss
    • 9. Which JDBC driver Type(s) can be used in either applet or servlet code?

    • Options
    • A. Both Type 1 and Type 2
    • B. Both Type 1 and Type 3
    • C. Both Type 3 and Type 4
    • D. Type 4 only
    • Discuss
    • 10. JDBC stands for:

    • Options
    • A. Java Database Connectivity
    • B. Java Database Components
    • C. Java Database Control
    • D. None of the above is correct.
    • Discuss


    Comments

    There are no comments.

Enter a new Comment