Question: Please help me with these questions regarding JDBC and XML. 1) Which statement about JDBC is true? a) JDBC is an API to access no

Please help me with these questions regarding JDBC and XML.

1)

Which statement about JDBC is true?

a) JDBC is an API to access no relational databases

b) JDBC is an API to connect relational, object and xmldatabases

c) JDBC stands for Java Database Connectivity

d) JDBC is an API to bridge the object-relational mismatchbetween OO programs and relational databases

2)

Match each resource type with its best description(there is1 resource type per description):

a) Represents the socket between client and server

Statement PreparedStatement ResultSet Connection

b) Represents a query to the database

Statement PreparedStatement ResultSet Connection

c) Corresponds to a cursor in the database server

Statement PreparedStatement ResultSet Connection

d) Represents a pre-compiled and/or parameterized query

Statement PreparedStatement ResultSet Connection

3)

Which of the following are not benefits of XML over traditionalrelational data modeling?

a) Support for Large Objects (LOBs)

b) XML is readable and understandable, even by novices, and nomore difficult to code than HTML.

c) XML is extendable.

d) Ability to extend the type system using DTDsor XMLSchemas

4)

When XML is used as a DDL, we want to ensurethe XML conforms to this so structural constraints may bespecified:

a) DTD or XML Schema

b) XPath

c) well-formedness

d) SQL2006 extensions

Step by Step Solution

3.45 Rating (155 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

1 Correct Answer JDBC stands for Java Database Connectivity ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!