Search Header Logo

DMDB 7

Authored by qzzxfns95h aus

Computers

9th - 12th Grade

Used 29+ times

DMDB 7
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Is A a candidate key given:

R(A,B,C,D,E,F)

A-->B

A-->EF

BE-->CD

Yes

No

Answer explanation

The closure of A includes the whole relation R:

A-->B thus: {A,B}

A-->EF thus: {A,**B,E**,F}

BE-->CD thus {A,B,C,D,E,F}

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is AB a candidate key given the same FDs:

R(A,B,C,D,E,F)

A-->B

A-->EF

BE-->CD

Yes

No

Answer explanation

No. Keys must be minimal. Since A is already a candidate key (= minimal set of attributes), AB is not minimal and thus not a candidate key!

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Is AB a super key given this (different set of FD):

R(A,B,C,D,E,F)

A-->B

A-->F

BE-->CD

Yes

No

Answer explanation

AB is not a superkey, since the closure is not the whole relation!

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is ABC a super key given:

R(A,B,C)

A-->B

Yes

No

Answer explanation

Yes. AC would be a (minimal) candidate key, however as we are interested in a super key, and the whole relation is trivially a superkey, this holds.

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

The main goal(s) of the minimal basis algorithm is to/are to

Reduce the number of functional dependencies

Remove trivial dependencies

Get to a normal form

Ensure data integrity

Retain an equivalent set of functional dependencies

Answer explanation

See the lecture slides! Otherwise: Removing trivial FDs is just a small step in the algorithm. Getting to normal forms needs more than just the minimal basis. Data integrity is not related to the algorithm, but rather to the concept of functional dependencies, ...

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Why are redundancies problematic?

They waste storage space

They need to have application side logic

They introduce UPDATE-Anomalies

They introduce SELECT-Anomalies

Answer explanation

Media Image

Also: Redundancy introduces duplication, which wastes sotrage space and needs application side logic to handle those copies.

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Media Image

Select all valid functional dependencies implied by this ER diagram.

A-->B

AC-->B

BC-->A

AB-->C

C-->B

Answer explanation

Due to the cardinality constraints, given A,C we know B and given BC we know A. Thus, those are the valid functional dependencies.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?