You are on page 1of 10

Sandip Polytechnic, Nashik

Department of Computer Engineering

List of Practical’s for MSBTE PR Exam (W er 2023)


Sub: Database Management system (DMS-22319)

1. list any four applications of DBMS.


2. State the four database users.
3. Define normalization. Enlist its type.
4. Enlist DDL and DML commands.
5. Define the following i) Primary Key ii) Foreign Key
6. Enlist four aggregate functions.

1. Draw PL/SQL block structure.


2. List disadvantages of typical file processing system.
3. Define i) data abstraction, ii) data redundancy.

4. Define the term :


i) Candidate key
ii) Primary key
5. List four DDL commands with syntax.
1. Define normalization, list its types.
2. Enlist four aggregate functions.
3. Define cursor. List the two types of cursor.
4. Distinguish between network model and hierarchical model (any 4 points).

1. Explain set operators with example.


2. Explain any four string functions with example.
3. Describe exception handling in brief.
4. Describe commit and rollback with syntax and example.

1. Explain joins in SQL with examples.


2. Explain function in PL/SQL with example.
3. Explain database security with it’s requirements in detail.
4. Explain the four roles of database administrator.
1. State and explain 1NF and 2NF with example.
2. Draw the block structure of PL/SQL . List advantages of PL/SQL.
3. Write step by step syntax to create, open and close cursor in PL/SQL.
4. Explain transaction ACID properties.

1. Draw an E-R diagram of library management system considering issue and return, fine
calculation facility, also show primary key, weak entity and strong entity.
2. Consider the following schema Depositor (ACC_no, Name, PAN, Balance) Create a view
on Depositor having attributes (ACC_no, PAN) where balance is greater than 100000.
1. Consider the following schema Depositor (ACC_no, Name, PAN, Balance) Create a view
on Depositor having attributes (ACC_no, PAN) where balance is greater than 100000.

Create a sequence
i) Sequence name is Seq_1, Start with 1, increment by 1, minimum value 1, maximum
value 20.
ii) Use a seq_1 to insert the values into table Student (ID Number (10), Name char
(20));
iii) Change the seq_1 max value 20 to 50.
iv) Drop the sequence.
1. Write a PL/SQL program which accept the customer ID from the user if user enters an
invalid ID then the exception invalid_id is raised using exception handling.

i) Create user ‘Rahul’.


ii) Grant create, select, insert, update, delete, drop privilege to ‘Rahul’.
iii) Removes the select privilege from user ‘Rahul’.
a. Define : (i) Instance (ii) Schema
b. List any four advantages of DBMS.
c. List DCL commands.
d. Define Normalization and list its types.
e. Write syntax for creating synonyms with example.
f. State any four PL/SQL datatypes.

1. Explain overall structure of DBMS with the help of diagram.


2. Explain difference between delete and truncate command with example.
3. Write and explain syntax for creating view with example.
1. State and explain 2NF with example.
2. Explain any four aggregate functions with example.
3. Explain state of transaction with the help of diagram.

1. State the difference between Relational and Hierarchical model.


2. List the SQL operations and explain range searching operation ‘between’ and pattern
matching operator ‘like’ with example.
3. Explain cursor with example.

1. State the use of database trigger and also list types of trigger.
2. Explain recovery techniques with example.
3. Draw ER diagram for library management system considering issue and return, fine
collection facility. Consider appropriate entities.
1. Create simple and composite index. Write command to drop above index.
2. Write a command to create table student (RNo., name, marks, dept.) with proper
datatype and RNo as primary key.
3. Write a command to create and drop sequence.

1. Write a PL/SQL program to calculate factorial of a given number.


2. Write SQL command for following : (i) Create user (ii) Grant privileges to user (iii)
Remove privileges from user

1. State any two advantages of DBMS over file processing system.


2. Draw three level architecture of DBMS.
3. Define table and field.
4. Enlist DML commands.
5. State any two advantages of functions in PL/SQL.

1. Distinguish between Network and Hierarchical model. (Any four points)


2. Explain any four set operators in SQL with example.
3. Describe Views and write a command to create view.
1. State and explain 3NF with example.
2. Define index. Explain it’s types.

1. Explain ACID properties of traction.


2. Explain strong and weak entity set.
3. Describe create & alter command with syntax & example.

1. Define database trigger. How to create and delete trigger ?


2. Explain any one control structure in PL/SQL with example
3. Describe database backups with it’s types.
1. Draw an ER diagram for library management system. (Use Books, Publisher &
Member entities).
2. Write a PL/SQL program to print n even numbers using For Loop.

1. Describe database privileges. Write down the procedure for granting & revoking
privileges in database objects to the users.
2. Write a command to create table student (rollno, Stud_name, branch, class, DOB, City,
Contact_no) and write down queries for following : (i) Insert one row into the table (ii)
Save the data (iii) Insert second row into the table (iv) Undo the insertion of second
row (v) Create save point S1. (vi) Insert one row into the table.

You might also like