Adobe Scan 02-Mar-2023

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

POPULAR PUBLICATIONS

INTRODUCTION
Multiple Choice Type guestions
1. Which defining a numeric number
field that
can hold 3 digits
before the
point and 3 digits after the decimal points, the width would be given as
the deci
decimal

a) 6 b) 7 c)8 d) 3 WBUT 20111


Answer: (a)

2. The data dictionary tells the DBMS5


a) what files are in the database WBUT 2012
b) what attributes are possessed by the data
c) what these files contain
d) all of these
Answer: (d)

3. The employee salary should not be greater than Rs 20,000. This is


[WBUT 2014, 2017
a) integrity constraint b) referential constraint
c) over-defined constraint d) feasible constraint
Answer: (a)

4. The information about data in a database is called


a) Metadata
WBUT 2017]
b) Teradata
c) Hyperdata d) None of these
Answer: (a)

5. Tree structures are used to store data in


WBUT 2018
a) network model b) relational model
c) hierarchical model d) file-based system
Answer: (6).

Short Answer Type


Questionss
1. Describe the three-schema architecture. [WBUT 2006]
OR,
Explain in brief 3-schema architecture of DBMS.
[WBUT 2013]
OR,
Describe three layer architecture of DBMS.
WBUT 2013
Describe Three-Schema architecture of OR,
DBMS. WBUT 2015]

DBMSCS-2
DATABASE MANAGEMENT SYSTEM

Answer:
ASchema Architecture of DBMS
T h r e e

User 1 User 2 User 3

Mapping supplied by
CONCEPTUAL LEVEL DBMS
Designer View

DBA
INTERNAL LEVEL
DBMS View

The three levels of the architecture


one concemea
level is the one closest to physical storage
-

i.e., it is the
The internal
with the way
the data is physically stored. other two. (GiVes
"level of indirection" between the
level is a
The conceptual
level of the lower level)
abstraction on to the upper users i.e., it is the
one concerned
with the
level is the one closest to the
The external
individual users.
data is viewed by the conceptual
level is
way the with individual user views, then
level is concerned distinct
If the external there will be many
u s e r view. In other words,
concerned with
a community
abstract representation
of some portion
of a m o r e or less
external views,
each consisting consisting of a
one conceptual view,
database, and there
will be precisely There will be precisely
of the total of the database in its entirely.
abstract representation stored.
similarly the total database as physically
one internal view, representing
functions of
five major
database manager? List
functions of a WBUT 2006]
2. What are the main
Data B a s e A d m i n i s t r a t o r .
OR, WBUT 2009]
administrator (DBA).
a database
Explain the roles of OR, WBUT 2017]
DBA.
Discuss the role of OR, WBUT 2018]
administrator?
database
Explain the role of
Answer: the following: set of
DBA include database schema by writing
he functions of the creates the original
DBA to a set of
tables that is stored

1) Schema definition: The DDL compiler the


Ocfinitions that is translated by
appropriate
dictionary. The DBA creates appropriate
permanently in the data t h o d definition:
definitions, which is translated
access-method
s t r u c t u r e and a set of
9 Storage methods by
writing
compiler.
storage structi
ctures and
access
d a t a - d e f i n i t i o n - l a n g u a g e

Programmers accomplish the


bydthe
atadata-storage
- s t o r a g e and daeanization m
and mouyechema
odificafion: or to the description of
Or the
ne
physical-organization or to the description
3)
chema and the database
Schema

either to
relati
uvely rare
modifications

DBMSCS-3
is by
POPULAR PUBLICATIONS
definitions
which used
either the
set
ad a of compiler to genera
by writing
ta-definition-language

storage
organization
and
(for
cxample,
the data dictionar
Pnysical tables
different v .
data-storage
the of
DDL compiler or
internal system granting f
to the appropriate data
access:
The
which parts of the da
modifications authorization for to regulate se
of is kept in
administrator special
Granting database
allows the authorization
information

access to the ddata


authorization
The whenever
is
users eon
access.
database system
by the
various
consulted
that is must satiee
Structure

in the system. values stored


in
the database
attempted The data be specified
explicitly by the
specification: must
(5)
Integrity-constraint
Such a
constraint
systemstruct
ucture
constraints.
kept in a special
certain consistency constraints are system
takes place in the
The integrity update
administrator.
whenever an
database
database system The data values stored: in
that is consulted by the constraint
specification:
constraint must be
integrity Such a
Designing security and
constraints.
(6)
satisfy certain consistency constraints are kept in a
database must The integrity
the administrator.
an undate
the database whenever
iate
specified explicitly by the database system
structure that is
consulted by
special system
data either onto some movahle
takes place in the system. backing up the
Maintenance: Periodically
Routine data from losS due to various
(7) to pYevent and protect
operations. Monitoring jobs
devices and/or to
remote s e r v e r s running on
for regular
reasons. Also ensures
free disk space the method loosely called
that performance is not degraded bý
the database and ensuring
performance tuning.
between a database and a table? WBUT 2009, 2011]
3. What is the difference
Answer: relational
Database is a Pool of data. Tables
are the containers of holding the data. As per
tables are organized following
the rules of total
database management system,
Implementation is done with the help of primary
participation and/or partial participation.
Key and foreign key relationship.
4. Indicate the advantage of DBMS over conventional file system. WBUT 2013]
Answer:
Reduced data redundancy and Reduced updating errors and increased

consistency
YGreater data integrity and independence from applications programs
Improved data access to users through use of host and query languages
Improved data security
Reduced data entry, storage, and retrieval costs
Facilitated development of new
applications program
5. Could modern
a
university be supported if a file processing system was
manage enterprise information? List four major difficulties that are likely tousea
arise
no database
system was available to the
university. Discuss the difficulties.
a0141
WBUT 20141

DBMSCS-4
DATABASE MANAGEMENT SYSTEM

ADSWer:
er niversity
have to manage its
large enterprise information because it can hav
1o0rtments, each with itS own information system and data files. Three potertential
ay xist in a file processing environment. The first problem is data dundancy,
bleans that data common to two or more information
systems is stored in several
m e a n s

ata redundancy requires more storage space and maintaining and updating data
w h i c h

Data redundanc

locations is expensive.
p l a c e s

severa

inS
in data integrity problems can occur if updates are not applied in every file.
Seco the data in only one ot the systems will cause inconsistent data and resuit in
S e c o n d

Changing the
second system.
information in the
incorect
jncor nroblem is the rigid data structure of
he third probl a typical file processing environment
Businesses m u s t take decisions based on company-wide data and managers often require
nation
i n f o r m a t i o n
from multiple business units and departments. In a file processing
nanment,
enviror
that means retrieving information from independent, file-based systems,
and inefficient,_
which is slow
occurrences of data items
Courth is database system needs less storage. Theoretically, all redundant data. System
eed be stored only once, thereby eliminating the storage of
minimize data
Aeuelopers and database designers often use data normalization to
redundancy
Relational
dictionary? What do you mean by unary operations in
6.What is Data WBUT 2016]
algebra? Give example.
Answer: database, the number
Data Dictionary: A data dictionary çontains a list of all files in thedatabase management
field. Most
in each file, and thenames and types of each
of records hidden from users to prevent
them from accidentally
the data dictionary
systems keep data or data about the data.
as meta
other words it is known
destroying its contents. In language, which takes instances of
relations as
query
Kelational algebra is a procedural
relations as output. It uses operators to perform
queries. An
input and yields instances of five fundamental unary
operations are select,
or binary.
The
perator can be either unary
project, Union, Set different and rename.
1. Osubject "database(Books)

2. Isubject, author (Books)


(Articles)
Il author (Books) U| author
(Articles)
(Books) [Iauthor
-

T author

Px(E)

You might also like