CSE 511 Week 2 Exam Questions With
Verified And Updated Answers
Describe a file - answer✔Logical collection of data physically stored as a set of pages
Name 3 alternative file organizations - answer✔1. Heap files
2. Sorted files
3. indexes
Describe the characteristics of heap files - answer✔Heap files have a header page and then a
series of data pages connected and in a random order. Suitable when accessing a large
proportion of stored records, bulk loading datas. Not efficient for selective queries or sorting
Describe the characteristics of index files - answer✔Speeds up selections on search key fields.
Think about B+ trees where non-leaf pages have index entries, only used to direct searches
Correct order of processing speed of major units in a computer from fastest to slowest -
answer✔1. CPU
2. Cache
3. Memory
4. Hard Disk
What is the name of the software component in a computer that loads pages from hard disk in
to memory? - answer✔Buffer Manager
What is a benefit of hash-based index - answer✔Good for equality selection queries. If you
want to select a specific attribute in a database with a specific condition (eg age = 10)
What is a benefit of a tree-based index - answer✔Good for range selections
High level differences clustered vs unclustered index - answer✔The sorting is different.
Clustered is ordered, Unclustered is not
1|Page
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller TheStar. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $10.49. You're not tied to anything after your purchase.