100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
DBI202 Final Exam |Questions with 100% Correct Answers $13.29   Add to cart

Exam (elaborations)

DBI202 Final Exam |Questions with 100% Correct Answers

 3 views  0 purchase
  • Course
  • DBI 202
  • Institution
  • DBI 202

DBI202 Final Exam |Questions with 100% Correct Answers

Preview 3 out of 27  pages

  • October 30, 2024
  • 27
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • DBI 202
  • DBI 202
avatar-seller
Examsplug
DBI202 Final Exam |Questions with 100%
Correct Answers

Which of the following expression is equivalent to the intersection of R and S:
Select one:
a. R - S
b. S - (R - S)
c. R - (S - R)

d. R - (R - S) - ✔ ✔ d



With SQL, how do you select all the records from a table named "Persons" where
the "LastName" is alphabetically between (and including) "Nguyen" and "Tran"?
Select one:
a. SELECT LastName>'Nguyen' AND LastName<'Tran' FROM Persons

b. SELECT * FROM Persons WHERE LastName>'Nguyen' AND LastName<'Tran'
c. None of the others.

d. SELECT * FROM Persons WHERE LastName BETWEEN 'Nguyen' AND 'Tran' - ✔ ✔ d


Which of the followings has the same meaning as referential integrity constraint?
Select one:
a. Foreign key constraint
b. Attribute based constraint

,c. Tuple based constraint

d. Entity based constraint - ✔ ✔ a


An attribute A is called the key of relation R if __________
Select one:
a. Its closure includes all attributes of relation R
b. It functionally determines all the other attributes of relation R

c. There are no two tuples that have the same values on the A component
d. All of the others - ✔ ✔ d



Which of the followings is right about DML ?
Select one or more:
a. All of the others
b. Use to retrieve, insert, update, and delete

c. No affect on the content of the database or extract data from
database d. No affect on the schema of the database - ✔ ✔ b, d



suppose that :
-A relation Movies(ID, name, type)

-ID is a key attribute and name, type are not key
attributes - t1, t2 are two instances of Movies
What relation algebra is used to express a key constraint on Movies?
Select one:

a. st1.ID¹t2.ID AND t1.name=t2.name AND t1.type=t2.type (t1 x t2)=Æ
b. t1.ID=t2.ID AND t1.name¹t2.name AND t1.type¹t2.type (t1 x t2)=Æ
c. st1.ID=t2.ID AND t1.name=t2.name AND t1.type=t2.type (t1 x t2)=Æ

d. st1.ID¹t2.ID AND t1.name¹t2.name AND t1.type¹t2.type (t1 x t2)=Æ - ✔ ✔ b

, Choose a right statement to describe about functional dependency.
Select one:
a. all of others

b. constraints between two sets of attributes of a
relation c. a functional dependency is written like X->Y

d. A set of attributes X (A1,A2,..,An) in R determines another set of attributes Y also in R if and
only if each X value is associated with precisely one Y value. - ✔ ✔ a


Which of the followings evolves to information integration?
Select one:
a. None of the others
b. Datawarehouse
c. Database

d. Online Analytical Processing - ✔ ✔ b


Which of the following statements can be used in PSM's body?
Select one:
a. Update statement
b. Delete statement
c. Insert statement

d. All of the others - ✔ ✔ d


Which of the following constructs can be used in PSM?
Select one or more:
a. FOR ... DO ...
b. WHILE .... DO ...

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

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

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

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 Examsplug. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $13.29. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

81989 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$13.29
  • (0)
  Add to cart