l0css4

IJSN

Fifth Semester B.E. Degree Examination, Dec.20l4/Jan.2}l1 Database Management System .J O

d

Time: 3 hrs.

Max. Marks:100

c" a

Note: Answer any FIVE full questions, selecting atleast TWO questions.from each part.

"o () ()

a. b.

9?o

-ti

=ir

2a.

-

9-

to o: O; vd 3o a,E

vii) Each part

o=

tr> a.

o

o-

(10 N{arks)

Discuss the entity integrity and referential integrity constraints. Why is each considered

important?

O<

E

placed by number of customers and each customer can place order for nurnber

ofparts. viii) Write assumptions made.

=f{

!

(05 N{arks)

employee.

c.r'+ >1 ^^o

o

(05 N{arks)

Design an ER diagram for the mail order Database considering the following requirentents. Here employee takes order for parts from customers. i) The mail order company has employees each identified by a unique employee ID, first and last name, Address, Gender, Zip code. ii) Each customer of the company is identified by a unique customer ID. first and last name. Address, Location & Zip code. iii) Each part sold by the company is identified by a unique part number, part name , price & quantity in stock. iv) Each order placed by a customer taken by an employee and is given a unique order number. Each order contains specified quantities of one or more par1s. Each order has a date of receipt as well as an expected ship date. The actual ship date is also recorded. v) Each customer can place number of orders & each order placecl by one customer only. vi) Each Employee can take any number of orders but each order belongs to only one

u=

;

Wrat are structural constraints on a relation type? Explain with examples.

c.

-!

z

(10 Marks)

What is a weak entity type? Explain the role of partial key in design of weak entity type

OO

O

v) Metadata. b.

_aD

'/,

PART - A Explain the typical components module of a UBMS, with a neat diagram. (10 N{arks) Define the following with examples : D Value set ii) Complex attribute iii) Data model iv) Schema construct

b. U.

(05 Marks) Discuss the various types of JOIN operations. Why is Theta Join required? (05 Marks) Cive the schema Student (USN, NAME, BRANCH, PERCENTAGE) Faculty (FID, FNAME, DEPT, DESIGNATION, SALARY) Course (CID, CNAME, FID) Enroll (CID, USN, GRADE) Give the relation algebra expression for the following : i) Retrieve the name and percentage of all students for the course 10cs54. it) List the Departments having a average salary of the faculties above Rs 30,000. iii) List name of the course having students grade 'A' maximum. (10 Marks) :

I of2

10cs54 a. Explain the different constraints that can be applied during table creation in SQL, with exarnple.

an

(08 Marks)

b. Write the SQL query for the following

Database Schema

:

Works (Pname, Cname, Salary) Lives (Pname, Street, City) Located in (Cname, City) Manager (Pname, Mgrname) i) Find the names of all persons who live in the city "Bangalore". ii) Retrieve the names of all person of "Infosys" whose salary is between Rs 50,000 and Rs 90,000. iii) Find the names of all persons who lives and work in same city. iv) List the names of the people who work for "Tech M" along',vith the cities they live in. Find the average salary of "lnfosys" (12 Marks)

v)

persons.

a. Explain the syntax of SELECT r,u,.r.nrtff b. How is view created and dropped? What problems

it

c. Explain the following i) Embedded SQL

(04 Marks)

are associated with updating views? (06 Marks) Database stored procedure. (10 Marks)

a. What is a functional dependency and who specifies the functional dependency that hold

among the attributes of a relation schema? b. Consider R - {A, B, C, D, E, F}. FDS are {A * BC, C ---+ E, CD -- EF}. Show that AD ---+ F. c. Find the key and normalize Book tittle I Auth_name I BookJype I List_Price I Affiliation I Publication. F-Ds are { Book tittle -+ Book type, Publication Auth*name ---+ Affi liation Book type ---+ List_Price ).

(05 Marks) (05 Marks)

(10 N{arks)

a. Which notmal form is based on the concept of multi value flinctional dependency? Expiain the same with

example.

(10 N,tarks)

b. Given relation R with 4 attributes R

: (A, B, C, D) and following FDs. Identify the

candidate keys for R and highest normal fcrrm.

i)

C --' D, C

--

A, B

---+

C

ii)

B

---+

C, D ---

Write short notes on the following a. Two phase locking protocol. b. Transaction support in SQL. c. Time starnp ordering algorithms. d. Acid properties.

A.

(10 Marks)

:

(20 Marks)

&&J$4

2

of2

dbms dec 14.pdf

i) Find the names of all persons who live in the city "Bangalore". ii) Retrieve the names of all person of "Infosys" whose salary is between Rs 50,000 and.

1MB Sizes 0 Downloads 177 Views

Recommend Documents

DBMS-NAVATHE.pdf
Page 2 of 1,201. FUNDAMENTALS OF. Database. Systems. SIXTH EDITION. Page 2 of 1,201. Page 3 of 1,201. This page intentionally left blank. Page 3 of ...Missing:

DBMS-KORTH.pdf
Page 1 of 1,376. Page 1 of 1,376. Page 2 of 1,376. Page 3 of 1,376. DATABASE SYSTEM CONCEPTS, SIXTH EDITION. Published by McGraw-Hill, a business ...

DBMS
(5) Describe in Detail about Database Languages. (A) Data Manipulation Language. (B) Data Definition Language. (6) Why DBMS is so useful? (Advantages of ...

Dbms question bank_NoRestriction.pdf
8. What is conceptual schema? 9. Define data model? 10. What is storage manager? 11. What are the components of storage manager? 12. What is the purpose of storage manager? 13. List the data structures implemented by the storage manager. 14. What is

DBMS-LHS Dress Code Policy.pdf
Use of alcoholic beverages, tobacco, or other drugs. • Sexual references and/or language. • Intolerance or lack of respect to others on the basis of gender, race, religion, ethnicity, social,. sexual preference, disability, or economic background

Windows Multi-DBMS Programming
programs in C++ and Visual Basic 3. The disk includes source code that can be used to develop software and value-added software that expands.

DBMS University questions and solutions.pdf
Ex. MySQL, Microsoft SQL Server, Oracle, Sybase, Microsoft Access. Models real world ... Deals with the management of space on disk where data is stored. – Higher layers ... up-to-date. Limitations of File Processing System ... Integrity constraint

DBMS PR 2015.07.15.pdf
interested can consult the Don't Buy Miss Saigon webpage: http://www.dontbuymiss-saigon.com/. ###. Page 2 of 2. DBMS PR 2015.07.15.pdf. DBMS PR ...

Chapter-8-DBMS Cocepts.pdf
Page 2 of 11. Objective. In this presentation you will learn about the. fundamental concepts of Database and Database. Management Systems. Concept of Database. Advantages of Database. Concept of Data Model. Basics of Relational Data Model. Concept of

DBMS BY RAGHU RAMAKRISHNAN.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. DBMS BY ...

PHP Integration with object relational DBMS
Jul 1, 2004 - support for applications to access distributed and heterogeneous data ... to translate AmosQL queries to SQL through JDBC and, for the web ...

KB-5741 D.C.A 2012 Database Management System (DBMS).pdf ...
Page 1. Whoops! There was a problem loading more pages. Main menu. Displaying KB-5741 D.C.A 2012 Database Management System (DBMS).pdf.

advantage and disadvantage of dbms pdf
advantage and disadvantage of dbms pdf. advantage and disadvantage of dbms pdf. Open. Extract. Open with. Sign In. Main menu.

Enhanced Stream Processing in a DBMS Kernel
bounds, a system should provide incremental processing to avoid considering the same data over and over ... Management Systems (DBMS) and thus the pioneering Data Stream. Management Systems (DSMS) architects ... window as a peephole on the data conte

Dec-15
Term-End Examination. December, 2015 ... integrated social order ? 3. What, according to you, ... condition for the Satyagraha campaign. Discuss at length. 9.

Dec-15
No. of Printed Pages : 4. •714. BACHELOR OF EDUCATION. 00 s.0. Term-End Examination. C. December, 2015. ES-331 : CURRICULUM AND INSTRUCTION.

Dec-15
PART I. Answer any three questions in about 500 words each. 3x5=15. 1.1 Define library automation. Discuss its evolution since 1970's. 5. 1.2 Discuss the ...

Dec-15
Graphs and Figures in teaching of social studies. 2. Answer the following question in about. 600 words : Prepare an instructional strategy including instructional ...

Dec-15
*'tr-A 7. 2. >n. •cT- 31Q kii-11\31 1 wrcr-qt * R-R. Trd~T Tfrwr 14H I I 1-4-RiR ... r TR-0 ? c. Trt. 15 st;ki 3-talittzT TrRA *I len. ItPrwr ? 7. i if n. Pirvi. -4-t-4-(wrft.

Dec-15
*'tr-A 7. 2. >n. •cT- 31Q kii-11\31 1 wrcr-qt * R-R. Trd~T Tfrwr 14H I I 1-4-RiR ... r TR-0 ? c. Trt. 15 st;ki 3-talittzT TrRA *I len. ItPrwr ? 7. i if n. Pirvi. -4-t-4-(wrft.

Dec-15
(e) Methods and techniques of data collection. (f). Data analysis. (g) Interpretation of findings. 3. Explain the importance of paradigms in 20 counselling and ...

Dec 5-Dec 9 Elementary Lunch Allergen Info.pdf
Printed: 11/10/2016, 9:32:41AM Filename: C:\Program Files (x86)\WebSMARTT\web\Reports\Menu Plan\MenuPlanItemAllergens.rpt Page 1 of 5. Whoops!

NIT_Continuation_of_Floodway_and_Setup_of_ACs_07-Dec-2017 ...
l. de Tender Comnrittee Menrbers, Gelephu,4.Jotice Boald. 2.F Person ... PDF. NIT_Continuation_of_Floodway_and_Setup_of_ACs_07-Dec-2017.PDF. Open.

Dec 04 issue 17
advantage of the often fractious or feckless character of fledgling ... national broadcast media, the Russian Duma, polit- ... per se provide answers to economic and social problems. Yet, fair .... East a part of his antiterrorism campaign, although.