100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

CS6400 Exam Prep Questions Solved 100% Correct | Verified Answers

Rating
-
Sold
-
Pages
13
Grade
A+
Uploaded on
16-11-2024
Written in
2024/2025

CS6400 Exam Prep Questions Solved 100% Correct | Verified Answers

Institution
CS6400
Course
CS6400









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
CS6400
Course
CS6400

Document information

Uploaded on
November 16, 2024
Number of pages
13
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

CS6400 Exam Prep Questions Solved 100% Correct |
Verified Answers

How do we guarantee lossless joins? - ✔✔The join field must be a key in at least one of the
relations



How do we guarantee preservation of functional dependencies? - ✔✔The meaning implied
by the remaining functional dependencies must be the same


In a transitive dependency, even though we don't see Email --> Salary explicitly, we see it
implicitly with transitivity



3NF and BCNF - ✔✔There does exist relations which can only be decomposed into 3NF, but
not to BCNF, while being lossless and dependency preserving


It can only happen when the relation has overlapping keys



Main Memory (RAM - Random Access Memory) - ✔✔is volatile, fast, small, and expensive



Secondary Memory -- Disk - ✔✔permanent, slow, big and cheap



Computer Architecture - ✔✔Applications run by the CPU can only query and update data in
main memory


Data must be written back to secondary memory after it is updated


Only a small fraction of a real database fits in main memory

, necessary to have buffer management programs (BUS) that will allow us to transport the data
from disk to main memory when it is to be operated on, and written back again


vast majority of the database will be stored on disk



Main Memory access time - ✔✔30 nanoseconds (.3 x 10^-7 sec)



Disk access time - ✔✔10 milliseconds (1 x 10^-2 sec)


is 5 orders of magnitude slower than main memory


In the amount of time it would take to do a single disk access, it would take 3 x 105 main
memory accesses


The time difference is so large that when we do cost computations (CPU) in database access we
completely ignore the amount of computing time that is spent in main memory and we count
only disk access time (I/O cost)



Records - ✔✔It is possible to store several records on a single block


2 ways of thinking about a block that might not fill a complete record at the end -
✔✔spanned representation


unspanned representation


If record sizes are larger than block sizes, you don't have a choice and must use spanned



Spanned representation - ✔✔break up the record across two blocks

Get to know the seller

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.
QUINTER New York College Of Dentistry
View profile
Follow You need to be logged in order to follow users or courses
Sold
347
Member since
2 year
Number of followers
104
Documents
38567
Last sold
2 days ago

3.5

58 reviews

5
26
4
8
3
7
2
1
1
16

Recently viewed by you

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

Frequently asked questions