All Assignment - DMS
All Assignment - DMS
1 Year: 2024-25
Subject: DMS [313302] Chapter No: 1 Ms. M. G. Jadhav
1. Define the terms i) Data ii) Database iii) DBMS. (W-13, S-15, W-15 ,S-
17,W-18,S-23)
2. Explain the Disadvantages of file processing system. (W-13, S-15 ,W-
18,S-24)
3. State and explain advantages of DBMS over file processing system. (W-14,
W-15, W-16, S-19, W-19,S-22,W-22)
4. List any four applications of DBMS. (W-13, S-15, W-15)
5. Define Instances and schema. (S-14,S-15,S-19,W-22,S-24)
6. Describe data abstractions. (W-17,W-22,S-24)
7. Explain three levels of data abstractions with diagram. (S-14. W-14, S-
15,W-19,S-22)
8. Draw and explain over all structure of DBMS. (W-13,W-14, S-15,W-16,S-
16,S-19,W-22,S-24)
9. List types of data model. (S-16, W-16)
10. Define i) Data Abstraction ii)Data Redundancy.(W-18,S-24)
11. Define Entity. (S-16)
12. Explain strong entity and weak entity.(S-14, W-14, W-16, S-17)
13. Define attributes and explain any 4 type of attributes.(S-16, S-17, W-17)
14. List Symbols used in E-R Diagram. (W-14,S-15,W-17)
15. Draw E-R diagram for Customer branch and Account relationship.(W-
13,W-17)
16. Draw E-R diagram for library management system. (W-14,W-18,S-19,W-
19,S-23)
17. Draw E-R diagram for hospital management system. (S-16,S-24)
18. Draw E-R diagram for airline reservation system.(S-17)
19. Draw E-R diagram for library management system considering issue and
return, fine calculation facility. (S-15)
20. Draw E-R diagram for Customer and loan. (S-17)
21. Distinguish between network model and hierarchical model. (S-19,W-19,S-
19,S-24,W-19,S-24)
CSMSS COP Assignment No. 2 Year: 2024-25
Subject: DMS [313302] Chapter No: 2 Ms. M. G. Jadhav
1. Explain any four string functions with example. (W-13, S-14, S-16, W-16, S-
17, W-17,W-18,W-19,S-23)
2. Explain any four date functions with example. (S-15, W-16, S-17,S-24)
3. Enlist arithmetic and logical SQL operators. (S-22)
4. Explain subquery concept with example. (S-23)
5. Explain set Operators with example. (W-18,W-19,S-24)
6. Explain joins in SQL with examples. (W-18)
7. List the SQL operations and explain range searching operations between and
pattern matching operator ‘like’ with example. (S-19)
8. Explain any four aggregate functions with example. (W-13, S-14,W-18,S-
19,S-23)
9. Explain group by clause with example. (W-13, W-14, S-15,S-16 , S-17, W-
17,W-22)
10. Explain having clause with example. (W-13, S-16 , S-17)
11. Write query using group by and having clause (use students database). (S-
24)
12. Explain order by clause with example. (W-13, W-14, S-15,W-17,W-22)
13. Explain any two types of join with example. (S-23)
14. Explain any four joins if SQL with examples. (S-24)
15. Explain view with example in details. (W-13, S-14, S-15,W-15,S-16 , W-
16,W-19,S-23)
16. Write syntax for creating and dropping views. (S-22)
17. Any Three example of View. (W-13,W-14,W-16)
18. Write and explain syntax for creating view with example. (S-19)
19. Explain Sequence with example in details. (S-13,W-13, S-14, W-14,W-
15,S-16 , W-17)
20. Explain index with types in details. (W-13, S-14,W-14,W-15, S-16, W-16, S-
17, W-17,S-19,W-19
21. Create simple and composite index. Write command to drop above index. (S-
19,S-24)
22. Write and Explain the syntax for creating and dropping indexes with an
example. (S-22)
23. Write and Explain the syntax for creating, Altering and dropping the
sequence. (W-22)
24. Write syntax for creating synonyms with example. (S-19)
25. What are synonyms? Write syntax for creating and dropping a synonym. (S-
14,W-14,W-17,S-24)
26. Consider the following database Employee
(emp_id,emp_name,emp_city,emp_addr,emp_dept,join_date) (W-18)
i) Display the emp_id of employee who live in city ‘Pune’ or ‘Nagpur’
ii) Change the employee name ‘Ayush’ to ‘Ayan’.
iii) Display the total number of employee whose dept is 50.
27. 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. (W-18)
28. Create a sequence (W-18)
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.
29. Write a command to create table student(RNO,name marks, dept) with
proper datatypes and RNo as primary key ii) Write a command to create and
drop sequence. (S-19)
30. Write a command to crate table student (rollno, Stud_name, branch, class,
DOB, City, Contact_no) and write down queries for following: (W-19)
(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.
31. Consider following schema: EMP (empno, deptno, ename, salary,
designation, join_date, DOB, dept_location). Write down SQL queries for
following: (W-19)
(i) Display employees name & number in decreasing order of salary.
(ii) Display employee name & employee number whose designation is
Manager.
(iii) Display age of employees with ename.
(iv) Display total salary of all employees.
(v) Display employee names having deptno as 20 and dept_location is
Mumbai
32. Display name of employee who earned lowest salaryConsider the structure
for book table as Book-Master (bookid, bookname, author, no_of copies,
price) Write down SQL queries for following: (W-19,S-24)
33. Display all books whose number of copies are less than 10. Write the SQL
queries for following EMP table. Emp (empno, deptno, ename, salary,
designation, city.) (W-22)
i) Display average salary of all employees.
ii) Display names of employees who stay in Mumbai or Pune.
iii) Set the salary of employee 'Ramesh' to 50000.
iv) Display names of employees whose salaries are less than 50000.
v) Remove the Record of employees whose deptno is 10.
vi) Remove the column deptno from EMP table.
34. Write SQL queries for following. Consider table stud (roll no, name, subl,
sub2, sub3) (W-22)
i) Display names of student who got minimum mark in subl.
ii) Display names of students who got above 40 marks in sub2.
iii) Display count of Students failed in sub2.
iv) Display average marks of subl of all students.
v) Display names of students whose name start with 'A' by arranging
them in ascending order of subl marks.
vi) Display student name whose name ends with h' and subject 2 marks
are between 60 to 75.
CSMSS COP Assignment No. 4 Year: 2024-25
Subject: DMS [313302] Chapter No: 4 Ms. M. G. Jadhav
12. Describe database privileges. Write down the procedure for granting &
revoking privileges in database objects to the users. (W-19,S-24)