CS 430 Exam 5 Practice Questions and
Answers
A trigger is a procedure that is automatically invoked by the DBMS in response to a specified change to
the database. - Ans:-True
Recursion is not allowed in SQL. - Ans:-False
A special tool - called mdata - is used to support metadata retrieval suc...
rs.getString("name") and rs.getString(1) are equivalent if which of the following is true. - Ans:✔✔-name
is the first argument of the select result
Instead of executing a separate action in a trigger for each affected row, a single action can be executed
for all rows affected by a transaction. - Ans:✔✔-True
Which of the following are approaches to accessing DQL from a general-purpose language? - Ans:✔✔-- A
general purpose program can connect to a database server using a collection of functions.
- Embedded SQL
You can get the primary key of a relation by querying which of the following: - Ans:✔✔-Metadata
A trigger should not be used when loading data from a backup copy due to the risk of unintended
execution. - Ans:✔✔-True
JDBC is a Java API for communicating with database systems supporting SQL. - Ans:✔✔-True
By default, in JDBC each block of SQL statements (Start, end) is treated as a separate transaction that is
committed automatically. - Ans:✔✔-False
Identify the model for communicating with the database. - Ans:✔✔-- Execute queries using the
statement object.
- Open a connection
Page 2/6
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller GraceAmelia. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $9.99. You're not tied to anything after your purchase.