DBMS Notes
DBMS Notes
Fill in the blanks choosing the appropriate word/words from those given in brackets.
(Repeated answers will not be considered)
Fill in the blanks choosing the appropriate word/words from those given
in brackets.
(ISAM, Database, Data mining, Key, Schema)
Fill in the blanks choosing the appropriate word/words from those given
in brackets.
(Physical data independence, Hierarchical data model, DBMS,One-tier
architecture, ER Diagram)
1. allows creation, definition & manipulation of database.
2. is a visual representation of data that describes how data is related
toeach other.
3. is an ability of a database to modify a schema definition at internal
levelwithout affecting a schema in the next level.
4. organizes the data in a tree like structure in which each child node
canhave only one parent node.
5. In , DBMS is the only entity where user directly sits on DBMS
&uses it.
Fill in the blanks choosing the appropriate word/words from those givenin
brackets.
(Specialization, Metadata, Data integrity, Attribute, Relational
data model)
Fill in the blanks choosing the appropriate word/words from those givenin brackets.
(Domain, Normalization, Aggregration, Data warehouse, Data processing)
1. is series of actions or operations from input data to generate
outputs.
2. Set of values for an attribute in that table is called as
3. A process when relation between two entities is treated as a single entity is called
_____________
4. The process of organizing the data in a database is called
5. A repository of an organization’s electronically stored data is called
Fill in the blanks choosing the appropriate word/words from those givenin brackets.
( Field, Tuple, File, Table, Primary Key)
1. ______________ is also called as record.
2. Each column is identified by distinct header______________
3. _____________ is a collection of rows and columns.
4. _____________________ uniquely identifies each record in a table.
5. __________________ is the basic unit of storage in computer system.
Fill in the blanks choosing the appropriate word/words from those givenin brackets.
( Database, Record, Normalization, Information, Data Mining)
1. A single entry in the table is called ________________________
2. _________________ is a collection of logically related data.
3. ____________________ is a process of organizing the data in a database.
4. ____________ is processed data.
5. Process of extracting knowledge from collected data is ____________
Fill in the blanks choosing the appropriate word/words from those givenin brackets.
( Data Warehouse, Alternate Key, Foreign Key, Data Model, DBMS)
1. ________________ is a repository of organization’s electronically stored data.
2. _________________ key combines two database tables.
3. ____________________ describes how the data is represented and used.
4. Key which is not selected as primary key is ________________________.
5. _____________________ is a software which allows creation, definition &
manipulation of database.
Fill in the blanks choosing the appropriate word/words from those givenin brackets.
( Meta data. Generalization, Database, Data Mining, Staging)
1. Process of cleaning standardized and loading data repository is called
_______________
2. ____________ is concerned with the analysis of picking relevant information from the
collected data .
3. Data about data is ____________________.
4. ___________________ combines two lower level entity to form higher level entity.
5. __________________ is collection of inter related data.
Fill in the blanks choosing the appropriate word/words from those givenin brackets.
( Data redundancy, Tuple, Ordinality, Serial File organization, Domain)
Fill in the blanks choosing the appropriate word/words from those given in brackets.
( Data Independence, Centralized data management, One-tier, Attribute, Table)
1. _______________________ is the architecture where user directly sits on DBMS and
uses it.
2. Ability of a database to modify a schema definition at one level without affecting
another level
____________________________
3. Each column is identified by distinct header is called ____________________
4. Data sharing in database is easy because of _______________________
5. Collection of rows and column is called________________________
II. Fill in the blanks choosing the appropriate word/words from those given in brackets.
(Physical data independence, Hierarchical data model, DBMS, One-tier architecture,
ER Diagram)
1. ________ allows creation, definition & manipulation of database.
2. ________ s a visual representation of data that describes how data is related to each other.
3. ________ is an ability of a database to modify a schema definition at internal
level without affecting a schema in the next level.
4. ________ organizes the data in a tree like structure in which each child node can
have only one parent node.
5.. ________, DBMS is the only entity where user directly sits on DBMS & uses it.
II Fill in the blanks choosing the appropriate word/words from those given in brackets.
(Entity, Mining, Tuple, Attribute, Table)
1. Row of a table is called as ________,
2________, is a collection of interrelated data.
3. Property or characteristics of an entity is called ________,
4________, is extracting knowledge from large amount of data.
5. Rectangle shape is used to represent an ________, in E-R diagram
Fill in the blanks choosing the appropriate word/words from those givenin
brackets. (Data processing, Data, Character, File organization, Number )
Fill in the blanks choosing the appropriate word/words from those givenin brackets.
(Tuple, data mining, relation, data warehouse, date )
II Fill in the blanks choosing the appropriate word/words from those given in brackets.
(DBA,1-tier, primary key, Attribute, Candidate key)
Fill in the blanks choosing the appropriate word/words from those given in brackets.
(Information, DBMS, Schema, Diamond, Data base)
1. The structure of database is called as ________
Fill in the blanks choosing the appropriate word/words from those given in brackets.
(Record ,Primary key,character,Ordinality,Domain)
Fill in the blanks choosing the appropriate word/words from those given in brackets.
(MS-acess , Foreign key, 2-Tier , Knowledge, Data collection)
3._______is a non key attribute of one relation and primary key in another relation..
Fill in the blanks choosing the appropriate word/words from those givenin brackets.
(Field, DBA, End user, secondary key, foreign key)
2. A super user who can create and manage the database is ______
User
Account
is
a
saving currentt
12. What is Specialization
Specialization is the reverse process of generalization.It is a top down approach in which
one higher level entity can be broken down into two lower level entity
Ex:
students
is
a
Attendance sheets Marks sheet
It refers to arranging the contents of the file for efficient access of data.
Serial file : In this method the collection of data records are stored in the order in the
physical medium. No particular sequence is followed to store the data
Sequential file: In this the data records are stored in sequential order either in ascending
order or descending order of a predetermined key.the records are accessed sequentially
12.List the advantages and disadvantages of Serial file & Sequential file organization
Advantages of serial & sequential file organization
Simple file design
Easy to understand
Uses inexpensive storage devices
Uses storage space efficiently
Disadvantages of serial & sequential file organization
Entire file must be processed even if single record is to be accessed
Transaction have to be sorted before processing
Its not possible to access middle records directly
Data redundancy is high
Disadvantages:
requires expensive storage device
file updation is difficult
Disadvantages:
Extra storage space & processing time for the indexing is required
Does not use the storage space efficiently
17.What is database model? List the different database models.
A database model is an abstract model that describes how the data is represented.
The different types of database models are:
Hierarchical model
Network model
Relational model
It organizes the data in a tree like structure in which each child node can have only one parent
node. The database in hierarchical model comprises of set of records connected through links.
The node which is not having the parent node is called root node.
Advantages:
Simplicity
Data integrity
Data security
Efficiency
Disadvantages:
Implementation is complex
Lack of structural independence
It allows the modelling of many to many relationship in a data .data is organized in the form
of graph.in which entity can be accesed through several paths
Advantages
It is simple & easy to implement
It has data independence
It can handle many relationship within the organization
Disadvantages
More complex system of data base structure
20.Explain relational database model
Regno name M1 M2
101 A 70 80
102 B 80 90
103 C 70 70
21. Explain normalization.
The process of organizing the data in the database that includes creating table & establishing
Relationship between tables according to the rules designed both to protect the data & makes
the database more flexible by eliminating redundancy & inconsistent dependency.
5 Marks questions
Weak entity
Attribute
Composite attribute
Relationship
Weak entity : An entity which depends upon other entity is called weak entity. It is
represented using double rectangle.
Data
Data Storage Processing
Data Preparation: Gathering data, facts and statistics required for an organization which
may be available at different stages.
Data input: The mechanism of providing data into a data processing system.
Data processing: The processing is a series of action from the input data to generate output.
Some of the operations are:
Calculation, searching, sorting
Data output: After all the above operations are performed, the result should be put forward
which helps in proper decision making.
Data storage: The results are stored in secondary storage for future use.
Table: it is a collection of data elements organized in the form of rows & columns
Record or tuple: a single entry in a table is called record
Domain: it is a set of values given to a column or attribute
Entity: entity is a real world object
Field: it is a column name of a table.
7. Explain the data type of dbms.
8. Define:
Candidate key: It is a set of one or more columns whose combined values are
unique.A key which is eligible to become the primary key.
Ex: Student(slno,rollno,regno,name,combination)
Primary Key: It is a key in a table which uniquely identifies a row in a table.It should
not be empty or NULL.
Ex: Student(slno,rollno,regno,name,combination)
Composite key:One or more than one columns that uniquely identifies each tuple in a
relation is called composite key.
Ex: Student(slno,rollno,regno,name,combination)
Alternate Key or Secondary key: The candidate key which is not the primary key is
secondary or alternate key.
Ex: Student(slno,rollno,regno,name,combination)
Foreign key: It is a field in a relational table that matches the primary key of another
table it is used to extract data from two tables
Ex: Consider 2 tables Employee & Department
Employee(code,name,dept_id,salary)
Department(dept_id,dept_name,supervisor)
9. What is data warehouse? Explain its components
Data source: It refers to an electronic repository of information that contains data of interest
for management.
Data transformation: It receives data from data source, standardizes &loads it to the data
repository
Metadata: It is the data which gives information about the status of the data
It refers to accessing of certain data without interrupting the related data in the data base
Types of data independence
Data mining refers to extracting or mining knowledge from large amount of data base
Data selection: The process of selecting the data which is useful for data mining
Data cleaning: The data collected may contain errors,missing values or inconsistent data so
we should apply different techniques to get rid of different errors
Data transformation: we need to transform the data. The technique used are smoothing,
aggregation, normalization
Guaranteed access rule: Data must be accessible with no ambiguity. In RDBMS we can
access the data by using the primary key.
logical data independence: Any changes in the logical level must not imply any change in
the physical level
physical data independence: Any changes in the internal level will not imply on the logical
level
11. What is a Relationship? Classify and give example.
A Relationship describes relations between entities & it is represented using diamond shape
There are three types of relationship that exist between entities.
Binary Relationship
Recursive Relationship
Ternary Relationship
three
types.
1. One to One:
This type of relationship is rarely seen in real world.
The above example describes that one student can enroll only for one course and a course
will also have only one Student. This is not what you will usually see in relationship.
2. One to Many:
It reflects business rule that one entity is associated with many number of same entity.
For example, Student enrolls for only one Course but a Course can have many Students.
The arrows in the diagram describes that one student can enroll for only one course.
3. Many to Many:
The above diagram represents that many students can enroll for more than one course.