Showing posts with label Question Bank. Show all posts
Showing posts with label Question Bank. Show all posts

Saturday, April 18, 2015

Database Management System Question - Pune University December 2011

Database Management System Question - Pune University December 2011 / DBMS Computer Engineering Question of Pune University



[4063] – 341
T.E. (Computer Engineering) (Semester – I) Examination, 2011

DATABASE MANAGEMENT SYSTEMS

(2008 Pattern) (New)
Time : 3 Hours                                                             Total Marks : 100
Instructions : i) Answers to the two Sections must be written in separate books.
ii) Neat diagrams must be drawn whenever necessary.
iii) Assume suitable data if necessary.
iv) Solve Section I : Q.1 or Q.2, Q.3 or Q.4, Q.5 or Q.6.
v) Solve Section II : Q.7 or Q.8, Q.9 or 10, Q.11 or Q.12.

SECTION – I

1. a) Explain component and overall structure of DBMS. [10]
b) Explain in detail the different levels of abstraction. [4]
c) Discuss the entity integrity and referential integrity constraints. [4]
OR
2. a) How following problems are handled with DBMS
i) Data isolation
ii) Data redundancy and inconsistency
iii) Data integrity ? [6]
b) Explain significant difference between File Processing and DBMS. [6]
c) Explain the different constraints on specialization/generalization with suitable example. [4]
d) What is meant by mapping cardinality? [2]

3. a) What are different types of joins in SQL ? Explain with suitable example. [6]
b) Write short note on Dynamic SQL. [6]
c) Consider following database :
Student (Roll_no, Name, Address)
Subject (Sub_code, Sub_name)
Marks (Roll_no, Sub_code, marks)
Write following queries in SQL :
i) Find average marks of each student, along with the name of student.
ii) Find how many students have failed in the subject “DBMS”. [4]
OR
4. a) What is cursor ? Explain explicit cursor and reference cursor in PL/SQL with suitable example. [6]
b) What is stored procedure and function? [4]
c) Consider the relational database
dept (dept_no, dname, loc, mgrcode)
emp (emp_no, ename, designation)
project (proj_no, proj_name, status)
dept. and emp. are related as 1 to many.
Project and emp are related as 1 to many.
Write queries for the following:
i) Give the names of employees who are working on ‘Blood Bank’ project.
ii) Give the name of managers from ‘MARKETING’ department.
iii) Give all the employees working under status ‘INCOMPLETE’ projects. [6]

5. a) What is decomposition ? Suppose that we decompose the schema R = (A, B, C, D, E) into (A, B, C) and (A, D, E). Show that this decomposition
is lossless decomposition if the following set F of functional dependencies
hold.
A → BC, CD→E, B→D, E→A.          [8]
b) For the relation schema R = (A, B, C, D, E). Compute the closure F+ and
canonical cover Fc of following set F of functional dependencies.
A→BC, CD→E, B→D, E→A.             [8]
OR
6. a) Describe the concept of transitive dependency and explain how this concept is used to define 3 NF. [8]
b) Specify Amstrong’s axioms. Use Amstrong’s axioms to prove the soundness of pseudo transitivity rule. [8]

SECTION – II

7. a) What is ordered indices ? Explain the types of ordered indices with suitable example. [10]
b) State the important of query optimization. [4]
c) How cost of query is measured? [4]
OR
8. a) Construct a B+ tree for the following set of key values :
(2, 3, 5, 7, 11, 17, 19, 23, 29, 31). Assume order of tree is 4.       [9]
b) What are the steps involved in query processing? Explain in brief. [9]
9. a) Explain two phase locking protocol. How does it insure serializabiltiy? [8]
b) Explain shadow paging recovery scheme and log based recovery scheme. [8]
OR
10. a) When do deadlock happens ? How to prevent them and how to recover if deadlock takes place? [8]
b) Explain the concept of transaction. Describe ACID properties for transaction. [8]
11. a) Write a short note on any two :                      [12]
i) Data warehouse
ii) Pointer swizzling techniques
iii) Centralized and Distributed Database Systems.
b) Explain how objects are stored in relational databases. [4]
OR
12. a) What is the difference between persistent and transient objects ? How persistence handles in typical object oriented database system? [8]
b) Explain two-tier and three-tier architecture. [4]
c) Explain steps for data mining. [4]

——————




Thursday, April 16, 2015

Database Management Systems - Pune University Questions

Database Management Systems - Pune University Questions / Database Management Systems [DBMS] - Pune University Questions / Savitribai Phule Pune University DBMS Question Paper / University of Pune DBMS Question Papers with Answers

 

  • Database Management Systems (DBMS) - May 2011

  • Database Management Systems (DBMS) - May 2011

  • Database Management Systems (DBMS) - May 2011




Pune University Database Questions

Pune University Database Questions - DBMS / ADBMS Question Paper with Answers







Friday, April 10, 2015

Database Management Systems - Visvesvaraya Technological University May/June 2010 Question

Database Management Systems - Visvesvaraya Technological University May/June 2010 Questions / May-June 2010 DBMS questions of Visvesvaraya Technological University / DBMS University questions with answers


USN                                                      06CS54
Fifth Semester B.E. Degree Examination, May/June 2010
Database Management Systems
Time: 3 hrs.                                                     Max. Marks: 100
Note: Answer any FIVE full questions, selecting at least TWO questions from each part.
PART – A

1. a. Briefly discuss the advantages of using the DBMS. (10 Marks)
b. Explain the component modules of DBMS and their interaction with the help of a diagram. (10 Marks)

2. a. Define an entity and an attribute. Explain the different types of attributes that occur in an ER model, with an example. (10 Marks)
b. Define the following with an example:
        (i) Weak entity type
        (ii) Participation constraints
        (iii) Cardinality ratio
        (iv) Ternary relationship
        (v) Recursive relationship (10 Marks)

3. a. Discuss the characteristics of a relation with examples. (08 Marks)
b. Briefly discuss different types of update operations on relational database. Show an example of a violation of the referential integrity in each of the update operation. (09 Marks)
c. What is valid state and an invalid state with respect to a database? (03 Marks)

4. a. Consider the following two tables T1 and T2. Show the results of the following operations:
        (i) T1 T1.P = T2.A T2
        (ii) T1 T1.Q = T2.B T2
        (iii) T1 T1.P = T2.A T2
        (iv) T1 T1.P = T2.A AND T1.R = T2.C T2
        (v) T1 U T2
(Assume T1 and T2 are union compatible). (10 Marks)
Table T1
       

Table T2
P
Q
R


A
B
C
10
a
5


10
b
6
15
b
8


25
c
3
25
a
6


10
b
5

b) Explain with an example, the basic constraints that can be specified, when you create a table in SQL. (10 Marks)

PART – B

5. a. Explain the syntax of a SELECT statement in SQL. Write the SQL query for the following relational algebra expression. (06 Marks)
Πbdate, addressfname=’john’ ᴧ minit=’B’ ᴧ lname=’smith’(Employee))
b. Explain DROP command with an example. (04 Marks)
c. Consider the following tables:
WORKS (Pname, cname, salary)
LIVES (Pname, street, city)
LOCATED_IN (Cname, city)
MANAGER (Pname, mgrname)
Write the SQL query for the following:
        (i) Find the names of all persons who live in the city ‘Mumbai’.
        (ii) Retrieve the names of all person of ‘Infosys’ whose salary is between Rs. 30,000 and Rs. 50,000.
        (iii) Find the names of all persons who live and work in the same city.
        (iv) List the names of the people who work for ‘Wipro’ along with the cities they live in.
        (v) Find the average salary of all persons of ‘Infosys’. (10 Marks)

6. a. What is a functional dependency? Write an algorithm to find a minimal cover for a set of functional dependencies. (10 Marks)
b. What is the need for normalization? Explain second normal form. Consider the relation EMP-PROJ = {ssn, pnumber, hours, ename, pname, plocation}. Assume {ssn, pnumber} as primary key. The dependencies are;
ssn pnumber hours
ssn ename
pnumber pname, plocation.
Normalize the above relation into 2NF.  (10 Marks)

7. a. Explain multi-valued dependency and fourth normal form with an example. (10 Marks)
b. Let R = {ssn, pnumber, hours, ename, pname, plocation} and D = {R1, R2, R3}, where;
R1 = EMP = {ssn, ename}
R2 = PROJ = {pnumber, pname, plocation}
R3 = WORK_ON = {ssn, pnumber, hours}
The following functional dependencies hold on relation R.
F = {ssn ename; pnumber {pname, plocation}; {ssn, pnumber} hours}
Prove that the above decomposition of relation R has the lossless join property. (10 Marks)

8. a. Explain the problems that can occur when concurrent transactions are executed. Give examples. (10 Marks)
b. Briefly discuss the Two phase locking protocol used in concurrency control. (10 Marks)
***********









Featured Content

Multiple choice questions in Natural Language Processing Home

MCQ in Natural Language Processing, Quiz questions with answers in NLP, Top interview questions in NLP with answers Multiple Choice Que...

All time most popular contents

data recovery