cs581 - Database Management Systems - 2025 fall

Course webpage for cs581 - 2025 fall taught by Boris Glavic

Final Exam

Tuesday, Dec 9, 2025 ,2:00pm - 4:00pm,CDRLC 4426

The exam will be closed books and closed notes. The topics have been covered in homework assignments 1 + 2. The exam will be designed to take 120 minutes to complete.

Topics

  • Storage

    • Compute disk access costs.
    • Answer questions about organization of data on disk:

      • How to represent pointers to tuples? pointer swizzling?
      • How to organize tuples on pages (fixed size vs. variable size, NULL values)?
      • How to deal with insertions, updates, deletions?
      • How to manage free-space?
  • SQL: Write SQL queries and evaluate them.
  • Relational algebra

    • Write relational algebra expressions.
    • Translate SQL into relational algebra.
    • Equivalences.
  • Index structures

    • B-trees and B+-trees: Execute operations on such trees (insert,delete) and answer questions about their properties (e.g., number of children).
    • Hash indicies: Execute operations on hash indicies (insert, delete) and answer general question about these data strcutures (e.g., when to rebuild a directory for extensible hashing).
  • Logical query optimization

    • Result size estimation.
  • Implementations of relational operators and their I/O cost and runtime complexity

    • Joins: Nested Loop variants, Merge join, Hash join.
    • Aggregation, Set-operations, Scans.
  • Schedules

    • Classes of Schedules
    • Determining whether a schedule belongs to a certain class
    • Given a set of transactions create a schedule of a certain class

Past Exams