
DMDB 7
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Medium
qzzxfns95h aus
Used 29+ times
FREE Resource
Enhance your content in a minute
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
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
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Activity 1: How well do you know Java?
Quiz
•
9th Grade
12 questions
Wee Word Intro
Quiz
•
7th - 12th Grade
10 questions
Evaluación Final UNDECIMO 11
Quiz
•
11th Grade
12 questions
Excel - Taller Office 365
Quiz
•
9th Grade
10 questions
NHTW Programming
Quiz
•
9th Grade
9 questions
Test Excel
Quiz
•
10th - 12th Grade
10 questions
Câu hỏi trắc nghiệm Tin Học 10 - Bài 10
Quiz
•
10th Grade
12 questions
Основы алгебры логики
Quiz
•
10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
