Home / CSE / Database System 2 - CS :: JDBC, Java Server Pages, and MySQL

CSE :: Database System 2 - CS

  1. Which JDBC driver Type(s) can you use in a three-tier architecture and if the Web server and the DBMS are running on the same machine?

  2. A.

     Type 1 only

    B.

     Type 2 only

    C.

     Both Type 3 and Type 4

    D.

     All of Type 1, Type 2, Type 3 and Type 4

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. What programming language(s) or scripting language(s) does Java Server Pages (JSP) support?

  4. A.

     VBScript only

    B.

     Jscript only

    C.

     Java only

    D.

     All of the above are supported

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. What servlet processor was developed by Apache Foundation and Sun?

  6. A.

     Apache Tomcat

    B.

     Apache Web server

    C.

     Sun servlet processor

    D.

     None of the above is correct

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. What is bytecode?

  8. A.

     Machine-specific code

    B.

     Java code

    C.

     Machine-independent code

    D.

     None of the above is correct

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. What is invoked via HTTP on the Web server computer when it responds to requests from a user's Web browser?

  10. A.

     A Java application

    B.

     A Java applet

    C.

     A Java servlet

    D.

     None of the above is correct

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. Which JDBC driver Type(s) is(are) the JDBC-ODBC bridge?

  12. A.

     Type 1

    B.

     Type 2

    C.

     Type 3

    D.

     Type 4

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. How many copies of a JSP page can be in memory at a time?

  14. A.

     One

    B.

     Two

    C.

     Three

    D.

     Unlimited

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. Which JDBC driver Types are for use over communications networks?

  16. A.

     Type 3 only

    B.

     Type 4 only

    C.

     Both Type 3 and Type 4

    D.

     Neither Type 3 nor Type 4

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. JDBC stands for:

  18. A.

     Java Database Connectivity

    B.

     Java Database Components

    C.

     Java Database Control

    D.

     None of the above is correct

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. How does Tomcat execute a JSP?

  20. A.

     As a CGI script

    B.

     As an independent process

    C.

     By one of Tomcat's threads

    D.

     None of the above is correct

    View Answer

    Workspace

    Discuss Discuss in Forum