0% found this document useful (0 votes)
76 views

DBMS Unit 1 - Question Bank

The document describes a question bank for a database management systems course. It includes questions about DBMS concepts like data independence, data models, and database architecture. The questions are grouped by unit and cover outcomes related to acquiring knowledge of DBMS architecture and languages.

Uploaded by

sadhasim
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
76 views

DBMS Unit 1 - Question Bank

The document describes a question bank for a database management systems course. It includes questions about DBMS concepts like data independence, data models, and database architecture. The questions are grouped by unit and cover outcomes related to acquiring knowledge of DBMS architecture and languages.

Uploaded by

sadhasim
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 19

SRM INSTITUTE OF SCIENCE AND TECHNOLOGY

Ramapuram Campus, Bharathi Salai, Ramapuram, Chennai - 600089

FACULTY OF ENGINEERING AND TECHNOLOGY

DEPARTMENT OFCOMPUTER SCIENCE AND ENGINEERING

QUESTIONBANK

Degree & Branch : B.TECH- CSE


Semester : III/VI
Sub Code & Subject Name : 18CSC303J- DATABASE MANAGEMENT SYSTEMS
Regulation : 2018
Academic Year : 2022-2023
SRM INSTITUTE OF SCIENCE AND TECHNOLOGY
Ramapuram Campus, Bharathi Salai, Ramapuram, Chennai-600089

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

QUESTION BANK

SUBJECT : Subject Code: 18CSC303J - Subject Name: Database Management Systems


SEM/YEAR: VI/III
Course Outcomes
CO1: Acquire the knowledge on DBMS Architecture and Languages
CO2:
CO3:
CO4:
CO5:
UNIT I
What is Database Management System- Advantage of DBMS over File Processing System - Introduction
and applications of DBMS- Purpose of database system- Views of data- Database system Architecture-
Data Independence- The evolution of Data Models- Degrees of Data Abstraction- Database Users and
DBA- Database Languages
PART-A (Multiple Choice Questions)
Q. Course Competence Page
Questions Outcome BT Level Number
No.
There are certain packages that
allow people to define data items,
place these items in particular
records, combine the records into
designated files and then manipulate
and retrieve the stored data. What
1 CO1 BT1 1
are they called?
(A) Data storage system
(B) Database management system
(DBMS)
(C) Batch processing system
(D) Data communication package
In any hierarchy of data
organization, what is the smallest
entity to be processed as a single
unit is called?
2 CO1 BT1
(A) Data field
(B) Data record
(C) Data file
(D) Database
Which of the following is true?- A
database management system
(A) Allows simultaneous access to
multiple files
3 (B) Can do more than a record CO1 BT1 1, 31
management system
(C) Is a collection of programs for
managing data in a single file
(D) None of the above
Which of the following is not a
function of DBA?
(A) Network Maintenance
4 CO1 BT1 28
(B) Routine Maintenance
(C) Schema Definition
(D) Authorization for data access
What refers to the correctness and
completeness of the data in a
database?
5 (A) Data security CO1 BT1
(B) Data integrity
(C) Data constraint
(D) Data independence
Which of the following is a serious
problem of file management
systems?
6 (A) Difficult to update CO1 BT1 4
(B) Lack of data independence
(C) Data redundancy
(D) All of the above
Which of the following is Database
Language?
(A) Data Definition Language
7 CO1 BT1
(B) Data Manipulation Language
(C) Query Language
(D) All of the above
Who created the first DBMS?
(A) Edgar Frank Codd
8 (B) Charles Bachman CO1 BT1
(C) Charles Babbage
(D) Sharon B. Codd
What is scheme describes?
(A) Data elements
9 (B) Records and files CO1 BT1
(C) Record relationships
(D) All of the above
Which of the following is/are
disadvantages of Database
Management System?
(A) Cost of Hardware and Software
(B) Reduce data redundancy
10 CO1 BT1
(C) Remove data inconsistency
a) A
b) B
c) C
d) B & C
In the architecture of a database
system what is the external level
__________
11 (A) Physical level CO1 BT1 7
(B) Logical level
(C) Conceptual level
(D) View level
What is Data independence?
(A) Data is defined separately and
not included in programs
(B) Programs are not dependent on
the physical attributes of data
(C) Programs are not dependent on
12 CO1 BT1
the logical attributes of data
(D) Both programs are not
dependent on the physical
attributes of data & programs
are not dependent on the
logical attributes of data
What is Concurrent access?
(A) Accessing system by only single user at a time
13 (B) Accessing System by more than one CO1
user one by one
BT1 5
(C) Accessing system by more than one user at a time
(D) Accessing system by single only
Concurrency control is important for
which of the following reasons?
(A) To ensure data integrity when
updates occur to the database in
a multiuser environment
(B) To ensure data integrity when
updates occur to the database in a
14 CO1 BT1 6
single-user environment
(C) To ensure data integrity while
reading data occurs to the database
in a multiuser environment
(D) To ensure data integrity while
reading data occurs to the database
in a single-user environment
What is the main purpose of DBMS
is to provide ____________ view of
data to user.
15 (A) Abstract CO1 BT1
(B) Complete
(C) Partial
(D) None of these
Which one is hide certain details of
how data is stored and maintain?
(A) Data isolation
16 CO1 BT1 6
(B) Data integrity
(C) Data Abstraction
(D) Data binding
How many levels in data abstraction?
(A) 2
17 (B) 4 CO1 BT1 6
(C) 1
(D) 3
In data abstraction which is lowest
level of abstraction?
(A) Conceptual level
18 CO1 BT1 6
(B) View level
(C) Physical level
(D) None of these
What is also called as Hierarchical
model?
a. Tree structure BT1
19 CO1
b. Plex Structure
c. Normalize Structure
d. Table Structure
"What data is stored?" is described
by __________ level of abstraction
in DBMS.
20 a. Physical CO1 BT1 6
b. View
c. Conceptual
d. None of the above
Which of the following represents a
relationship among a set of values?
a
. A Row
b BT1
21 CO1
. A Table
c
. A Field
d A
. Column
If user doesn't know anything about
the complexity of database
application then that user is called
as _____________.
a
22 . Naive User CO1 BT1 24
b
. Database Manager
c
. Database Operator
d Database
. Administrator
Data Model is collection of
conceptual tools for describing
a. Data BT1 8,9
23 CO1
b. Data Schema
c. Consistency Constraints
d. All of these
Which of the following is example of
Object based logical model?
a
. Entity Relationship Model
b BT1
24 CO1
. Hierarchical Model
c
. Relational Model
d
. Network Model
In enterprise data modeling, which
is incorrect?
a
. You review current systems.
b BT1
25 CO1
. You implement the new database.
c You describe the data needed at a very high level of
. abstraction.
d
. You plan one or more database development projects.
Which is true for the following
statement?: Ability to modify
schema of database in one level
without affecting the schema
definition in higher level is called as
______.
26 a CO1 BT1
. Data Independence
b
. Data Isolation
c
. Data Migration
d
. Data Abstraction
Logical Data independence is ability
to modify ____________ without
causing application program to
rewrite. Which is true?
27 CO1 BT1 8
a. Physical Schema
b. Logical Schema
c. Conceptual Schema
d. None of the above

If both data and database administration exist in an


organization, the database administrator is responsible
for which of the following?
28 CO1 BT1 27,28
(A) Data modeling
(B) Database design
(C) Meta data
(D) All the above
What refers to the correctness and
completeness of the data in a
database?
a
. Data security
29 b CO1 BT1
. Data integrity
c
. Data constraint
d Data
. independence
Which of the following is not
Modification of the Database?
a
. Deletion
b BT1
30 CO1
. Insertion
c
. Sorting
d
. Updating
What is true for the following: An
entity set that does not have sufficient
attributes to form a primary key is a
31 (A) strong entity set. CO1 BT1 45,46
(B) weak entity set.
(C) simple entity set.
(D) primary entity set.
The language which has recently
become the defacto standard for
interfacing application programs
with relational database system is
32 CO1 BT1
(A) Oracle.
(B) SQL.
(C) DBase.
(D) 4GL.
A subschema expresses
(A) the logical view.
33 (B) the physical view. CO1 BT1 8
(C) the external view.
(D) all of the above.
Which one of the following
statements is false?
(A) The data dictionary is normally
maintained by the database
administrator.
(B) Data elements in the database
can be modified by changing the
34 CO1 BT1 12
data dictionary.
(C) The data dictionary contains the
name and description of each data
element.
(D) A data dictionary is a tool used
exclusively by the database
administrator.
What is the correct statement from
the following?

A. With the DDL commands, any


structural changes can be
made to the table, including
creation, deletion, and
alteration.
B. With the DML commands, any
structural changes can be made
35 CO1 BT1 10,11
to the table, including creation,
deletion, and alteration.
C. With the DCL commands, any
structural changes can be made
to the table, including creation,
deletion, and alteration.
D. With the TCL commands, any
structural changes can be made
to the table, including creation,
deletion, and alteration.
The three language components of a
database management system
(DBMS) like DDL, DCL, DML. Two
different types of people (users and
practitioners) are concerned with
36 them. Which of them do users of a CO1 BT1 10
DB
A. DDL
B. DML
C. DDL And DCL
D. DCL And DML
Which of the following statement
removes database including its
related components?
37 A. DROP DATABASE CO1 BT1
B. DELETE DATABASE
C. REMOVE DATABASE
D. None of the mentioned
Which of the following statement
removes Sales and suppliers
database?
A. DROP DATABASE Sales,
NewSales;
38 B. DROP DATABASE Sales, CO1 BT1
suppliers;
C. DROP DATABASE Sales and
suppliers;
D. DROP DATABASE Sales-
suppliers;
Which of the following statements
are TRUE?
A. Integrity constraint can be
added to a table even if table
data is in violation
39 B. A Unique constraint allows CO1 BT1
multiple rows to have NULL
value
C. A PRIMARY KEY allows a
single row to contain NULL
D. Both A and B
Which statement would add a
column CGPA to a table Student
which is already created?
A. ALTER TABLE Student ADD
COLUMN (CGPA NUMBER(3,1));
40 CO1 BT1
B. ALTER TABLE Student CGPA
NUMBER(3,1);
C. ALTER TABLE Student ADD
(CGPA NUMBER(3,1));
D. Both A and C
Which command allows the removal
of all rows from a table but flushes a
table more efficiently since no
rollback information is retained:
41 CO1 BT1
A. TRUNCATE command
B. Create command
C. Drop table command
D. Alter table command
What is the correct statement of the
following?
A. When a database is dropped, the
master database should be backed up
B. You can drop a database currently
42 CO1 BT1
being used
C. Dropping a database snapshot does
not delete the database snapshot from
an instance of SQL Server
D. None of the mentioned
Which of the following statements
are False about DISTINCT
keyword?
A. DISTINCT removes duplicates
based on all the columns in the
SELECT clause
43 CO1 BT1
B. DISTINCT keyword can be used
in SELECT and WHERE clauses
C. Usage of DISTINCT should be
avoided as far as possible due to
performance issues
D. None of the above
Which type of query that is placed
within a WHERE or HAVING clause
of another query?
44 A. Master query CO1 BT1
B. Sub query
C. Super query
D. Multi-query
Which of the following columns in a
table cannot be updated?
A. DATE type columns in the table
B. Columns which allows NULL values
45 in the table CO1 BT1
C. A primary key column which also
serves as foreign key reference in
another table
D. All of the above
Which one of these is used with
SELECT clause to fetch all columns
from a table?
46 A. ALL CO1 BT1
B. *
C. DISTINCT
D. AS
Which data manipulation commands
the combines the records from one or
more tables is called?
47 A. SELECT CO1 BT1
B. PROJECT
C. JOIN
D. PRODUCT
Which is correct the sequence for
how the query mechanism works?
A. Authentication-> DDL->DML-
>query optimizer->output
48 B. DDL->DML->query optimizer-> CO1 BT1
Authentication->output
C. DML->query optimizer->
Authentication-> DDL-> output
D. All of the mentioned
What is TRUE about SAVEPOINT?
A. Following the completion of a
transaction, it must be executed
to save all the operations
performed in the transaction.
49 B. A transaction can be rolled back CO1 BT1
to its last saved state.
C. A specific part of a
transaction can be given a
name
D. None of the above
Which one of the following
commands is used to restore the
database to the last committed state?
50 A. Savepoint CO1 BT1
B. Rollback
C. Commit
D. Both A & B
PART B (4 Marks)
What are the disadvantages of file
processing system?
The disadvantages of file processing
systems are
a) Data redundancy and inconsistency b)
1 CO1 BT1 3-6
Difficulty in accessing data
c) Data isolation
d) Integrity problems
e) Atomicity problems
f) Concurrent access anomalies
List out the applications of DBMS.
a) Banking
b) Airlines
c) Universities
2 d) Credit card transactions CO1 BT1 1-2
e) Tele communication
f) Finance g) Sales
h) Manufacturing
i) Human resources
What are the purposes of DBMS?
The purpose of DBMS is to
transform the following −
● Data into information.

● Information into knowledge.


● Knowledge to the action.
Uses of DBMS
The main uses of DBMS are as
3 follows − CO1 BT1 3
● Data independence and efficient
access of data.
● Application Development time
reduces.
● Security and data integrity.

● Uniform data administration.


● Concurrent access and recovery
from crashes.
Compare instances and schemas of
database?
Instances :
Instances are the collection of information
stored at a particular moment. The instances
can be changed by certain CRUD operations
as like addition, deletion of data. It may be
noted that any search query will not make
any kind of changes in the instances.
Example –
Let’s say a table teacher in our database
4 CO1 BT2 8
whose name is School, suppose the table has
50 records so the instance of the database
has 50 records for now and tomorrow we
are going to add another fifty records so
tomorrow the instance have total 100
records. This is called an instance.
2. Schema :
Schema is the overall description of the
database. The basic structure of how the
data will be stored in the database is called
schema.
What are the various types of Databases?
1) Centralized Database. It is the type of
database that stores data at a centralized
database system. ...
2) Distributed Database. ...
5 3) Relational Database. ... CO1 BT1
4) NoSQL Database. ...
5) Cloud Database. ...
6) Object-oriented Databases. ...
7) Hierarchical Databases. ...
8) Network Databases.
Explain the classification of data models?
1. Relational model
6 2. ER model CO1 BT2 8-9
3. Object based data model
4. Semi structured data model
Outline the concept of Data Abstraction
in DBMS
Database systems are made-up of complex
data structures. To ease the user interaction
with database, the developers hide internal
irrelevant details from users. This process of
hiding irrelevant details from user is called
data abstraction.
Three levels of abstraction:
7 Physical level: This is the lowest level of CO1 BT2 6
data abstraction. It describes how data is
actually stored in database. You can get the
complex data structure details at this level.
Logical level: This is the middle level of 3-
level data abstraction architecture. It
describes what data is stored in database.
View level: Highest level of data
abstraction. This level describes the user
interaction with database system.
Explain Data Independence in DBMS?
Data Independence is defined as a property
of DBMS that helps you to change the
Database schema at one level of a database
system without requiring to change the
schema at the next higher level. Data
independence helps you to keep data
separated from all programs that make use
8 of it. CO1 BT2
You can use this stored data for computing
and presentation. In many systems, data
independence is an essential function for
components of the system.
Types of Data Independence
In DBMS there are two types of data
independence
1. Physical data independence
2. Logical data independence.
What are the different components of
DBMS?
The term database system refers to an
organization of components that define and
regulate the collection, storage,
management, and use of data within a
database environment.
9 CO1 BT1
The five major components of database
management system are
i. Hardware,
ii. Software,
iii. People,
iv. Procedures, and
v. Data.
What are the main tasks performed by
DBA?
The following are the functions of a
Database administrator.

● Schema Definition
● Storage structure and access method 28-29
10 CO1 BT1
definition
● Schema and physical organization
modification.
● Granting authorization for data
access.
● Routine Maintenance
Outline the Types of Database Users in
DBMS
1. Application Programmers – They
are the developers who interact with
the database by means of DML
queries. These DML queries are
written in the application programs
like C, C++, JAVA, Pascal, etc.
2. Sophisticated Users – They are
database developers, who write SQL
queries to select/insert/delete/update
data. They do not use any
application or programs to request
the database.
11 3. Specialized Users – These are also CO1 BT2 27-28
sophisticated users, but they write
special database application
programs. They are the developers
who develop the complex programs
to the requirement.
4. Stand-alone Users – These users
will have a stand-alone database for
their personal use. These kinds of the
database will have readymade
database packages which will have
menus and graphical interfaces.
5. Native Users – these are the users
who use the existing application to
interact with the database.
Summarize the Data Definition Language
● DDL stands for Data Definition
Language. It is used to define database
structure or pattern.
● It is used to create schema, tables,
indexes, constraints, etc. in the database.
● Using the DDL statements, you can
create the skeleton of the database.
● Data definition language is used to store
the information of metadata like the
number of tables and schemas, their
names, indexes, columns in each table,
constraints, etc.
12 CO1 BT2 10-11
Here are some tasks that come under DDL:
● Create: It is used to create objects in
the database.
● Alter: It is used to alter the structure of
the database.
● Drop: It is used to delete objects from
the database.
● Truncate: It is used to remove all
records from a table.
● Rename: It is used to rename an object.
● Comment: It is used to comment on the
data dictionary.
Explain about Data Manipulation
Language
DML stands for Data Manipulation
Language. It is used for accessing and
manipulating data in a database. It handles
user requests.
Here are some tasks that come under DML:
● Select: It is used to retrieve data from a
database.
● Insert: It is used to insert data into a
table.
13 ● Update: It is used to update existing CO1 BT2 10
data within a table.
● Delete: It is used to delete all records
from a table.
● Merge: It performs UPSERT operation,
i.e., insert or update operations.
● Call: It is used to call a structured query
language or a Java subprogram.
● Explain Plan: It has the parameter of
explaining data.
● Lock Table: It controls concurrency.

Here are some tasks that come under DCL:


● Grant: It is used to give user access
privileges to a database.
14 ● Revoke: It is used to take back CO1 BT2
permissions from the user.
There are the following operations which
have the authorization of Revoke:
CONNECT, INSERT, USAGE, EXECUTE,
DELETE, UPDATE and SELECT.
What is Transaction Control Language?
TCL is used to run the changes made by the
DML statement. TCL can be grouped into a
logical transaction.
Here are some tasks that come under TCL:
15 CO1 BT1
● Commit: It is used to save the
transaction on the database.
● Rollback: It is used to restore the
database to original since the last
Commit.
PART C (12 Marks)
Illustrate with neat sketch the views of
1 CO1 BT2 6-9
data.
How does DBMS provide data abstraction?
2 CO1 BT1 6-9
Explain the concept of data independence.
Explain about the reasons brings you to
3 CO1 BT2 3-6
choose the database than file system.
With a neat diagram show the overall
4 CO1 BT2 23-25
system structure of DBMS.
Explain Database Administrator’s
5 CO1 BT2 27-29
responsibilities.
What is Data modeling and explain
6 CO1 BT2 8-9
different types of data modeling in brief.
7 Outline DDL and DML commands. CO1 BT2 13-14
Draw and explain three-tier schema
8 CO1 BT2 23-25
architecture of database system.
Design any two database applications by
9 CO1 BT6 -
describing their features.
Explain different languages that are
10 CO1 BT2 9-12
supported to manage the data in DBMS.

Note:

1. BT Level – Blooms Taxonomy Level

2. CO – Course Outcomes

BT1 –Remember BT2 – Understand BT3 – Apply BT4 – Analyze BT5 – Evaluate BT6 – Create

You might also like