• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 5 pages
Exam (elaborations)

CS6400 Exam Prep Questions and Answers Verified 100% Correct

Document preview thumbnail
Preview 2 out of 5 pages

CS6400 Exam Prep Questions and Answers Verified 100% Correct

Content preview

CS6400 Exam Prep Questions and Answers
Verified 100% Correct
what many superkeys can be a relation? - ✔✔degree of relation



what is a domain? - ✔✔domain is the array of possible values a attribute can have



how is domain different from type? - ✔✔type is the kind of values, while domain is the
array of values within that kind. Example: type of 'color' would have domain of {"red, blue,
red.....}



Can multiple domains exist in a relation? - ✔✔Yes, example: if multiple integers existed,
then the domain of all positive/negative integers would be present



Can multiple primary keys exist? - ✔✔No, but a primary key can consist of
multiple candidate keys, and within the primary key can exist multiplesuperkeys


How many unique fields can exist in the following:
candidate key:
superkey:

primary key: - ✔✔1.) 1
2.)

3.) 1 or more


In the relation R(A1,A2,A3), how many of the following can exist?

, Candidate:
Superkey:

primary key: - ✔✔1.) Do not know because their is no uniqueness constraint
2.)



with the following binary operation, R x S, what is the resulting # of tuples? - ✔✔



by default, how many superkeys are in a relation - ✔✔1, all of the attributes together



superkey vs minimal superkey? - ✔✔TYpically superkey



If R(A1, A2, A3,A4) is a relation and A1 is a primary key, how many super keys are there -
✔✔It will alwyas be: the Primary key + Primary key & another column combinations; so
with the following
1.) A1
2.) A1, A2
3.) A1, A3
4.) A1, A4
5.) A1,A2,A3
6.) A1, A3, A4
7.) A1,A2,A3,A4



minimal superkey vs candidate key? - ✔✔They are the same



If R(A1, A2, A3,A4) is a relation and A1 and A2 are a primary key, how many super keys
are there - ✔✔1.) A1, A2
2.) A1, A2, A3
3.) A1, A2, A4

Document information

Uploaded on
November 26, 2024
Number of pages
5
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$11.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
KenAli
2.6
(18)
Sold
118
Followers
5
Items
25335
Last sold
1 day ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions