JDBC, Java Server Pages, and MySQL – General Questions

11. 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?

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

Correct Answer:  D. All of Type 1, Type 2, Type 3 and Type 4
Advertisement

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

A. VBScript only
B. Jscript only
C. Java only
D. All of the above are supported

Correct Answer:  C. Java only
Advertisement

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

A. Apache Tomcat
B. Apache Webserver
C. Sun servlet processor
D. None of the above is correct.

Correct Answer:  A. Apache Tomcat
Advertisement

14. What is bytecode?

A. Machine-specific code
B. Java code
C. Machine-independent code
D. None of the above is correct.

Correct Answer:  C. Machine-independent code
Advertisement

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

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

Correct Answer:  C. A Java servlet
Advertisement

Leave A Comment?