2marks and 3marks-12.06.2020
2marks and 3marks-12.06.2020
2marks and 3marks-12.06.2020
1. List the purpose of Database System (or) List the drawback of normal File
Processing System.
Problems with File Processing System:
1. Data redundancy and inconsistency
2. Difficulty in accessing data
3. Difficulty in data isolation
4. Integrity problems
5. Atomicity problems
6. Concurrent-access anomalies
7. Security problems
2. Define Data Abstraction and list the levels of Data Abstraction. A major purpose
of a database system is to provide users with an abstract view of the data. That is,
the system hides certain details of how the data are stored and maintained. Since
many database systems users are not computer trained, developers hide the
complexity from users through several levels of abstraction, to simplify users’
interaction with the System: Physical level, Logical Level, View Level.
3. Define DBMS.
A Database-management system consists of a collection of interrelated data and a
set of programs to access those data. The collection of data, usually referred to as
the database, contains information about one particular enterprise. The primary
goal of a DBMS is to provide an environment that is both convenient and efficient to
use in retrieving and storing database information.
Define DML.
By data manipulation, we mean
The retrieval of information stored in the database.
The insertion of new information into the database
The deletion of information from the database
The modification of information stored in the database.
A DML is a language that enables users to access or manipulate data as organized
by the appropriate data model. There are two types: Procedural DMLs and
Nonprocedural DMLs.
Define Attributes.
Entities are described in a database by a set of attributes. For example, the
attributes account-number and balance describe one particular account in a bank.
An attribute, as used in the E-R model, can be characterized by the following
attribute types.
Simple and composite attributes
Single-valued and multi valued attributes
Null attributes
Derived attributes.
Define Assertions.
An assertion is a predicate expressing a condition that we wish the database always
satisfied. E.g.) create assertion check
Define Triggers.
A trigger is a statement that is executed automatically by the system as a side effect of a
modification to the database. To design a trigger mechanism, we must meet two requirements:
1. Specify the conditions under which the trigger is to be executed.
2. Specify the actions to be taken when the trigger executes.
Define BCNF.
A relation schema R is in BCNF with respect to a set F of FD’s if for all FD’s of the form A -> B, where
A is contained in R and B is contained in R, at least one of the following holds: 1. A -> B is a trivial
FD
2. A is a superkey for schema R.
Define Assertions.
An assertion is a predicate expressing a condition that we wish the database always satisfied. E.g.)
Define Triggers.
A trigger is a statement that is executed automatically by the system as a side effect of a
modification to the database. To design a trigger mechanism, we must meet two requirements:
1. Specify the conditions under which the trigger is to be executed. 2. Specify the actions to be
taken when the trigger executes.
Define normalization.
By decomposition technique we can avoid the Pitfalls in Relational Database Design. This
process is termed as normalization.
Define BCNF.
A relation schema R is in BCNF with respect to a set F of FD’s if for all FD’s of the form A -> B,
where A is contained in R and B is contained in R, at least one of the following holds:
1. A -> B is a trivial FD
2. A is a superkey for schema R.
Define Cache?
The cache is the fastest and most costly form of storage. Cache memory is small; its use is
managed by the operating system.
Define RAID.
It is collectively called redundant arrays of inexpensive disk, have been proposed to address the
performance and reliability issues. Raids are used for their higher reliability and higher data
transfer rate. RAID stands for independent, instead of inexpensive.
What is transaction?
A transaction is a unit of program execution that accesses and possibly updates various data
items. A transaction usually results from the execution of a user program written in a high-level
data-manipulation language or programming language, and is delimited by statements of the
form begin transaction and end transaction. The transaction consists of all operations executed
between the begin and end of the transaction.
List the properties of transaction.
1. Atomicity
2. Consistency
3. Isolation
4. Durability