Self Studies

Databases Test ...

TIME LEFT -
  • Question 1
    1 / -0

    Consider a relation R(ABCDE) and the primary key is A E. In the given relational schema which of the following is not a superkey?

  • Question 2
    1 / -0

    Consider the relation R(X, Y, Z, W, V) in which X, Y, Z, W, and V are the attributes and the following set of functional dependencies

    A = { {X, Y} → {Z, W},  {X, W, V} → {Q, R}  }

    Which of the following is the trivial functional dependency in A+, where A+ is closure of A?

  • Question 3
    1 / -0

    Let R1(a, b, c) and R2(x, y, z) be two relations in which a is the foreign key of R1 that refers to the primary key of R2. Consider following four options.

    (a) Insert into R1

    (b) Insert into R2

    (c) Delete from R1

    (d) Delete from R2

    Which of the following is correct about the referential integrity constraint with respect to above?

  • Question 4
    1 / -0

    Consider the relational schema R(A B C D) with following functional dependency set F = {A → BC, C → D}; The relation R is in _____

  • Question 5
    1 / -0

    Suppose T1(P, Q) and T2(R, S) are two relation schemas. Let t1 and t2 be the corresponding relation instances. R is a foreign key that refers to P inT1. If data in t1 and t2 satisfy referential integrity constraints, which of the following is/are always true?

    I. ∏R (t2) – ∏P(t1) = Φ

    II. ∏P(t1) ≠ ∏R(t2)

    III. ∏P (t1) – ∏R (t2) = Φ

  • Question 6
    1 / -0

    Consider the relational schema R = (P, Q, R, S, T, U) on which the following functional dependencies hold:

    F = {P ➝ Q, QR ➝ S, T ➝ R, S ➝ P}

    How many candidate keys are present in R?

  • Question 7
    1 / -0

    Which of the following statements are not correct?

    S1: 3NF decomposition is always Lossless join and dependency preserving.

    S2: 3NF decomposition is always lossless join but may or may not be dependency preserving.

    S3: BCNF decomposition always lossless join and dependency preserving.

    S4: BCNF decomposition is always lossless join but may or may not be dependency preserving

  • Question 8
    1 / -0

    Consider the schem a a r(A, B, C, D, E) with the following functional dependencies:

    A → BC

    CD → E

    B → D

    E → A

    The decomposition of the schema into r1(A, B, C) and r2(A, D, E) is _________.

  • Question 9
    1 / -0

    Which of the following is/are false for the relational table R?

    I. In BCNF, R has a nontrivial functional dependency Y → X, where Y is not a superkey and X is a prime attribute.

    II. In 3NF, R has a nontrivial functional dependency Y → X, where Y is not a superkey and X is a non-prime attribute and Y is a proper subset of some key.

    III. In 2NF, R has a nontrivial functional dependency Y → X, where Y is a superkey.

Submit Test
Self Studies
User
Question Analysis
  • Answered - 0

  • Unanswered - 9

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
Submit Test
Selfstudy
Selfstudy
Self Studies Get latest Exam Updates
& Study Material Alerts!
No, Thanks
Self Studies
Click on Allow to receive notifications
Allow Notification
Self Studies
Self Studies Self Studies
To enable notifications follow this 2 steps:
  • First Click on Secure Icon Self Studies
  • Second click on the toggle icon
Allow Notification
Get latest Exam Updates & FREE Study Material Alerts!
Self Studies ×
Open Now