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

CS 6400 Exam 4 Complete Questions And 100% Verified Answers Brand New Version Graded A+

Document preview thumbnail
Preview 3 out of 16 pages

CS 6400 Exam 4 Complete Questions And 100% Verified Answers Brand New Version Graded A+

Content preview

CS 6400 Exam 4 Complete Questions And 100%
Verified Answers Brand New Version Graded
A+


Multilevel index -- B+ tree - {✔✔Resolution Result Verified Answers ✔✔}-
Insertion, deletion, and update operations are implemented to keep the tree
balanced


Only rarely does an overflow at a lower level of the tree propagate more than 1-2
levels up



Static Hashing - {✔✔Resolution Result Verified Answers ✔✔}-You have a
very large space of key values
(for example: Email addresses of regular users)


Hash function h Job of the hash function is to take keys from the key value space
and match them into an address in a bucket directory



Good hash function properties - {✔✔Resolution Result Verified Answers
✔✔}-Distribute values uniformly over the address space


Fill buckets as much as possible because it takes more than just a few blocks, and
therefore needs to be stored somewhere and therefore a piece of it might be
stored on disk and itself be subject to being ported between disk and memory

,Avoid collisions -- Collisions occur when the hash function maps the actual keys
that occur to the same space too many times



What does a hash function do - {✔✔Resolution Result Verified Answers
✔✔}-maps a key to an address


In that address, sits a block address that points to a data block


On that data block, we stick that first record which had the key and proceed


If an address is hit again (collision), we can chain


The more data we insert with the same bucket directory size, the longer the list of
blocks will be



Lookup time with static hashing - {✔✔Resolution Result Verified Answers
✔✔}-Costs one block access to get it to memory
Following the pointer, it will take another block access to get to the data


Total = 1-2s
Constant: (1-2) * 0.01s = 0.01 to 0.02s if bucket directory is in main memory


Dynamic hashing expands bucket directory when needed

, Redundancy - {✔✔Resolution Result Verified Answers ✔✔}-Leads to
inconsistency
Database can be useless from the point of view of understanding repetitive fields



Insertion anomaly - {✔✔Resolution Result Verified Answers ✔✔}-occurs
when certain attributes cannot be inserted into the database without the
presence of other attributes, leads to many NULL values or duplicates



Deletion anomaly - {✔✔Resolution Result Verified Answers ✔✔}-deleting
rows may cause a loss of data that would be needed for other future rows



Update anomaly - {✔✔Resolution Result Verified Answers ✔✔}-improper
database organization where a non-primary key item is stored multiple times;
updating the item in one location and not the others causes data inconsistencies


redundant data may not be properly updated


Information loss in normalization - {✔✔Resolution Result Verified Answers
✔✔}-getting more or less information from decomposing a relation into
smaller tables that doesn't reflect reality



Dependency Loss in normalization - {✔✔Resolution Result Verified Answers
✔✔}-If we decompose a table into multiple tables, then we cannot enforce the
functional dependencies, or may lose the ability to enforce them, that are split
between the two relations

Document information

Uploaded on
October 7, 2026
Number of pages
16
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$24.49

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.
Tutoringclass
4.0
(275)
Sold
142
Followers
60
Items
2565
Last sold
6 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