Database Management System 2078

Question Paper Details
Tribhuwan University
Institute of Science and Technology
2078
Bachelor Level / Third Semester / Science
Information Technology ( BIT202 )
( Database Management System )
Full Marks: 60
Pass Marks: 24
Time: 3 hours hours

Section A
Long Answer Questions
Attempt any TWO questions. [2 × 10 = 20]

Official Answer
AI Generated Answer

AI is thinking...

1. What is an E-R Diagram? Explain various symbols used in the E-R Diagram. [3+7]

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

2. What is Transaction? State and explain the properties of Transaction. [2+8]

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

3. From the relation given below, answer the following questions.
EMPLOYEE (Ssn, Fname, Mnit, Name, Bdate, Address, Sex, Salary, Super_ssn, Dno)
DEPARTMENT (Dname, Dnumber, Mgr_ssn, Mgr_start_date)
PROJECT (Pname, Pnumber, Plocation, Dnum)
DEPENDENT (Essn, Dependent_name, Sex, Bdate, Relationship)
DEPT_LOCATIONS (Dnumber, Dlocation)

(a) Retrieve all the attributes of employees who work for the 'Computer' department (department no 5) using SQL.
(b) For each Department, retrieve the department number, the number of employees in department, and their average salary using SQL.
(c) For each project on which more than two employees work, retrieve the project number, name, and the number of employees who work on that project using SQL.
(d) Select the EMPLOYEE tuples whose department is 10, or those whose salary is greater than Rs 50,000 using Relational Algebra.
(e) Retrieve the names of employees who have no dependents using Relational Algebra. [5 × 2]

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

Section B
Short Answer Questions
Attempt any EIGHT questions. [8 × 5 = 40]

Official Answer
AI Generated Answer

AI is thinking...

4. What are different types of Database Users? Explain in Brief. [5]

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

5. What is Primary key and Foreign Key? Why is this required in the DBMS? [5]

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

6. What is Integrity constraint? What are the three main categories of Integrity constraints. [2+3]

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

7. What is Functional Dependency? Explain 3NF with Examples. [5]

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

8. What is Schedule? Explain Serializability and Conflict Schedule. [2+2+1]

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

9. What is starvation in DBMS? Explain with example. [5]

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

10. During ER-to-Relational Mapping, explain with example to map 1:N and N:M relationship into a relation. [5]

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

11. What is NoSQL? What are the types of NoSQL? Explain. [5]

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

12. Explain Data Models, Schemas, and Instances. [5]

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...