JDBC, Java Server Pages, and MySQL – General Questions

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

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

Correct Answer:  A. Type 1

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

A. One
B. Two
C. Three
D. Unlimited

Correct Answer:  A. One

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

A. Type 3 only
B. Type 4 only
C. Both Type 3 and Type 4
D. Neither Type 3 nor Type 4

Correct Answer:  C. Both Type 3 and Type 4

19. JDBC stands for:

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

Correct Answer:  A. Java Database Connectivity

20. How does Tomcat execute a JSP?

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

Correct Answer:  C. By one of Tomcat’s threads

Leave A Comment?

twenty + 18 =