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

Exam (elaborations)

DBI202 Exam |Questions with 100% Correct Answers

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

DBI202 Exam |Questions with 100% Correct Answers

Preview 3 out of 21  pages

  • October 30, 2024
  • 21
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • DBI 202
  • DBI 202
avatar-seller
Examsplug
DBI202 Exam |Questions with 100%
Correct Answers
Relation R(x,y) currently consists of only one tuple (NULL, NULL). Which of the following
queries will produce a nonempty output? That is, at least one tuple will be produced, although
the tuple(s) may have NULL's. - ✔ ✔ SELECT * FROM R WHERE x IS NULL



What operator tests column for the absence of data? - ✔ ✔ IS NULL operator



Choose one correct statement: Two null values are equal Comparisons between two null values, or
between a NULL and any other value, return unknown Comparisons between two null values, or
between a NULL and any other value, return FALSE - ✔ ✔ ----and any other value,
return unknown



A database transaction, by definition, must be ACID (atomic, consistent, isolated and durable).
What does "Durable" mean? - ✔ ✔ "Durable" means that: Transactions that have committed
will survive permanently



A database transaction, by definition, must be ACID (atomic, consistent, isolated and durable).
What does "Isolated" mean? - ✔ ✔ "Isolated" means that: how/when the changes made by
one operation in one transaction become visible to other concurrent operations in other
transactions



Choose the in-correct statement: In SQL Server, every DML operation is a transaction regardless of
whether it has a BEGIN TRANSACTION or not COMMITTING a transaction makes permanent

,the changes resulting from all SQL statements in the transaction ROLLING back a transaction
rejects any of the changes resulting from the SQL statements in the transaction When the
sequence of tasks is complete, the SAVE POINT closes the transaction - ✔ ✔ When the
sequence of tasks is complete, the SAVE POINT closes the transaction



In order to modify or delete an existing constraint, it is necessary that: - ✔ ✔ the constraint has
a name



x <= 100 AND NOT(y >= 15 OR z = 35) have the truth value UNKNOWN? - ✔ ✔ x = NULL, y = 0, z
= 4.



The IN SQL keyword - ✔ ✔ Determines if a value


A ____ is a logically coherent collection of data with some inherent meaning, representing
some aspect of real world and being designed, built and populated with data for a
specific purpose - ✔ ✔ Database



Which of following is never used as a data model? - ✔ ✔ None of the others



A ___ is a notation for describing the structure of the data in a database, along with
the constraints on that data - ✔ ✔ data model



Which statement is used to remove a relation named R - ✔ ✔ DROP TABLE R



Given a relation R(A,B,C,D). Which of the followings is trivial? - ✔ ✔ A-->BCD



Let R(ABCD) be a relation with functional dependencies {A -> B, C -> B, B -> D}What is the key
for R (choose one) - ✔ ✔ AC

, The relation R(ABCD) has following FDs:{ A -> B ; B -> A ; A -> D ; D -> B } - ✔ ✔ R is in 3NF



What is the difference between the 2NF and the 3NF? - ✔ ✔ 2NF deals with partial
functional dependency, while 3NF deals with transitive functional dependency



The key for a weak entity set E is - ✔ ✔ Zero or more attributes of E and key attributes
from supporting entity sets



A class in UML is similar to - ✔ ✔ An entity set in E/R model



An association class in UML is similar to ______ in the ER model - ✔ ✔ attributes on a
relationship



Which of the following is NOT a standard aggregation operator? - ✔ ✔ group



T intersect(R union S) = (T intersect R) union (T intersect S)The above law still hold for
bag relations? - ✔ ✔ false



Choose the correct statement: Aggregate functions perform a calculation on a set of values
and return a single value. Aggregate functions perform a calculation on a single value and
return a single value - ✔ ✔ Aggregate functions perform a calculation on a set of values and
return a single value



SELECT SUM(D) FROM S WHERE D < 8 AND D > 5:a 4 6, c 6 8, c 5 5, e 9 9, F 10 10,c 7 9 - ✔ ✔ 6



(1,2), (1,2), (2,3), (3,4), (3,4), (4,1), (4,1), (4,1), (4,2) : SELECT a1.x, a2.y, COUNT(*) FROM Arc
a1, Arc a2 WHERE a1.y = a2.x GROUP BY a1.x, a2.y; - ✔ ✔ (3,1,2)



A B : 10 x, 30 y, 50 z, 70t, B C D:x 40 60,z 60 80,z 50 50,z 70 90 - ✔ ✔ (30,y) (70,t)

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)

75632 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