logo

CuriousTab

CuriousTab

Discussion


Home Database JDBC, Java Server Pages, and MySQL Comments

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

  • Correct Answer
  • Both Type 3 and Type 4 


  • JDBC, Java Server Pages, and MySQL problems


    Search Results


    • 1. Who invented Java?

    • Options
    • A. Netscape
    • B. Microsoft
    • C. Sun
    • D. None of the above is correct.
    • Discuss
    • 2. 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
    • 3. ________ 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
    • 4. 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
    • 5. 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
    • 6. JDBC stands for:

    • Options
    • A. Java Database Connectivity
    • B. Java Database Components
    • C. Java Database Control
    • D. None of the above is correct.
    • Discuss
    • 7. What is sent to the user via HTTP, invoked using the HTTP protocol on the user's computer, and run on the user's computer as an application?

    • Options
    • A. A Java application
    • B. A Java applet
    • C. A Java servlet
    • D. None of the above is correct.
    • Discuss
    • 8. How many copies of a JSP page can be in memory at a time?

    • Options
    • A. One
    • B. Two
    • C. Three
    • D. Unlimited
    • Discuss
    • 9. What is bytecode?

    • Options
    • A. Machine-specific code
    • B. Java code
    • C. Machine-independent code
    • D. None of the above is correct.
    • Discuss
    • 10. What is invoked via HTTP on the Web server computer when it responds to requests from a user's Web browser?

    • Options
    • A. A Java application
    • B. A Java applet
    • C. A Java servlet
    • D. None of the above is correct.
    • Discuss


    Comments

    There are no comments.

Enter a new Comment