Friday, April 11, 2014

DBMS

11. What are the components of storage manager? 

The storage manager components include
a) Authorization and integrity manager
b) Transaction manager
c) File manager
d) Buffer manager

12. What is the purpose of storage manager? 
The storage manager is responsible for the following
a) Interaction with he file manager
b) Translation of DML commands in to low level file system commands
c) Storing, retrieving and updating data in the database

13. List the data structures implemented by the storage manager.
The storage manager implements the following data structure
a) Data files
b) Data dictionary
c) indices

14. What is a data dictionary? 
A data dictionary is a data structure which stores meta data about the structure of
the database ie. the schema of the database.

15. What is an entity relationship model? 
The entity relationship model is a collection of basic objects called entities and
relationship among those objects. An entity is a thing or object in the real world that is
distinguishable from other objects.


16. What are attributes? Give examples. 
An entity is represented by a set of attributes. Attributes are descriptive properties
possessed by each member of an entity set.
Example: possible attributes of customer entity are customer name, customer id,
customer street, customer city.

17. What is relationship? Give examples 
A relationship is an association among several entities.
Example: A depositor relationship associates a customer with each account that
he/she has.


18. Define the terms
i) Entity set
ii) Relationship set
Entity set: The set of all entities of the same type is termed as an entity set.
Relationship set: The set of all relationships of the same type is termed as a relationship set.

19. Define single valued and multivalued attributes.
Single valued attributes: attributes with a single value for a particular entity are called single valued attributes.
Multivalued attributes: Attributes with a set of value for a particular entity are called multivalued attributes.

20. What are stored and derived attributes? 
Stored attributes: The attributes stored in a data base are called stored attributes.
Derived attributes: The attributes that are derived from the stored attributes are
called derived attributes. 

No comments:

Post a Comment