0% found this document useful (0 votes)
25 views8 pages

DBMS Sla

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

DBMS Sla

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

KKWAGH

Assignment No.1
01. Explain three levels of data abstraction with suitable diagram. What is data abstraction, instances and
Schema. Explain three level architecture with diagram.
02. Explain Data Redundancy and Integrity.
03. Describe Data Independence with its type.
04. Explain any four functions of DBMS.
05. List and explain types of DBMS users. List four function of database administrator.
06. State and explain four advantages of DBMS over file processing system.
07. State four differences between DBMS and RDBMS.
08. Explain the overall structure of DBMS with suitable diagram.
09. Define DBMS. List any two applications of DBMS.
10. List any four DBMS software.
11. Enlist different components of DBMS.
12. Describe Relational model with example.
13. List & explain various Data models.
14. List out query processing components and state their function.
15. List Codd rules. Explain any four.
17. Define Database. List any two properties of database.
Assignment No.2
01. What is the difference between weak entity set and strong entity set?
02. What are the types of attributes?
03. What is domain and entity?
04. Define super key.
05. Define the term. (i) Candidate key (ii) Primary key
06. Define attribute and entity.
07. Explain single value and multivalue attribute of E-R model.
08. Draw an E-R diagram of library management system
09. E-R Diagram for Airline Reservation System
10. E-R Diagram for Customer & Loan System
11. E-R Diagram for Hospital Management System
12. E-R Diagram for Library Management System
13. How to apply NOT NULL constraint at the time of table creation? Give syntax.
14. Explain need of normalization and state 3NF
15. State and explain INF and 2NF with example
16. Explain 3NF with example.
17. Explain Normalization with example.
18. Explain domain integrity constraint with example. (Not Null, Check)
19. List and explain the types of integrity constraints in detail.
Assignment No.3
01. Explain Alter command. Give syntax of add and modify option.
02. List any four DDL commands.
03. Describe Grant and Revoke commands.
04. Describe Commit and Rollback with syntax.
05. Explain the use of truncate statement. Give example
06. Write syntax of insert command. Demonstrate with suitable example
07. List and explain set operators in SQL with example.
08. List and explain any 4 arithmetic operators in SQL with example.
09. Explain any four string functions with example.
10. Describe date and time function.
11. Explain any four aggregate functions with their examples.
12. What is sequence? What are the various operations with respect to sequences?
13. What are sequences? Create sequence for ‘student’ table.
14. Describe following terms: i) unique indexes ii) composite indexes.
15. Explain GROUP BY, ORDER BY clause of SQL with example.
16. Explain Having clause with example
17. Explain word comparison operators: (i) IN and NOT IN (ii) BETWEEN and NOT BETWEEN.
18. What are synonyms? How to create and drop synonym?
19. State use of ‘%’ character in string operations.
22. Explain the set operator with help of example.
21. Explain views with example. How to create view? Give its syntax and explain its advantages.
22. What is OUTER JOIN? Explain in detail.
23. Define index. State its type.
24. Differentiate between view and index
25. With the help of example, explain DROP VIEW command
Assignment No.4
01. What are the various control structure statements used in PL/SQL?
02. Explain conditional control structure in PL/SQL.
03. Explain for loop in PL/SQL with example.
04. Explain while-loop in PL/SQL with example.
05. What are exceptions? What are Predefined exceptions and User defined exceptions? Explain its types.
06. What is cursor? Explain implicit and explicit cursor.
07. Explain parameterized cursor with example.
08. Write step by step syntax to create, open and close cursor in PL/SQL block.
09. Explain trigger with suitable example. List its types. How to create trigger? State any two advantages of
trigger.Compare database triggers and procedures and explain the use of database trigger
10. Differentiate between function and procedure. List two advantages of each.
11. Draw the block structure of PL/SQL. List advantages of PL/SQL.
12. What statement is used in PL/SQL to display the output?
13. List out any four statements of PL/SQL.
14. Explain GOTO statement with example.
Assignment No.5
01. Explain states of transaction with neat diagram
02. State and Explain ACID properties.
03. What is Database Security? Explain its need.
04. Enlist different database Users. Write function performed by each user.
05. Explain with suitable example how to create user.
06. Enlist & explain types of database privilege.
07. What is database backup? Write need of backup.
08. Explain types of database backup.
09. Differentiate between Physical backup & Logical backup.
10. What is database recovery? State its need.
11. Differentiate between Roll Forward & Rollback recovery technique.
12. Write a short note on- a) Data Warehouse b) Data lakes
13. Write a short note on- a) Data mining b) Big data c) Mongo DB d) DynamoDB
Assignment No.6
Part-A
Solve the following Queries
01. Consider following schema: Depositor (Acc_no, Name, PAN, Balance)
Create a view on depositor having attributes (Acc_no, PAN) where balance is greater than 100000.
02. Consider following schema: Employee (emp_no, emp_name, dept, designation, salary, Dept_location)
Solve following queries:
(i) List all Managers in Mumbai location. (ii) Set salary of all ‘project leaders’ to 70000/-.
(iii) List employees with having alphabet ‘A’ as second letter in their name.
(iv) Display details of those employees who work in Mumbai or Chennai.

03. Consider following database and solve queries: emp (empno, ename, ph, sal, dept_no, comm)
(i) Change employee name ‘Rahul’ to ‘Ramesh’. (ii) Give increment of 20% in salary to all employees.

04. Consider following schema: Employee (emp_no, emp_name, dept, designation, salary, Dept_location)
Solve following queries:
(i) List all Managers in Mumbai location. (ii) Set salary of all ‘project leaders’ to 70000/-.
(iii) List employees with having alphabet ‘A’ as second letter in their name.
(iv) Display details of those employees who work in Mumbai or Chennai.

05. Consider following schema: Depositor (cust_name, acc_no)


Borrower (cust_name, loan_no)
(i) Find customer name having savings account as well as loan account.
(ii) Find customer names having loan account but not the saving account.

06. Given-Employee (EMP_ID, FIRST_NAME, LAST_NAME, SALARY, JOINING_DATE,


DEPARTMENT)
Write SQL queries for-
i) Get FIRST_NAME, LAST_NAME from employee table.
ii) Get unique DEPARTMENT from employee table.
iii) Get FIRST_NAME form employee table using alias name “Employee Name”
iv) Get FIRST_NAME from employee table after removing white spaces from left

07. Consider the structure of student (Name, Mark, Age, Place, Phone, Birthdate).
Write SQL queries for the following:
i. To list name of student who do not have phone number ii. To list students from Mumbai and Pune.
iii. To change mark of ‘Ajay’ to 88 instead of 80. iv. To list the students whose age is more than 12.

08. Consider the following database:


Employee (emp_id, emp_name, emp_city, emp_addr, emp_dept, join_date)
Solve the following query:
i) Display the names of employees in capital letters.
ii) Display the emp_id of employee who live in city Pune and Mumbai.
iii) Display the details of employees whose joining date is after ‘01-Apr.-1997’.
iv) Display the total number of employees whose dept.no.is ‘10’.

09. Consider the structure: Book_master {book_id, book_name, subcode, author, no_of_copies, price}.
Write SQL queries for the following:
i) Display total no. of book for subject ‘DBM’. ii) Get authorwise list of all books.
iii) Display all books whose prices are between Rs. 200 and Rs.500

10. Consider the following database: Employee(emp_id, emp_name, emp_city, emp_addr, emp_dept,
join_date)
Solve the following query:
i) Display the names of employees in capital letters.
ii) Display the emp_id of employee who live in city Pune and Mumbai.
iii) Display the details of employees whose joining date is after ‘01-Apr.-1997’.
iv) Display the total number of employees whose dept.no.is ‘10’.

11. Consider the structure: Book-master = {bookid, bookname, subcode-author, no_of copies, price}
Write SQL queries for following:
(i) Display total no. of books for subject ‘DBM’ (ii) Get authorwise list of all books.
(iii) Display all books whose prices are between Rs.200 and Rs.500
(iv) Display all books with details whose name start with ‘S’

Part-B
Write following Pl/SQL Programs-
01. Write a program to find largest of two numbers
02. Write a PL-SQL program to print numbers from 1 to 15 using for loop.
03. Write PL/SQL program to display square of any number.
04. Write a PL/SQL program which handles divide by zero exception.
05. Write PL/SQL procedure to calculate factorial of a give number.
06 Write PL/SQL program to print even or odd numbers from given range.
07 Write a PL/SQL program to find the square of a number given by user using WHILE….LOOP.
(Accept the number from user dynamically)
08. Write a PL/SQL program using while loop to display n even numbers.
09. Write a PL/SQL program to print numbers from 50 to 60 using for loop.
10. Write PL/SQL code to find sum and average of three numbers.
11. Write PL/SQL code to find area of circles with radius greater than 3 and less than equal to 7 and store the
result in a table with attributes radius and area.
12. Write PL/SQL code to find greatest of three numbers.
13. Write PL/SQL program to check weather given number is Prime or not.
14. Write PL/SQL program to generate Fibonacci series.
15. Write PL/SQL program to return Sum of odd number between 1 to 100
16. Write PL/SQL program for displaying top 10 employee details based on salary using cursors
17. Write PL/SQL program to handle a predefined exception.
18. Write PL/SQL program to handle a user defined exception.
19. Write PL/SQL Function that computes and returns the maximum of two values.
20. Write PL/SQL Procedure for creating a procedure for calculating sum of two numbers.

You might also like