DBMS Unit 1 - Question Bank
DBMS Unit 1 - Question Bank
QUESTIONBANK
QUESTION BANK
● 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.
Note:
2. CO – Course Outcomes
BT1 –Remember BT2 – Understand BT3 – Apply BT4 – Analyze BT5 – Evaluate BT6 – Create