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
Advertisement

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
Advertisement

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
Advertisement

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
Advertisement

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
Advertisement

Leave A Comment?