De" ill

-

. Ro~ .

-0. a

be filled in your Answer Boo -

Roll

No.CCCI.TI~_I

ER TI--EORY EXAMINATION,

_

2009-2010

E .1A~-AGEMENT SYSTEM

_·ote:

(i)

Attempt

all que. non .

(ii)

All questions carry equal mark.

What is the difference between 10 am independence and physical d independence? Why is the logical am - dependence important?

A company database needs to store information about employees (identi:: ...:..::-:ssn, with salary and phone as attributes), departments (identified by dna, - ~:.-.. dname and budget as attributes), and children of employees (with name and a - ~ attributes). Employees work in departments; each department is managed ~. 2...-: employee; a child must be identified uniquely by name when the parent (who :5

an employee; assume that only one parent works for the company) is kno"._ We are not interested in information about a child once the parent leaves ~,e company. Draw an Entity-Relationship diagram that captures this information using concepts and nota tiuns of ER.

'-:':::5-402 _____________



~_

•.•••••_;,..__'__ __

.._..,o=__ ~

e

Th Ca~ :: rela .on lis the prices charged for parts by Suppliers: foL' ~ 3:::a ements into relational 'algebra expressions. (i

:-.

the up lier names of th~bbppliers - 'an 100 dollars.

Express the

who supply a red part that costs

F::C. the Supplier names of the suppliers who supply a red part that costs :han 100 dollars and a gre~n part that costs less than 100 dollar .

: :.5

(ill

F',

Arf.~-each

-(i)

the Supplier ids of the suppliers who supply a red part that costs less 100 dollars and a green part that costs less than 100 dollars.

of the following questions briefly :

Gi\'e an example of a foreign key constraint that involves the Dept relation. \"nat are the options for enforcing this constraint when a user attempts to delete a Dept tuple? \ 'ri e the 5QL statements required to create tl1eprec~ding relations, including a ._TO riate \'ersions of all primary and foreign key integrity constraints.

(iii)

(iv)

Define the Dept relation in SQL so that every department a\'e manager.

is guaranteed

\ "rite an SQL sta,tement to add John Doe as an employee with eid

to

= 101,

aoe = 32 and salary = 15,000.

(c)

What do you mean by View? Explain with an example. How these are implemented in relational database management system? Discuss the advantages and disadvantages of View in detail.

Is the decomposition of R into Rl(A,B,C,D),R2(A,B,C,E,F),;R3(A,D,F,G,H) lossless? Is it dependency preserving? .

is

What is join dependency? How is it different to that of Multivaiued and Functional dependency? Give an example each of join and multivalued dependency. Discuss the Fourth Normal Form (4NF) also in detail. . What do you mean by Functional Dependency? Explain BCNF with a suitable example. "A decomposition in BCNF may be lossless and dependency preserving". Is this statement correct? J':l;tify yput answer with a suitable example.

(b)

What do you mean by serializability? with suitable example.

Discuss the conflict and view serializabili

Consider the precedence graph in following figure. Is the correspo: ding schedule conflict serializable? Explain your answer.

U J

'fk'~ (d)

What is deadlock? When does it occur? How deadlock is detected in database system? How it can be avoided? Discuss in detail.

(e)

Compare deferred database modification and immediate versions of the log based recover schemes with example.

database modification

~

:=====~~=-::==========:::::.=.=--=::::;:===:::::===::;:::;;:::::=;;.~::=oc::.. =-"'=--"5.

Atte;'pt

any four parts of following:

(4x5=·ZO

(a)

What is lock?

How locking is implemented in database manageIT':ent system?

(b)

What are multi -. version schemes of Concurrency Control?

(c)

Discuss the various time stamping protocols for concurrency control.

(d)

What do you mean by multiple transaction system ?

(e)

Explain the phantom phenomenon. avoids the pltantom phenomenon.

'

"

granularities?

How it is implemented

Devise a timestamp

in

:. based protocol that

Consider the following two transactions : T 31

:

read (A) ,;

read (B) ; if A =

a them

!

B :=B+ 1 ;

write (B) ;

T32: read (B) ; read (A) ; if B =

a then

A := A + 1 ;

Write (A) Add lock and unlock instructions to ~ansaction T 31 and T32t so that they observe the two - phase locking protocol. Can the execution of these transactions results in a deadlock? ,,'

UPTU B.Tech Database Management System-ECS-402 Sem 4_2009 ...

UPTU B.Tech Database Management System-ECS-402 Sem 4_2009-10.pdf. UPTU B.Tech Database Management System-ECS-402 Sem 4_2009-10.pdf. Open.

2MB Sizes 3 Downloads 342 Views

Recommend Documents

UPTU B.Tech TCS-402 Database Management System Sem 4_2010 ...
UPTU B.Tech TCS-402 Database Management System Sem 4_2010-11.pdf. UPTU B.Tech TCS-402 Database Management System Sem 4_2010-11.pdf. Open.

UPTU B.Tech Distributed Database ECS 076 Sem 7_2011-12.pdf ...
4. Attempt any two parts of the following : (10x2=20I*. (a) Explain Issues ofRecovery in distributed database. Explain. types of failure in distributed system.

BTECH(PS)4TH SEM(P)......PDF
Himanshu Kumar. Aditi Bhardwaj. Aayushi Joshi. Swati Badhan. Roohi Mittal. Aarushi Mathur. Diksha Gautam. Martin Vanlalsawma Thiek. Arvind Kumar Mahto.

UPTU B.Tech EHU-601 Industrial Management Sem 6_2010-11.pdf ...
Dis$ lne netnod b hmdte various sotid w;nes. rb, I,pta, rheca,6ofoot,. uon. D sru$$ewou.ry?es. ofpollurims which effdi hulm lifc. lc) "Vtu) DDd..rtreJc.,{rFa-d rr.

UPTU B.Tech Quality Management EOE 072 Sem 7_2011-12.pdf ...
implementation of Quality System (ISO 9000)'. 57925. EOEOT}ll

UPTU B.Tech Data Base Management System-TCS-402 Sem ...
UPTU B.Tech Data Base Management System-TCS-402 Sem 4_2009-10.pdf. UPTU B.Tech Data Base Management System-TCS-402 Sem 4_2009-10.pdf.

UPTU B.Tech Hydraulics & Hydraulic Machines NCE403 Sem ...
(e) On what factors does the Manning's rugosity'corefficient ... Displaying UPTU B.Tech Hydraulics & Hydraulic Machines NCE403 Sem 4_2014-15.pdf. Page 1 ...

UPTU B.Tech Wireless & Mobile Communication EEC801 Sem ...
UPTU B.Tech Wireless & Mobile Communication EEC801 Sem 8_2014-15.pdf. UPTU B.Tech Wireless & Mobile Communication EEC801 Sem 8_2014-15.pdf.

UPTU B.Tech Advanced Materials Technology EME063 Sem ...
Loading… Page 1. Whoops! There was a problem loading more pages. Retrying... Main menu. Displaying UPTU B.Tech Advanced Materials Technology EME063 Sem 8_2011-12.pdf.

UPTU B.Tech NonConventional Energy Resources EOE081 Sem ...
UPTU B.Tech NonConventional Energy Resources EOE081 Sem 8_2014-15.pdf. UPTU B.Tech NonConventional Energy Resources EOE081 Sem 8_2014-15.

CSE 4TH SEM DATABASE MANAGEMENT SYSTEM.pdf
CSE 4TH SEM DATABASE MANAGEMENT SYSTEM.pdf. CSE 4TH SEM DATABASE MANAGEMENT SYSTEM.pdf. Open. Extract. Open with. Sign In.

UPTU B.Tech EME 011Fluid Machinery Sem 6_2010-11.pdf
UPTU B.Tech EME 011Fluid Machinery Sem 6_2010-11.pdf. UPTU B.Tech EME 011Fluid Machinery Sem 6_2010-11.pdf. Open. Extract. Open with. Sign In.

UPTU B.Tech EOE-041 Introduction to Soft Computing Sem 4_2010 ...
UPTU B.Tech EOE-041 Introduction to Soft Computing Sem 4_2010-11.pdf. UPTU B.Tech EOE-041 Introduction to Soft Computing Sem 4_2010-11.pdf. Open.

UPTU B.Tech Principles of Communication NEC-502 Sem 5_2015 ...
UPTU B.Tech Principles of Communication NEC-502 Sem 5_2015-16.pdf. UPTU B.Tech Principles of Communication NEC-502 Sem 5_2015-16.pdf. Open.

UPTU B.Tech Principles of Communications EEC-502 Sem 5_2013 ...
UPTU B.Tech Principles of Communications EEC-502 Sem 5_2013-14.pdf. UPTU B.Tech Principles of Communications EEC-502 Sem 5_2013-14.pdf. Open.

UPTU B.Tech Electronic Circuits NEC402 Sem 4_2014-15.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. Main menu.

UPTU B.Tech Power station practice0001 Sem 6_2007-08.pdf ...
There was a problem loading more pages. Retrying... UPTU B.Tech Power station practice0001 Sem 6_2007-08.pdf. UPTU B.Tech Power station practice0001 ...

UPTU B.Tech Operating System NCS401 Sem 4_2014-15.pdf ...
I Attempt any four questions: [5x4:20) (a) Describe the differences between symmetric and. asymmetric multiprocessing. (b) Discuss various operating system ...

UPTU B.Tech ECS-602 Software Engineering Sem 6_2010-11.pdf ...
UPTU B.Tech ECS-602 Software Engineering Sem 6_2010-11.pdf. UPTU B.Tech ECS-602 Software Engineering Sem 6_2010-11.pdf. Open. Extract. Open with.

UPTU B.Tech Operating System-ECS501 Sem 5_2012-13.pdf ...
UPTU B.Tech Operating System-ECS501 Sem 5_2012-13.pdf. UPTU B.Tech Operating System-ECS501 Sem 5_2012-13.pdf. Open. Extract. Open with. Sign In.

UPTU B.Tech Pattern Recognition ECS-074 Sem 7_2013-14.pdf ...
UPTU B.Tech Pattern Recognition ECS-074 Sem 7_2013-14.pdf. UPTU B.Tech Pattern Recognition ECS-074 Sem 7_2013-14.pdf. Open. Extract. Open with.

UPTU B.Tech E-COMMERCE-EIT501 Sem 5_2012-13.pdf ...
(a) (i) What do you mean by E-Commerce ? What are its ... (it) EDI Application in Business ... Displaying UPTU B.Tech E-COMMERCE-EIT501 Sem 5_2012-13.pdf.

UPTU B.Tech Operations Research EOE 073 Sem 7_2011-12.pdf ...
Page 3 of 4. UPTU B.Tech Operations Research EOE 073 Sem 7_2011-12.pdf. UPTU B.Tech Operations Research EOE 073 Sem 7_2011-12.pdf. Open. Extract.

UPTU B.Tech Geoinformatics - NCE-402 Sem 4_2015-16.pdf ...
(i) Define image histogram. fi) Give the functions GPS satellite sigRals. Section-B. Q2. Attempt any 5 question$ frotn thls section. (10x5:$0). (a) Elaborate the two ...