Assignment 2
Assignment 2
Database System
Assignment# 01
Program: BSCS Section: C
Instructions
Assignment should be hand-written.
All the questions are to be attempted on A4 blank pages. You are required to submit this
assignment in hard form. Questions not done on A4 blank pages will not be considered.
Keep the questions in order. Not following the proper order will result in marks deduction.
Plagiarism will not be tolerated, either done from the internet or from any fellow classmate
and will lead to zero or negative marks in the assignment.
Due Date of this assignment is 14 October 2024 till 11:30. Assignment is to be submitted
in the lecture. No late submissions will be accepted.
1. Explore Aggregation & Grouping Operations in Relational Algebra also implement these
functions with appropriate examples.
2. Describe the tuple and domain in relational calculus .
3. Compare and contrast TRC and DRC, focusing on their syntax, semantics, and use cases
in database queries. Provide examples of queries in both formats.
4. Define the concepts of free and bound variables in Domain Relational Calculus and
explain their significance with a query example.
Good luck 😊