Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
SRM UNIVERSITY Ramapuram Campus Faculty of Computer Applications MC0502 – DATABASE MANAGEMENT SYSTEMS (II SEMESTER – 2011) QUESTION BANK UNIT 1 Part A (2 Mark Questions):1. What is a database system? 2. Define data abstraction? 3. Distinguish between database and DBMS. 4. What is meant by data independence? 5. What are the characteristics of the data in a database? 6. What are different types of data models? 7. What are the different types of SQL commands? 8. What are the functions of a DBA? 9. What are the components of database?(Ans : data , Relationship, constraints, Schema). 10. What are the different types of database Users? 11. Define Keys in DBMS. 12. What is the purpose of database system? Part B (16 Mark Questions):1. Explain the Structure of DBMS (OR) DBMS System architecture . 2. List the advantages of DBMS over file processing system. 3. i) Explain briefly about DBMS system structure. ii) Explain briefly about Data Abstraction with examples. 4. i) List the advantages of DBMS over File-Processing Systems. ii) Explain briefly about Database Languages. 5.i) Discuss about various applications of DBMS. ii) Explain briefly about Data Models. UNIT 2 Part A (2 Mark Questions):1. What are the various set operators of SQL? 2. What is SQL? 3. What are DDL Commands? 4. What are DML commands? 5. What is the use of SELECT statement? 6. What is the purpose of the GROUP BY clause in the select statement? 7. What is a sub query? 8. What are nested subqueries? Give example. 9. What are SQL built-in functions? 10. What are Date functions and character functions? 11. Give examples for numeric functions? 12. Give examples for conversion functions? 13. What are database Objects? 14. What are the data types used in PL/SQL? 15. What are DML commands? Give examples? 16. What is Trigger? 17. How to declare a Procedure in PL/SQL? Give example? 18. What is a Package? 19. What is Exception? 20. What is a Cursor? 21. Difference between procedure and functions? 22. Name the three types of parameters? 23. What are the different types of sections used in PL/SQL 24. What are the different types of cursor attributes? 25. What are the different types of exceptions? Part B (16 Mark Questions):1. i) Name and Explain the Control Structures used in PL/SQL. ii) Write a PL/SQL Program to find Factorial Value of a given number. 2. i) Explain the block structure of PL/SQL. ii) Explain briefly about Triggers. 3. i) What is Exception? Describe the three types of exception with examples. ii) Explain about Cursors & Cursor attributes with suitable examples. 4. i) Explain briefly about Packages. ii) Explain briefly about Procedures. 5. i) Give the syntax of select statement and explain the various options. ii) What are sub queries ? Explain with examples. 6. Explain about SQL built-in functions. 7. Explain about set operators used in SQL with examples. UNIT 3 Part A (2 Mark Questions):1. What is E-R model? 2. Distinguish between entities and attributes. 3. What are constraints? 4. What are the different types of attributes? 5. Explain the different mapping cardinalities? 6. What is a domain? 7. What are the different types of relationship? Give example? 8. What are the E-R conventions? 9. Define relational algebra? 10. What is meant by relational calculus? 11. What is tuple relational calculus? 12. What is an existential quantifier? Give example. 13. What is universal quantifier? Give example. 14. What is a tuple variable? 15. What is meant by formula and expression? 16. What are the extended relational algebra operations? 17. What is meant by aggregation? 18. What is a Composite entity? Give an example? 19. What is domain relational calculus? 20. Explain Strong entity. 21. Write about weak entity with example. 22. Define Primary key . 23. Define Foreign Key. 24. Write short notes on various keys. Part B (16 Mark Questions):1. Explain E-R Diagram with suitable examples. 2. Explain about relational algebra operations with suitable examples. 3. Explain about extended ER diagram with example. 4. i)Define relational Algebra. Discuss the fundamental operations of r relational algebra with suitable examples. ii) What is relational calculus? Explain about Tuple relational calculus. 5. i) Explain about extended relational algebra operations with suitable examples. ii) Write short notes on Domain relational calculus. UNIT 4 Part A (2 Mark Questions):1. What is Normalization? 2. What is the need for normalization? 3. What is second normal form? 4. What is third normal form? 5. What are functional dependencies? 6. What is meant by multivalued dependencies? 7. Define BCNF. Give example. 8. What is meant by decomposition? 9. What is Lossy and Lossless decomposition? 10. What are the desirable properties of decomposition? 11. What is meant by transitive dependencies? 12. What are the two problematic issues in the design of relational databases? 13. What is meant by primary key? Give an example? 14. What are different normal forms? 15. What is a Join-dependency? 16. Compare BCNF and 3NF. 17. What is the fourth normal form (4NF)? Give example. 18. What is the fifth normal form (5NF)? Give example. 19. Mention any four pitfalls in relational database design? Part B (16 Mark Questions):1. Discuss the various pitfalls in relational database design. 2. i) What is Decomposition? Explain with the help of an example. ii) Explain about 2NF and 3NF with examples.(or) ii) Explain about Decomposition with examples. 3. i)Define Normalization. Discuss how functional dependency influences 2NF and 3NF with examples. ii) Write short notes on BCNF UNIT 5 Part A (2 Mark Questions):1. What is file? Which are the different types of files? 2. Define Volatile file? 3. What are blocks? 4. What is Buffer? 5. What is the difference between cache and main memory? 6. Compare sequential file organization with direct file organization. 7. What are the disadvantages of sequential organization? 8. What is Indexing? 9. What are dense and sparse indexes? 10. What are ordered indexes? 11. What is a B- tree Index? 12. Compare B- trees with B+ trees with examples. 13. What is Hashing? 14. What is External Hashing? 15. What is static Hashing? 16. What is transaction? 17. What are ACID properties? 18. What are transaction states? 19. What is concurrency control? 20. What are the recovery facilities? 21. What is database recovery? 22. What is shadow paging? 23. Define index in SQL. 24. What is lock based protocols? 25. What is time stamp based protocol? Part B (16 Mark Questions):1. Define Transaction. Discuss the properties of transaction. Explain the various states involved in transaction with diagram. 2. Explain briefly about recovery techniques? 3. Explain briefly about Concurrency control mechanism with example. 4. Explain briefly about indexing and hashing techniques. 5. i)Explain about lock based protocols. ii) Explain about time stamp based protocols? 6. Explain about Serializability concept? 7. Explain the recovery techniques i) log based. ii) Shadow paging