Exam Details
Subject | Database Management Systems | |
Paper | ||
Exam / Course | Post Graduate Diploma in Computer Application (PGDCA)/ Advance Diploma inComputer Applications (ADCA) / Masters in Computer Applications (MCA) | |
Department | School of Computer and Information Sciences (SOCIS) | |
Organization | indira gandhi national open university | |
Position | ||
Exam Date | June, 2016 | |
City, State | new delhi, |
Question Paper
Consider the following three transactions:
T1/Read T2/Read T3/Read X=X-1000 display (X)
Write display
Insert shared and exclusive locks in T1, T2 and T3 such that the transactions when executed concurrently, do not encounter any concurrency problem .
1.(b) List all the functional dependencies that hold true for the following relation
A B C
a1 b1 c1
a1 b1 c2
a2 b1 c1
a2 b1 c3
1.(c) Explain the working of GROUP BY clause. What is the difference between the WHERE and HAVING clause in SQL
1.(d) Differentiate between Backward recovery and Forward recovery
1.(d) Differentiate between Serial Schedule and Serializable Schedule
1.(e) Discuss the role of a Database Administrator.
2.(a) Construct an E-R diagram for the following problem definition:
Each company operates four departments, and each department belongs to one company. Each department employs one or more employees, and each employee works for one department. Each of the employees mayor may not have one or more dependants, and each dependant belongs to one employee.
2.(b) What are the different types of constraints which can be imposed on Generalization in an E-R diagram?
2.(c) How would you map the Aggregation E-R constructs into relations Give suitable examples.
2.(c) How would you map the Inheritance E-R constructs into relations Give suitable examples.
2.(c) How would you map the n-ary Relationship E-R constructs into relations Give suitable examples.
3.(a) With the help of an example, explain client server databases. How are they different from distributed databases?
3.(b) Consider the following relation for published books
Book (Book_title, Author_name, Book_type, Listprice, Author_affil, Publisher)
Author_affil refers to the affiliation of the author. Suppose the following dependencies exist:
Book_title Publisher, Book_type
Book_type Listprice
Author_name Author_affil
What Normal Form is the above relation in Justify.
(ii) Normalize the above relation ti1l3NF.
4.(a) Consider the following relations for a database that keeps a track of business trips of salespersons in a sales office:
SALEPERSON Name, Start_Year, Dept_No)
TRIP From_City, To_City, Departure_Date, Return_Date, Trip_ID)
EXPENSE (Trip_ID, Account#, Amount)
Specify the queries in SQL.
Find the details (all attributes of TRIP relation) for trips whose expenses exceeds 2000.
Find the SSN of salesmen who took trips to 'Honolulu'.
(iii) Find the total trip expenses incurred by the salesman with SSN
4.(b) Define a view. How is it different from a table? Write the SQL syntax for creating a view.
5.(a) Discuss the different possible states of a transaction with the help of a diagram.
5.(b) Compare the shadow-paging recovery scheme with the log-based recovery scheme in respect to ease of implementation and overhead cost.
5.(c) Discuss the key control measures that are used to provide security to data in databases.
T1/Read T2/Read T3/Read X=X-1000 display (X)
Write display
Insert shared and exclusive locks in T1, T2 and T3 such that the transactions when executed concurrently, do not encounter any concurrency problem .
1.(b) List all the functional dependencies that hold true for the following relation
A B C
a1 b1 c1
a1 b1 c2
a2 b1 c1
a2 b1 c3
1.(c) Explain the working of GROUP BY clause. What is the difference between the WHERE and HAVING clause in SQL
1.(d) Differentiate between Backward recovery and Forward recovery
1.(d) Differentiate between Serial Schedule and Serializable Schedule
1.(e) Discuss the role of a Database Administrator.
2.(a) Construct an E-R diagram for the following problem definition:
Each company operates four departments, and each department belongs to one company. Each department employs one or more employees, and each employee works for one department. Each of the employees mayor may not have one or more dependants, and each dependant belongs to one employee.
2.(b) What are the different types of constraints which can be imposed on Generalization in an E-R diagram?
2.(c) How would you map the Aggregation E-R constructs into relations Give suitable examples.
2.(c) How would you map the Inheritance E-R constructs into relations Give suitable examples.
2.(c) How would you map the n-ary Relationship E-R constructs into relations Give suitable examples.
3.(a) With the help of an example, explain client server databases. How are they different from distributed databases?
3.(b) Consider the following relation for published books
Book (Book_title, Author_name, Book_type, Listprice, Author_affil, Publisher)
Author_affil refers to the affiliation of the author. Suppose the following dependencies exist:
Book_title Publisher, Book_type
Book_type Listprice
Author_name Author_affil
What Normal Form is the above relation in Justify.
(ii) Normalize the above relation ti1l3NF.
4.(a) Consider the following relations for a database that keeps a track of business trips of salespersons in a sales office:
SALEPERSON Name, Start_Year, Dept_No)
TRIP From_City, To_City, Departure_Date, Return_Date, Trip_ID)
EXPENSE (Trip_ID, Account#, Amount)
Specify the queries in SQL.
Find the details (all attributes of TRIP relation) for trips whose expenses exceeds 2000.
Find the SSN of salesmen who took trips to 'Honolulu'.
(iii) Find the total trip expenses incurred by the salesman with SSN
4.(b) Define a view. How is it different from a table? Write the SQL syntax for creating a view.
5.(a) Discuss the different possible states of a transaction with the help of a diagram.
5.(b) Compare the shadow-paging recovery scheme with the log-based recovery scheme in respect to ease of implementation and overhead cost.
5.(c) Discuss the key control measures that are used to provide security to data in databases.
Other Question Papers
Departments
- Centre for Corporate Education, Training & Consultancy (CCETC)
- Centre for Corporate Education, Training & Consultancy (CCETC)
- National Centre for Disability Studies (NCDS)
- School of Agriculture (SOA)
- School of Computer and Information Sciences (SOCIS)
- School of Continuing Education (SOCE)
- School of Education (SOE)
- School of Engineering & Technology (SOET)
- School of Extension and Development Studies (SOEDS)
- School of Foreign Languages (SOFL)
- School of Gender Development Studies(SOGDS)
- School of Health Science (SOHS)
- School of Humanities (SOH)
- School of Interdisciplinary and Trans-Disciplinary Studies (SOITDS)
- School of Journalism and New Media Studies (SOJNMS)
- School of Law (SOL)
- School of Management Studies (SOMS)
- School of Performing Arts and Visual Arts (SOPVA)
- School of Performing Arts and Visual Arts(SOPVA)
- School of Sciences (SOS)
- School of Social Sciences (SOSS)
- School of Social Work (SOSW)
- School of Tourism & Hospitality Service Sectoral SOMS (SOTHSM)
- School of Tourism &Hospitality Service Sectoral SOMS (SOTHSSM)
- School of Translation Studies and Training (SOTST)
- School of Vocational Education and Training (SOVET)
- Staff Training & Research in Distance Education (STRIDE)
Subjects
- Accounting and Financial Management
- Advanced Database Design
- Advanced Discrete Mathematics
- Advanced Internet Technologies
- Artificial Intelligence and Knowledge Management
- Communication Skills
- Computer Graphics and Multimedia
- Computer Organisation & Assembly Language Programming
- Data and File Structure
- Data Communication and Computer Networks
- Database Management System
- Database Management Systems
- Design and Analysis of Algorithm
- Discrete Mathematics
- Elements of Systems Analysis & Design
- Numerical and Statistical Computing
- Object Oriented Analysis and Design
- Object Oriented Technologies and Java Programming
- Operating System Concepts and Networking Management
- Operating Systems
- Parallel Computing
- Principles of Management and Information Systems
- Problem Solving and Programming
- Software Engineering
- Systems Analysis and Design