DBMS University Exam Important Questions
DBMS University Exam Important Questions
UNIT - I
1. What is DBMS?
A database management system (DBMS) is a software package designed to define,
manipulate, retrieve and manage data in a database. Example of database applications.
Banking Airlines Universities Credit card transactions Telecommunication
Finance Sales
What is a schema?
The structure of a database system is called Schema. The schema defines the tables,
the fields in each table, and the relationships between fields and tables. Schemas are
generally stored in a data dictionary.
What do u mean by data model?
Data Model can be defined as an integrated collection of concepts for describing
and manipulating data, relationships between data, and constraints on the data in an
organization.
List the aggregation functions in SQL (Also refer PART-B this question)
Aggregate functions are functions that take a collection of values as input and return a single value
as output.
min - minimum value
max - maximum value 3
sum - sum of values
count - number of values.
PART B
1. Explain the system architecture of a database system with neat block diagram.
2. What is a data model? Explain various data
3. Explain the different between physical and logical data independence with an example.
4. Describe the three-schema architecture.
5. What is the notation (symbols) used in E-R diagram? Explain the E-R model structure
with Example.
6.Explain the role and functions of the database administrator. (Splitup question)
7.Explain the following
i. Data Definition Language. ii.Data Manipulation Language. iii.Data control Language.
iv. Views
8.Develop an Entity Relationship model for a library management system.
9.Explain Embedded SQL?
10. Explain Dynamic SQL.
11. What are aggregate functions? Explain five built-in aggregate functions.
12.Consider the following relations for a company database Application.
Employee (Eno, Name, Sex, DOB, Doj, Designation, Basic_Pay, Dept_No)
These types
Department (DeptNo,Name)
of question, I
Project (ProjNo, Name, Dept_No) have sent
Works for (Eno,ProjNo,Date, Hours) DBMS
university
practical
examination
The attributes specified for each relation is self-explanatory. However the business rules are
stated as follows. A department can control a project. An employee can work on any number of
projects on a day. However an employee cannot work more than once on a project he/she worked
on that day. The primary key are underlined.
(i). Identify the forging keys, Develop DDL to implement the above schema.
(ii) Develop an SQL query to list the department number and the
number of Employee in each department.
(ii) Develop an SQL query to list the details of employees who have worked in more than
three projects on a day.
UNIT II
What is entity? - It is a 'thing' in the real world with an independent existence.
Example : Student, Course, mobile
What is relationship set? The collection (or set) of similar relationships.
What is entity set? It is a collection of all entities of particular entity type in the database.
What is week entity? An entity set may not have sufficient attributes to form a primary key.
What is mapping cardinality?
Mapping cardinality express the number of entities to which another entity can be
associated via a relationship set. Types of mapping – one to one, one to many, many to
one, many to many relationship sets.
What is functional dependence?
A Functional dependency is denoted by X Y between two sets of attributes X and Y that
are subsets of R specifies a constraint on the possible tuple that can form a relation state
r of R.
Define query language?
A query language is a language in which user requests information from the database.
Define Mapping cardinalities.
Mapping cardinalities or cardinality ratios express the number of entities to which another entity can be associated.
Mapping cardinalities must be one of the following:
One to one, One to many, Many to one, Many to many
What is ER diagrams?
An entity-relationship diagram is a data modeling technique that creates a graphical representation of the entities, and
the relationships between entities, within an information system.
What is normalization?
Database normalization is the process of organizing the fields and tables of a relational database to
minimize redundancy and eliminate dependency. Normalization usually involves dividing large tables into smaller (and
less redundant) tables and defining relationships between them.
PART – B
What is transaction?
Collections of operations that form a single logical unit of work are called transactions.
PART - B
1 Explain about ACID properties with suitable example.
2 Describe briefly about Serializability and its types with relevant example.
3 Discuss the following transaction with relevant example:
I. Read Only Transaction II. Read Write Transaction III. Aborted Transaction
4 Discuss in detail about two phase commit protocol.
5 Explain the concepts of Concurrency control mechanism.
6 Describe briefly about deadlock handling.
7 Why concurrency control is needed? Explain the problems that would arise when concurrency
control is not provided by the database system.
UNIT IV –IMPLEMENTATION TECHNIQUES
PART-B
1.What are the various ways of organizing records in files and explain any one file organization in detail.
2. Describe the structure of B+ tree and list the characteristics of B+ tree.
3.What is RAID? Briefly explain different level of RAID.
4. Give brief notes on overviews of physical storage media.
5. Describe briefly about indexing and hashing.
6. Explain Static and Dynamic Hashing.
7. Explain about query processing in detail.
8. Discuss about query optimization in detail.
UNIT – V
PART B