Database Management Systems (CS2200) Midterm 2025 Question Paper
RV University Midterm exam for Database Management Systems (CS2200), held 2025, semester 3, with 9 questions. Also searched as DBMS, DB. Last updated 2026-11-14.
Questions
1. Identify, which of the following sets of attributes can be considered a candidate key?Table Employee has attributes: EmpID, EmpName, DeptID, Salary.A. EmpIDB. EmpID, EmpNameC. EmpName, DeptIDD. DeptID, Salary
2. Consider the two statements given belowS1: Existence of multiple candidate keys in the same relation is not possible.S2: There can not exist multiple candidate in the same relation because there can exist multiple primary keys in same relation.Identify the correct option:A. S1 is
3. Given the following relational instance. X Y Z 1 4 2 1 5 3 1 6 3 3 2 2 Identify which of the following FD are satisfied by the instance?A. XY-Z and Z-YB. YZ-X and Y-ZC. YZ-X and X-ZD. XZ-Y and YZ-X
4. The number of tuple will return in the output relation for the below given RA Expression is . [ Fill in the blanks ].( Pi{A,C}( sigma{R1B leftarrow R2C}(R1 times R2)) )
5. Consider a table People with attributes SALARY and NAME. Which of the following are valid queries? [ Multiple answer may be correct ]A. ( sigma{SALARY rightarrow 10 000}(P{NAME}(People)) )B. ( Pi{NAME}(O{SALARY rightarrow 10 000}(P{SALARY}(People)) )C. ( Pi{NAME}(O{SALARY rightar
6. A. Write a short note on following terms with the help of suitable examples- Generalization VS SpecializationB. Examine the given ER Diagram Convert the ER Model into a relational schema with the minimum number of tables.
7. A. Compare the concepts of Left Outer Join, Right Outer with the help of suitable example. B. Provide the relational algebra expressions for the following queries and describe the resulting outputs:Given Relations: R(S1) R(S2)1. Retrieve the values of column B from R(S1) where A
8. A. Given the following relational schema:Customers (CustomerID, Name, Email)Orders (OrderID, CustomerID, OrderDate)You need to enforce the following given primary key and foreign key constraints in the schema. Write the SQL statements to apply these constraints. B. Given the foll
9. A. Explain the term "functional dependency" in the context of relational databases and