0% found this document useful (0 votes)
49 views

Emailing DBMS - QB - Shubhammarotkar Toc Notes

This document contains a question bank for the Database Management Systems subject for the 5th semester Computer Science and Engineering students of DBATU B.Tech, Maharashtra. It includes questions divided into 5 units - introduction to databases, relational database design, normalization, SQL queries, and transaction management. The questions range from basic concepts and definitions to complex problems involving transaction schedules and database design principles like normalization.

Uploaded by

Tejas Aher
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views

Emailing DBMS - QB - Shubhammarotkar Toc Notes

This document contains a question bank for the Database Management Systems subject for the 5th semester Computer Science and Engineering students of DBATU B.Tech, Maharashtra. It includes questions divided into 5 units - introduction to databases, relational database design, normalization, SQL queries, and transaction management. The questions range from basic concepts and definitions to complex problems involving transaction schedules and database design principles like normalization.

Uploaded by

Tejas Aher
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

CSE 5 Sem DBATU B.

Tech,Maharashtra

Follow Us

@dbatu_btech_maharashtra
https://www.instagram.com/invites/contact/?i=14ecv66nyj1t
v&utm_content=mohp4lb

DBATU B.Tech,Maharashtra
https://t.me/DBATUBTechMaharashtra
CSE 5 Sem DBATU B.Tech,Maharashtra

DBATU B.Tech,Maharashtra
Computer Science & Engineering
Database Management Systems
Question Bank

UNIT I
1. What is database? Why they are needed?

2. What is DBMS? Enlist components of DBMS.

3. Define the following terms:

(i) Data,

(ii) Information,

(iii) Database,

(iv)Database Instance,

(v) DBMS,

(vi) DBA.

4. Explain file-processing system with its disadvantages

5. Describe purpose of DBMS.

6. With the help of diagram describe database system

7. State advantages of DBMS.

8. Enlist applications of DBMS.

9. What are the disadvantages of DBMS?

10. Draw the three layered DBMS architecture.

11. Write short note on:


CSE 5 Sem DBATU B.Tech,Maharashtra

Database manager,

Database system,

DBA

Data model,

Database users,

Data independence.

12. What is data model? Define data model and data modeling.

13. What is database schema and instance? Explain with A example.

14. With the help of diagram describe relational data A model.

15. State and explain various relational integrity A constraints with suitable example.

16. Explain various data manipulation operations with example

17. Distinguish between:

(i) File based system and DBMS.

(ii) Physical and logical data independence.

(iii) Hierarchical, network and relational data modes

18. What are the components used by database?

19. Enlist various types of databases.

20. Describe database languages in detail.

21. Explain structure of database diagrammatically.

22. Explain DML and DDL


CSE 5 Sem DBATU B.Tech,Maharashtra

UNIT II

1. What is relational database? Define it.

2. What is meant by relational database design? Explain diagrammatically.

3. Explain relational model in detail.

4. Define the following terms:

(i) Attribute

(ii) Domain

(iii) Relation

(iv) Tuple.

6. Enlist properties of good database.

7. Describe the following constrains:

(1) Domain

(ii) Enterprise.

8. Explain relation query languages in detail.

9. Write short note on: Relational calculus.

10. Describe relational algebra in detail.

11. What is domain relational calculus? Explain with example.

12. What is tuple relational calculus? Explain with example.

13. What is SQL3? Give various characteristics of SQL3.

14. Explain various DDL and DML constructs with suitable example

15. Give the differentiating points between Oracle and MYSQL


CSE 5 Sem DBATU B.Tech,Maharashtra

16. Write short note on:

(a) DB2

(b) SQL server


CSE 5 Sem DBATU B.Tech,Maharashtra

UNIT III

1. What is normalization?

2. Define normalization. Explain the purpose of normalization.

3. Explain the pitfalls of database design.

4. What is functional dependency? Describe with example.

5. Define decomposition. Enlist goals of decomposition.

6. State the basic concept of the theory of normalization with respect to relational
database. Explain in detail various normal forms, with example.

7. What are the desirable properties of decomposition?

8. What is FDD? Explain with example.

9. Define:

(i) Prime attribute

(ii) Transitive Dependency

(iii) Partial Dependency

(iv) Full Functional dependency

(v) Canonical cover.

10. With an example prove that Not every BCNF decomposition is dependency preserving.

11. Specify conditions for decomposition to be loss-less join decomposition and


dependency preserving decomposition.

12. State and prove Armstrong's axioms for functional dependency.

13. Specify need of normalization.


CSE 5 Sem DBATU B.Tech,Maharashtra

14. Write a note on:

(i) Multivalued dependency, and

(ii) Non-trivial functional dependency.

15. Given an example of relation which is in 2NF but not in 3NF. Explain.

16.Write a note on:

(i) Armstrong's axioms

(ii) Canonical Cover

(iii) Normalization.

17. Explain the functional dependencies in detail.

18. What is anomaly in database? Enlist its types also..

19. Describe 1NF with example.

20. Describe 2NF with example.

21. Describe 3NF with example..

22. What is temporal database? Enlist its features,

23. Explain decomposition algorithms in detail.

24. Define the following terms:

(i) Valid time

(ii) Transaction time.


CSE 5 Sem DBATU B.Tech,Maharashtra

UNIT IV
1. What is SQL? States its features.

2. What are the data types used in SQL?

3. Give syntax of following SQL commands:

(i) Create

(ii) Drop

(iii) change

(iv) Insert

(v) delete

(vi) Select

(vii) Update

(viii) Rename

(ix) Alter

4. What are sub-divisions of SQL?

5. What are the set operations of SQL? Explain with examples.

6. Write a note on:

(i) Nested sub-queries

(ii) Views in SQL

(iii) Indexes in SQL

(iv) DCL.

7. What is SELECT statement? Explain with example.

8. What is the INSERT statement? Explain with example.

9. How to delete a record from a database?


CSE 5 Sem DBATU B.Tech,Maharashtra

10. How to create and delete database?

11. What is GROUP BY clause?

12. What is a join? Explain different types of joins.

13. What is a self join?

14. What is a OUTER JOIN? Explain in detail.

15. Enlist various SQL commands.

16. What is general structure of SQL Query?

17. Define the term Query.

18. Explain the following operations with suitable queries:

(i) Set operations, and

(ii) Aggregate functions.

19. Explain the following DML commands of SQL:

(i) Insert,

(ii) delete

(iii) Update

20. Consider following database.

customer (cust_no, cust_name, addr)

plant (plant code, pl_name, pl_type, pl cost)

Nutrients (N_name, N_quantity, time)

Customer and plants are related with one-to-many and plant and nutrients are also related
with one-to- many relationship.
CSE 5 Sem DBATU B.Tech,Maharashtra

21. Create RDB and answer following queries.

(i) List the customer who purchase plant 'rose'.

(ii) List the plants whose cost is more than Rs. 500/-.

(iii) List all those plants to whom nutrient 'manure' is

given. Consider the following database.

person (SS-No, name, address)

car (lic, year, model)

Accident (date, driver, damage amount)

owns (SS-No, lic)

log (lic date, driver)

22. Write SQL for the following:

(i) Find the total number of people whose cars were involved in accidents in 2000.

(ii) Find the number of accidents in which the cars

Belonging to "Atul" were involved.

(iii) Retrieve the name of persons whose address contains "Pune".

(iv) Find the name of persons having more than 2 cars.

(v) Find the year in which the car owe.


CSE 5 Sem DBATU B.Tech,Maharashtra

UNIT V

1. What is meant by transaction? Explain with example.

2. Define the following terms:

(i) Transaction

(ii) Schedule

(iii) Serial schedule

(iv) Concurrent schedule.

3. What is meant by transaction management?

4. With the help of diagram describe transaction management system.

5. Differentiate between Serial schedule and serializable schedule.

6. Enlist operations on transactions.

7. Explain a view serializable schedule which is not conflict serializable with example.

8. A transaction is characterized by four properties: atomicity, consistency, isolation and


durability. How are these properties supported by DBMS system? Just Identify the
modules/ components responsible for each property. What happens if each of this

property is not ensured or not maintained. Give clear examples for consequences of not
supporting a properly.

9. Illustrate difference between conflict serializable schedule and view serializable schedule
by an appropriate example. 10. Draw the state diagram representing various transaction
states.

11. Consider the following two transactions:

T₁: read(A) read(B) if A = 0 then B:= B + 1

write(B)
CSE 5 Sem DBATU B.Tech,Maharashtra

T₂: read(B) read(A) if b = 0 then A:= A + 1

write(A)

Let the consistency requirement be A 0 VB = 0,

with A = B = 0.

12. Show that every serial execution involving these two transactions preserve the
consistency of the database.

13. Show a concurrent execution of T, and T₂ that produces a nonserializable schedule.

14. List and explain ACID properties.

15. Differentiate between recoverable and non-recoverable schedule.

16. Explain recoverable and Cascadeless schedules.

17. Explain when schedule is conflict serializable and when it is view serializable? Test if the
given schedule is view serializable.

T3 T4 T5

read(Q)

write(Q)

write(Q)

write(Q)

18. What is transaction concept?

19. Write note on:


CSE 5 Sem DBATU B.Tech,Maharashtra

(i) Atomiticy (ii) Durability.

20. Explain: View serializability.

21. What is the test for conflict serializability?

22. What is the test view serializability?

23. What is recoverable schedule? Why is it desirable?


CSE 5 Sem DBATU B.Tech,Maharashtra

UNIT VI
1. Enlist different file organization in DBMS. Explain in detail with suitable example
2. What is indexing? Mention different type with suitable example
3. How B-trees can be used for record storage in DBMS
4. What is hashing? Explain the type of hashing with example

You might also like