
DMDB 7

Quiz
•
Computers
•
9th - 12th Grade
•
Medium

qzzxfns95h aus
Used 29+ times
FREE Resource
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.
Similar Resources on Wayground
10 questions
تصميم موقع ويب-أصيلة البوصافي

Quiz
•
10th Grade
10 questions
TIN 11 BAI 6

Quiz
•
12th Grade - University
10 questions
Bài thường xuyên số 3 Tin 10

Quiz
•
10th Grade
10 questions
<HTML> Etichete </HTML>

Quiz
•
11th Grade
10 questions
Understanding Database Normalisation Concepts

Quiz
•
11th Grade - University
10 questions
Operators in Java

Quiz
•
9th Grade
10 questions
Информатика 11 сынып HTML

Quiz
•
1st - 12th Grade
10 questions
Instrucțiuni simple

Quiz
•
9th - 11th Grade
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
30 questions
Computer Terminology Exercise #1 ( Fill Ins)

Quiz
•
9th Grade
15 questions
MLA Formatting

Quiz
•
9th Grade
20 questions
Typing Practice

Quiz
•
7th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
20 questions
Google Sheets Quiz

Quiz
•
9th Grade