assignment of dbms

22
Database Engineering Assignment Centurion institute of technology Assignment OF Database Engineering Code:-PCCS4204/ B.Tech/IV Semester/Batch-2009-2010/CSE/IT

Upload: profhitesh-mohapatra

Post on 18-Nov-2014

117 views

Category:

Documents


1 download

DESCRIPTION

This material is a collection of all types of question on database engineering/DBMS.

TRANSCRIPT

Page 1: Assignment of DBMS

Database Engineering Assignment

Centurion institute of technology

AssignmentOF

Database Engineering

Code:-PCCS4204/ B.Tech/IV Semester/Batch-2009-2010/CSE/IT

Page 2: Assignment of DBMS

Database Engineering Assignment

Prepared byCSE & IT DEPT.

SUBJECT : - DATABASE ENGINEERINGCODE : - PCCS4204SUBMITTED TO :-HITESH MAHAPATRA

Assignment 1:-Very Short Type Questions

1. What is data ?

2. Describe database ?

3. What is database management system ?

4. What is RDBMS ?

5. Write full form of SQL ?

6. Describe Relational model ?

7. Write three views of three level architecture ?

8. Explain Data models ?

9. SQL is the combination of _ and _ .

10. Define data dictionary ?

11. Define the following terms:

DDL & DML ?

12. Define schema ?

13. Define schema instance ?

14. What are the basi units of ER diagrams ?

15. Describe primary key ?

Code:-PCCS4204/ B.Tech/IV Semester/Batch-2009-2010/CSE/IT

Page 3: Assignment of DBMS

Database Engineering Assignment

16. Describe foreign key ?

17. Describe candidate key ?

18. Explain data integrity ?

19. Briefly describe entity integrity ?

20. Briefly describe referential integrity ?

21. Define week entities ?

22. Define relational database ?

23. What is specialization ?

24. What do you mean by identifier ?

25. Define relational schema ?

26. What do you mean by unary relation ?

27. What are the function of selection and projection operation ?

28. What is data abstraction ?

29. Briefly describe the concept of metadata ?

30. What do you mean by cardinality ?

31. Define the following terms :

a. tuple

b. Domain

32. Define the following terms :

a. Field

b. Record

33. What do you mean by information?

34. What is data redundancy?

35. Describe DCL ?

36. Describe DDL ?

37. Describe DML ?

Code:-PCCS4204/ B.Tech/IV Semester/Batch-2009-2010/CSE/IT

Page 4: Assignment of DBMS

Database Engineering Assignment

Short Type Questions

Q1. What do you mean by cardinality? What are different kinds of

cardinalities?

Q2. Define DDL

(b) DML

Q3. What is a primary key?

Q4. What are various Data types in SQL?

Q5. What is relation? Define the relational data model.

Q6. What do you mean by SQL? What are the characteristics of SQL?

Q7. What is the role of Database Administrator?

Q8. What do you mean by Database and Database Management System?

Q9. What are problems with traditional file processing system?

Q10. What do you mean by Data processing?

Q11. What is meant by an entity, attributes, entity set and relationship?

Q12. How is E-R data model useful?

Q13. Define an attribute. What is a key attribute?

Q14. Define subtype and super type entities?

Q15. Give example of following relationships:

(i) Many-to-One

(ii) One-to-One

(iii) One-to-Many

(iv) Many-to-Many

Q16. Define foreign key? How does it play a role in the join operation?

Code:-PCCS4204/ B.Tech/IV Semester/Batch-2009-2010/CSE/IT

Page 5: Assignment of DBMS

Database Engineering Assignment

Q17. What do you mean by Mapping Operation?

Q18. What do you mean by redundancy? How this can be avoided?

Q19. What do you mean by Normalization? Why this is useful?

Q20. What is the difference between Procedural DML and Non-Procedural

DML?

Q21. What do you mean by instance & schema? Explain the difference

between these.

Long Type Questions

Q1. What are various components of Database System? Explain in detail.

Q2. What do you mean by data models? Explain network, hierarchical and

relational model in detail.

Q3. Explain various levels of Data abstraction in database system?

Q4. What do you mean by database? What is the purpose of a database

system? Explain.

Q5. What do you mean by DBMS? Explain its functioning.

Q6. Explain architecture of DBMS and its advantages? state two main

disadvantages of DBMS?

Q7. What is DBA? What are major responsibilities of DBA and database

designers?

Q8. What are problems with traditional file processing system? How they

are removed in database system? Explain.

Q9. What do you mean by Entity-Relationship Diagram ? Explain.

Q10.Explain the various terms of an E-R model and how are they

represented in an E-R model?

Code:-PCCS4204/ B.Tech/IV Semester/Batch-2009-2010/CSE/IT

Page 6: Assignment of DBMS

Database Engineering Assignment

Q11.What is meant by term relationship between entities? Explain the

different types of relationships that can exist with examples?

Q12.Explain the concept of dependent entities? Give example.

Q13.What do you mean by mapping cardinalities? Explain various types of

cardinalities.

Q14.What is difference between total and partial participation? Explain.

Q15.What is the difference b/w single and multi-valued attributes? Explain.

Q16.Explain the concept of participation constraints?

Q17.Discuss the various update operation on relation and types of integrity

constraints that must be checked for each update operation?

Q18.Discuss the various types of join operations ? Why these are join

required?

Q19.What do you mean by normalization? Explain.

Q20.What do you mean by BCNF ? Why it is used and how it differ from 3

NF ?

Q21.Describe the three-level architecture of DBMS ? Also explain its

importance in a database environment.

Q21. Discuss concept of database language and interfaces.

Q22. Give the various advantages and disadvantages of the network model.

how it differ from relational model ?

Code:-PCCS4204/ B.Tech/IV Semester/Batch-2009-2010/CSE/IT

Page 7: Assignment of DBMS

Database Engineering Assignment

Assignment 2:-

Very Short Type Questions

1. Various operations use in relational algebra.

2. Various operations use in relational calculus.

3. What are the various features of join operations?

4. What are various data types use in SQL?

5. Is SQL non procedural language?

6. Why tuples are used in relational model?

7. What is the other two name of attribute?

8. What is the function of update and delete command?

9. What do you mean by composite key?

10.What do you mean by dependent and independent entities?

11.What is an entity set?

12.Describe regular entities?

13.What do you mean by Hierarchical model?

14.What do you mean by key?

15.Write types of keys?

16.What do you mean by integrity constraints?

17.What do you mean by procedural DML?

18.What is query processing?

19.What is the function of parser in query processing?

20.What is file organization?

Code:-PCCS4204/ B.Tech/IV Semester/Batch-2009-2010/CSE/IT

Page 8: Assignment of DBMS

Database Engineering Assignment

21.What are direct files?

22.What do you mean by hashing?

23.What do you men by transaction processing?

24.What do you mean by B-tree?

25.Briefly describe file processing?

26.Briefly describe Data base processing?

27.Name all the models available for database system?

28.Write down the two difference between DBMS & RDBMS?

29.What is Normalization?

30.What do you mean by data dictionary?

31.Write down the four components of DBMS?

Short Type Questions

1. What are the various components of a database system?

2. What is the role of three levels of Data Abstraction?

3. How is a many-to-many relationship mapped onto a table?

4. What do you mean by a key? Explain the difference between primary

key and Candidate key.

5. What is the difference between the strong entity set and weak entity

set?

6. Give SQL statement which creates a STUDENT table consisting of

following fields.

7. Name CHAR(40)

8. Class CHAR(6)

9. Marks NUMBER(4)

10.Rank CHAR(8)

Code:-PCCS4204/ B.Tech/IV Semester/Batch-2009-2010/CSE/IT

Page 9: Assignment of DBMS

Database Engineering Assignment

11. What is a relation? What is the difference between a table and an

attribute?

12. If R1 is a relation with 5 rows and R2 is a relation with 3 rows, how

many rows will the Cartesian product of R1 and R2 have?

13. Which subdivision of SQL is used to put values in tables and which

one to create tables?

14.Why Data Control Language (DCL) is used? Explain.

15. Explain the type of relationship the following have:

16.Student and ID card

17.Customer and Bank

18.Student and Roll No

19.Customer and Car

20. Differentiate between SQL commands DROP TABLE and DROP

VIEW.

21. Is Data Dictionary an essential part of DBMS. Why?

22. What is meant by the term Query Processing? What are the various

steps involved in this process?

Long Type Questions

1. What is relationship? What are various types of relationship? Explain

with example.

2. Explain the Codd’s Rule in detail.

3. What do you mean by DBMS? What are its characteristics?

4. Explain Entity integrity and Referential integrity in detail.

Code:-PCCS4204/ B.Tech/IV Semester/Batch-2009-2010/CSE/IT

Page 10: Assignment of DBMS

Database Engineering Assignment

5. What is the difference between DBMS and RDBMS ? Which of them

is more suitable?

6. What is relational algebra? Discuss the various operations of

relational algebra.

7. Describe the different types of relational calculus in detail.

8. What dis relational calculus? Differentiate relational algebra and

relational calculus.

9. What do you mean by Null values? Explain with suitable examples.

10. Why normalization needed? What are its disadvantages?

11.Discuss the various normal forms in normalization with suitable

examples.

12.Define term anomalies. Explain BCNF in detail.

13.Why is concurrency control needed? Explain lost update, Inconsistent

retrievals and uncommitted dependency anomalies.

14. What is a deadlock? How can a deadlock occur? Explain.

15.Briefly explain one deadlock prevention algorithm.

Code:-PCCS4204/ B.Tech/IV Semester/Batch-2009-2010/CSE/IT

Page 11: Assignment of DBMS

Database Engineering Assignment

Assignment 3:-

Very Short Type Questions

1. Write down the four components of DBMS environment?

2. Write down the full forms of CASE tools ?

3. What is DOMAIN?

4. What is domain value?

5. Write different types of constraints?

6. What is the difference between numeric and float data type in SQL?

7. What is Query optimization?

8. What are the two function of DB manager?

9. Different types of users.

10.Where we store data structure in DBMS?

11. Where we have to change in data when changes occur in data?

12. Briefly describe client server model?

13. What do you mean by null constraints?

14. What is metadata?

15. What are the basic units of E-R diagrams?

16. What do you mean by attribute?

17. What do you mean by SQL?

18. Describe distributed DBMS?

19. Briefly describe application programmers?

20. What do you mean by comparison operator?

21. Different types of select query?

22. Two comparison b/w Network and relational model?

Code:-PCCS4204/ B.Tech/IV Semester/Batch-2009-2010/CSE/IT

Page 12: Assignment of DBMS

Database Engineering Assignment

23. How does a view differ from a table?

24. Describe object oriented approach?

25. Why drop query is used?

26. Full form of BCNF?

27. What is the difference b/w 3NF and BCNF?

28. What is meant functional dependency?

29. What is the need of normalization?

30. What do you mean by mapping operation?

31. What are the difference b/w procedural and non procedural query

languages?

32.What do you mean by degree of relationship set?

Short Type Questions

1) What is the difference between WHERE and Having Clause?

2) What is file organization? Explain Sequential-files and direct-

Files?

3) Differentiate between First Normal form and Second Normal

form.

4) What is a multivalued dependency? What kind of constraint

does it specify?

5) Discuss the various types of join operations? Why these are join

required.

6) List the operations of relational algebra and purpose of each.

7) What is the difference between tuple relational calculus and

domain relational calculus?

Code:-PCCS4204/ B.Tech/IV Semester/Batch-2009-2010/CSE/IT

Page 13: Assignment of DBMS

Database Engineering Assignment

8) SQL is called as non-procedural language. Explain?

9) What you mean by attribute? Explain various types of

attributes.

10) Define the following terms:

11) (a) Tuple (b) Domain

12) (c) Relation (d) Entity

13) Regular entities

14) What is the difference between select and project

operation? Give example.

15) Explain the concept of metadata.

16) What is the need for Normalization? Define Third

Normal form.

17) Explain the term Distributed DBMS and Client-Server

DBMS.

18) What do you mean by Hashing?

19) What is integrity?

1) What is ER Diagram? What are the symbols used is it? Explain with

an example.

2) What is the need of the normalization? Explain the first three steps

involved in the normalization.

3) List out all the Codd’s rules.

4) What do you mean by the database abstraction? How many types are

there?

5) Difference between file oriented approach and database management.

6) Difference between Database systems and Knowledge base systems.

Code:-PCCS4204/ B.Tech/IV Semester/Batch-2009-2010/CSE/IT

Page 14: Assignment of DBMS

Database Engineering Assignment

7) Explain the client server architecture in detail.

8) What is the architecture of the database? Explain with diagram.

9) What is DBA,what are DBA’s functions?

10) Draw the ER diagram for the banking system.

11) What is query processing .explain the various steps involved in

it?

Long Type Questions

1) What if time stamping is used? Explain briefly

2) What is two-phase locking and how does it guarantee serializability?

3) Discuss the concurrency control mechanism in detail using suitable

example.

4) Differentiate between Two phase locking and Rigorous two-phase

locking.

5) How can deadlocks be avoided when using 2PL?

6) How Share and exclusive locks differ? Explain.

7) How precedence graph can be used to detect deadlock ?

8) What is a system log? What is the purpose of the system log in system

recovery?

9) What do you understand by distributed databases? Give the various

advantages and disadvantages of distributed database management

system.

10) Explain the architecture of Client-Server databases in detail.

11) What are the main differences between a parallel and a distributed

system? Explain.

12) Discuss the concept of Query Processing .What is a parser? Why it is

used?

Code:-PCCS4204/ B.Tech/IV Semester/Batch-2009-2010/CSE/IT

Page 15: Assignment of DBMS

Database Engineering Assignment

13) What is Query optimization? What are different techniques used in it.

For assignment-1 35 pages required

For assignment-2 30 pages required

For assignment-3 35 pages required

Code:-PCCS4204/ B.Tech/IV Semester/Batch-2009-2010/CSE/IT