JDBC   «Prev  Next»

JDBC Architecture and Models - Quiz

Select the best answer for each question.
1. Dr. Tucano understands that JDBC can provide many benefits for the system you will create. Which of the following is NOT a benefit of using JDBC?
Please select the best answer.
  A. Systems built with JDBC are relatively easy to move to different platforms.
  B. JDBC programs are largely independent of the database to which they are connected.
  C. JDBC programs are tightly integrated with the server operating system.
  D. JDBC programs can be written to connect with a wide variety of databases.

2. You are in the meeting with Dr. Tucano, who likes the illustration of the JDBC architecture. How would you summarize the programmatic interaction between the application, JDBC, and the database in a two-tier model?
Please select the best answer.
  A. A call is issued by JDBC to connect to the database; a SELECT statement is issued; and JDBC processes the result set back to the client application.
  B. A call is issued by JDBC to connect to the database; a SELECT statement is issued; and JDBC processes the result set back to the server.
  C. A JDBC call is issued by the client application to connect to the database; a SELECT statement is issued; and JDBC returns a result set to the client application.
  D. A call is issued by the server to connect to the database;, a SELECT statement is issued, and JDBC processes the result set back to the client application.



3. In which layer of the JDBC architecture does the JDBC-ODBC bridge reside?
Please select the best answer.
  A. It resides in the client program layer.
  B. It resides in the database layer.
  C. It resides in both the client program and database layers.
  D. It resides in the JDBC layer.

4. Which database application model would an enterprise-wide solution most likely adopt?
Please select the best answer.
  A. The monolithic model
  B. The two-tier model
  C. The n-tier model
  D. The didactic model

Your score is 0.0