We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4
PART-A
1. What is the use of group by clause?
2. List down the components of storage manager. 3. List the table modification commands in SQL? 4. Mention all the operations of files. 5. Enlist the categories of SQL Commands. 6. Difference between Serial Schedule and Serializable Schedule 7. How concurrency control works in transaction? 8. Define Query processing? 9. Does ETL happen in Real-Time? 10. Why do we need data types in DBMS? 11. What is the primary purpose of a data mart, and how does it relate to an Enterprise Data Warehouse? 12. What is Data Definition Language? Give example. 13. Define a foreign key with example. 14. Outline the steps involved in Query Processing. 15. What is serializability? 16. How does the object-oriented data model differ from the relational data model? 17. List the transaction states. 18. What are the major drawbacks of File Processing System? 19. Mention all the operations of files. 20. When will you use HAVING Clause in SQL 21. What is the Object-Oriented Data Model? 22. What are the secondary storage devices available? 23. List out the characteristics of B+ tree. 24. What is the purpose of the PRIMARY KEY constraint in a relational database, and how does it differ from the FOREIGN KEY constraint? 25. How would you use the INSERT command to add a new row to a table named Employees with columns ID, Name, and Position? 26. Write a SQL query to count the number of rows in a table named Orders. 27. Define Concurrency process. 28. Explain the use of the GROUP BY clause in SQL. 29. What is linked allocation and its advantage. 30. Why are complex data types needed in modern databases?
PART-B
1. What are the different types of file organization in DBMS?
2. Distinguish between B+ tree and B - tree. 3. Consider the Employee Database Employee (emp_name, street, city, date_of_joining) Works (emp_name, company_name, salary) Company (company_name, city) Manager (emp_name, manager_name) i. Modify the database so that “Deepa” lives in “Pune”. ii. Give all employees of “XYZ corporation” a 10% rise in salary. iii. Display all employees who joined in the month of”march”. 4. Briefly explain about Database system architecture. 5. Given a relation R( P, Q, R, S, T, U, V, W ) and Functional Dependency set FD = { PQ → R, P → ST, Q → U, and U → VW }, determine given R is in which normal form? 6. Write a query for (i) Create view (ii) Replace View (iii) Drop View with output. 7. Difference between OLAP and OLTP in DBMS. 8. Discuss the components of Object Oriented Database Management System. 9. Write down the ACID properties of transaction in detail. 10. Explain log-Based Recovery in detail. 11. What is transaction. Explain about the properties of transaction. 12. How will you avoid concurrency control problems using protocols. 13. Briefly discuss about the Functional dependency concepts. 14. Explain the aggregate functions in SQL with an example. 15. Outline the two basic types of fragmentation in a distributed database environment with an example. 16. Compare and contrast OLAP and OLTP. 17. What is data model? Explain various data models with example? 18. State and explain the Architecture of DBMS. 19. What is RAID. Briefly discuss about RAID. 20. Distinguish between primary index and secondary index. 21. Define Hashing. Explain static Hashing techniques in DBMS. 22. Outline the steps involved in Query Processing. 23. Discuss about the aggregate function with example. 24. Write shorts note on views in SQL. 25. Outline the two basic types of fragmentation in a distributed database environment with an example 26. Discuss the components of Object Oriented Database Management System. 27. What is data model? Explain various data models with example? 28. Explain the distinction among the terms Primary Key, Candidate Key, Super and Foreign Key with example. 29. Describe in detail about Transaction states. 30. What is b-tree .Explain about the properties of b-tree .
PART-C
1. Create two tables and insert the values namely,
Employee Emp_id Ename Address Age Dept_id Department Dept_id Dname Branch Location Create a view and select the field from Emp_id, Ename, Dname, Branch from the above tables who belongs to department CSE and location Chennai. 2. We have following relations: Supplier (S#, sname, status, city) Parts (P#, pname, color, weight, city) SP ( S#, P#, quantity) Answer the following queries in SQL: (i) Find name of parts whose color is ‘red’ (ii) Find parts name whose weight less than 10 kg. (iii) Find all parts whose weight from 10 to 20 kg. (iv) Find average weight of all parts. (v) Find name of supplier who supply maximum parts. 3. Define Hashing. Explain different types of Hashing techniques in DBMS. 4. What are the different operations performed in B+Tree? Explain with suitable example. 5. Elaborate on the following i) Two Phase Locking Protocol ii) Methods used to handle Deadlock 6. Write short notes on Deadlock and its types with example. 7. Consider the following two relations: 1. Employee: EmpID (integer) , EmpName (string) , DeptID (integer) , Salary (decimal) 2. Department: DeptID(integer), DeptName (string) Write relational algebra expressions to perform the following tasks: a) Find the names of all employees who work in the 'Sales' department. b) Retrieve the EmpID and Salary of employees whose salary is higher than the average salary of all employees. c) List the departments where more than 5 employees work. 8. Draw E – R Diagram for the “Restaurant Menu Ordering System”, which will facilitate the food items ordering and services within a restaurant. The entire restaurant scenario is detailed as follows. The Customer is able to view the food items menu, call the waiter, place orders and obtain the final bill through the computer kept in their table. The waiters through their wireless tablet PC are able to initialize a table for customers, the table functions control to assist customers, orders, send orders to food preparation staff (chef) and finalize the customer’s bill. The food preparation staffs (Chefs), with their touch-display interface to the system, are able to view orders sent to the kitchen by waiters. During preparation, they are able to let the waiter know the status of each item, and can send notification when items are completed. The system should have full accountability and logging facilities, and should support supervisor actions to account for exceptional circumstances, such as a meal being refunded or walked out on. 9. Explain in brief about Distributed Databases with its advantage and disadvantage. 10. Consider a relation r that is to be stored in the database. Explain the two approaches to storing this relation in the distributed database. 11. Consider the following relations EMPLOYEE (ENO, NAME ,DATE__BORN,GENDER,DATE_OF_JOIN,D ESIGNATION, BASIC_PAY, DNO) DEPARTMENT (DNO, DNAME) Primary key is underlined. Write SQL queries to perform the following i) Display the employee no,employee name, department no, department name of all employees. ii) List the details of employees who earn less than the average basic pay of all employees. iii) List the department number and number of employess in each deparment iii) List the details of employees who work for DNAME=’CSE’ 12. What is database normalization? Explain first normal form,second normal form and third normal form with example. 13. Consider a relation r that is to be stored in the database. Explain the two approaches to storing this relation in the distributed database. 14. What is object oriented data model? Explain in detail about the components of object oriented data model. 15. i)Discuss in detail the steps involved in the ER model. ii) Draw the ER diagram for Banking System. 16. Explain the select,project,Cartesian Product and Join operations in relational algebra with an example. 17. Explain Concurrency Control Write short notes on Precedence Graph 18. Elaborate on the following i) Two Phase Locking Protocol ii) Methods used to handle Deadlock 19. Explain the below topics i) Sequencial File Organization ii) Heap File Organization iii) Hash File Organization 20. Elaborate how B+ tree are processed ? Give one example. 21. Write short notes on Deadlock and its types with examples. 22. (i) Write short note on different types of locking. (ii) Explain Lock-based Concurrency control with diagram 23. Discuss about EDW with its architecture. 24. Explain in brief about Distributed Databases with its advantage and disadvantage. 25. We have following relations: Supplier ( S#, sname, status, city) Parts ( P#, pname, color, weight, city) SP ( S#, P#, quantity) Answer the following queries in SQL: (i) Find name of parts whose color is‘red’ (ii) Find parts name whose weight less than 10 kg. (iii) Find all parts whose weight from 10 to 20 kg. (iv) Find average weight of all parts. (v) Find name of supplier who supply maximum parts. 26. Consider an e-commerce application where a customer is placing an order. A compound SQL statement (any 5 conditions) can be used to perform multiple operations like inserting a new order, updating the inventory, and inserting a transaction record. By handling these tasks, the application can greatly improve performance and simplify error handling in the event of any issues. 27. Explain about various data models in DBMS with example. 28. Construct an E-R diagram for a car insurance company whose customers own one or more cars each. Each car has associated with it zero to any number of recorded accidents. Each insurance policy covers one or more cars, and has one or more premium payments associated with it. Each payment is for a particular period of time and has an associated due date, and the date when the payment was received? 29. Define Hashing. Explain different types of Hashing techniques in DBMS. 30. Construct B+ tree for the following set key values 2, 3, 5, 7, 11, 17, 19, 23, 29, 31 where the pointer that fit one node is four. After creation B+ tree perform following actions. (i) insert 9 (ii) insert 10 (iii) insert 8