Written Assignments

TitleDue DateMaterial
Assignment 1Feb 5, 2025 @ 23:59ER-Model
Assignment 2Feb 12, 2025 @ 23:59Relational Algebra & SQL
Assignment 3Feb 26, 2025 @ 23:59File Organization
Assignment 4Mar 5, 2025 @ 23:59Indexing
Assignment 5Mar 22, 2025 @ 23:59Hash Index & Sorting
Assignment 6Apr 4, 2025 @ 23:59Query Optimization
Assignment 7Apr 12, 2025 @ 23:59Transaction & Locks
Assignment 8--Normalization

Project Assignments

Programming Assignment 1.1

In this assignment, you will extend your work from Problem 3 of Written Assignment 1, where you designed an Entity-Relationship Diagram (ER Diagram) for an IMDb-like movie database. Now, you will focus on implementing the database and building a functional website that connects to a MySQL database. More details on the project, including guidelines and requirements, can be found here. Please review the document carefully and start early to ensure smooth progress.

Programming Assignment 1.2

For the final task of Project 1, update the queries.py file so that it executes a series of queries from the front end to the database, displaying the results in the UI. To get started, read the project document file from the Piazza resource page by clicking here. Please read the accompanying document carefully and begin your work as soon as possible.

Programming Assignment 2

In this task, you will carry out several exercises involving the optimization of relational queries using the PostgreSQL query optimizer and the visualization command EXPLAIN. You need to read parts of the PostgreSQL documentation to be able to complete this task. Use the Azure Support Manual file from the Piazza resource page for Azure Virtual Machine setup. Please read the document carefully and begin your work as soon as possible.