• 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 4 out of 38 pages
Exam (elaborations)

CS6400 - Final Exam Complete Questions And 100% Verified Answers Graded A+

Document preview thumbnail
Preview 4 out of 38 pages

CS6400 - Final Exam Complete Questions And 100% Verified Answers Graded A+

Content preview

.




CS6400 - Final Exam Complete
Questions And 100% Verified Answers
Graded A+


Waste of storage space - {✔✔Resolution Result Verified Answers ✔✔}-due
to NULLs and the difficulty of performing selections, aggregation operations, and
joins due to NULL values



A functional dependency (A->B) - {✔✔Resolution Result Verified Answers
✔✔}-occurs when the attribute A uniquely determines B. A = left-hand side,
B=right-hand-side.
-is a property of the semantics or meaning of the attributes.



FD or f.d. - {✔✔Resolution Result Verified Answers ✔✔}-abbreviation for
functional dependency


Candidate Key - {✔✔Resolution Result Verified Answers ✔✔}-An attribute,
or combination of attributes, that uniquely identifies a row in a relation.



legal relation states (or legal extensions) of R - {✔✔Resolution Result Verified
Answers ✔✔}-Relation extensions r(R) that satisfy the functional dependency
constraints

,FD cannot be inferred automatically - {✔✔Resolution Result Verified Answers
✔✔}-must be defined explicitly by someone who knows the semantics of the
attributes of R.

Bitmap indexing - {✔✔Resolution Result Verified Answers ✔✔}-another
important type of indexing
used for querying by multiple keys and is particularly applicable on fields with a
small number of unique values.



Grid files - {✔✔Resolution Result Verified Answers ✔✔}-organize data into
buckets along multiple dimension



The number of blocks needed for the file - {✔✔Resolution Result Verified
Answers ✔✔}-is b = ⎡(r/bfr)⎤, r - number of records, bfr - blocking factor



The reflexive rule (IR1) - {✔✔Resolution Result Verified Answers ✔✔}-if Y is
part of X, then X →Y. . can also be stated as X → X; that is, any set of attributes
functionally determines itself.



The augmentation rule (IR2) - {✔✔Resolution Result Verified Answers ✔✔}-
adding the same set of attributes to both the left- and right-hand sides of a
dependency results in another valid dependency. can also be stated as
X → Y |= WX → WY



IR3 - {✔✔Resolution Result Verified Answers ✔✔}-functional dependencies
are transitive

,What is the blocking factor? - {✔✔Resolution Result Verified Answers ✔✔}-
maximum number of records which can be placed in one block.
=block size/size of each record



How many blocks is track consist of? - {✔✔Resolution Result Verified Answers
✔✔}-track size/block size


How many unspanned records can be stored in one track of this file? -
{✔✔Resolution Result Verified Answers ✔✔}-number of blocks * blocking
factor


How much time would it take, on the average, to read one track worth of data
from disk to main memory (RAM) at one time? - {✔✔Resolution Result Verified
Answers ✔✔}-number of blocks*transfer time per block + average seek time +
average rotational delay


How many buckets would be needed to store the unspanned records if each
bucket consists of 5 consecutive blocks? - {✔✔Resolution Result Verified
Answers ✔✔}-Each block can fit 66 records.
A bucket contains 5 blocks and if only 80% full in a bucket, we can only use 4
blocks, because 5 * 0.8 = 4
Now, each bucket can fill 66 * 4 = 264 records.
So at the end, 132,000,000 records would result in 132,000,000 (records) / 264
(records/bucket) = 500,000 buckets.



closure - {✔✔Resolution Result Verified Answers ✔✔}-To determine the
closure we should go through all dependencies in the given set of F and add to

, the starting set of attributes all those which are derived from it using each of the
dependencies.



determinant - {✔✔Resolution Result Verified Answers ✔✔}-a set of
attributes on which some other attribute is fully functionally dependent.



secondary memory - {✔✔Resolution Result Verified Answers ✔✔}-DISK, is
permanent, slow, big and cheap



lookup time - {✔✔Resolution Result Verified Answers ✔✔}--N/2 for linear
search, where N = #data blocks
N/2 * 0.01s (default)
-log2(N) for binary search * 0.01s



lookup time with primary index - {✔✔Resolution Result Verified Answers
✔✔}--log2(n) + 1 where n = #index blocks
-sparse: log2(#data blocks/fanout)+1*0.01s
-dense: log2(#records/fanout)+1)*0.01s



lookup time with secondary index - {✔✔Resolution Result Verified Answers
✔✔}--log2(n) + 1 where n = #index blocks
-dense: log2(#records/fanout)+1)*0.01s



lookup time with multi-level index - {✔✔Resolution Result Verified Answers
✔✔}--logfanout(n)+1

Document information

Uploaded on
October 7, 2026
Number of pages
38
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$23.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.
Tutorclass
4.0
(275)
Sold
142
Followers
60
Items
2558
Last sold
3 days 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