Database - JDBC, Java Server Pages, and MySQL

Exercise :: JDBC, Java Server Pages, and MySQL - General Questions

6. 

________ is an open source DBMS product that runs on UNIX, Linux and Windows.

A. MySQL
B. JSP/SQL
C. JDBC/SQL
D. Sun ACCESS

Answer: Option A

Explanation:

No answer description available for this question. Let us 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?

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

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.

8. 

What MySQL property is used to create a surrogate key in MySQL?

A. UNIQUE
B. SEQUENCE
C. AUTO_INCREMENT
D. None of the above -- Surrogate keys are not implemented in MySQL.

Answer: Option C

Explanation:

No answer description available for this question. Let us discuss.

9. 

What is not true of a Java bean?

A. There are no public instance variables.
B. All persistent values are accessed using getxxx and setxxx methods.
C. It may have many constructors as necessary.
D. All of the above are true of a Java bean.

Answer: Option C

Explanation:

No answer description available for this question. Let us discuss.

10. 

A JSP is transformed into a(n):

A. Java applet.
B. Java servlet.
C. Either 1 or 2 above.
D. Neither 1 nor 2 above.

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.