vignanits.ac.in notes/cse/ii/dbms-unit...7) _____ is a unit of program execution that accesses and...

21

Upload: others

Post on 25-Apr-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: vignanits.ac.in notes/CSE/II/DBMS-UNIT...7) _____ is a unit of program execution that accesses and possibly updated various data items. 8) _____ ensure that changes made to the database
Page 2: vignanits.ac.in notes/CSE/II/DBMS-UNIT...7) _____ is a unit of program execution that accesses and possibly updated various data items. 8) _____ ensure that changes made to the database
Page 3: vignanits.ac.in notes/CSE/II/DBMS-UNIT...7) _____ is a unit of program execution that accesses and possibly updated various data items. 8) _____ ensure that changes made to the database
Page 4: vignanits.ac.in notes/CSE/II/DBMS-UNIT...7) _____ is a unit of program execution that accesses and possibly updated various data items. 8) _____ ensure that changes made to the database
Page 5: vignanits.ac.in notes/CSE/II/DBMS-UNIT...7) _____ is a unit of program execution that accesses and possibly updated various data items. 8) _____ ensure that changes made to the database
Page 6: vignanits.ac.in notes/CSE/II/DBMS-UNIT...7) _____ is a unit of program execution that accesses and possibly updated various data items. 8) _____ ensure that changes made to the database
Page 7: vignanits.ac.in notes/CSE/II/DBMS-UNIT...7) _____ is a unit of program execution that accesses and possibly updated various data items. 8) _____ ensure that changes made to the database
Page 8: vignanits.ac.in notes/CSE/II/DBMS-UNIT...7) _____ is a unit of program execution that accesses and possibly updated various data items. 8) _____ ensure that changes made to the database
Page 9: vignanits.ac.in notes/CSE/II/DBMS-UNIT...7) _____ is a unit of program execution that accesses and possibly updated various data items. 8) _____ ensure that changes made to the database
Page 10: vignanits.ac.in notes/CSE/II/DBMS-UNIT...7) _____ is a unit of program execution that accesses and possibly updated various data items. 8) _____ ensure that changes made to the database
Page 11: vignanits.ac.in notes/CSE/II/DBMS-UNIT...7) _____ is a unit of program execution that accesses and possibly updated various data items. 8) _____ ensure that changes made to the database
Page 12: vignanits.ac.in notes/CSE/II/DBMS-UNIT...7) _____ is a unit of program execution that accesses and possibly updated various data items. 8) _____ ensure that changes made to the database
Page 13: vignanits.ac.in notes/CSE/II/DBMS-UNIT...7) _____ is a unit of program execution that accesses and possibly updated various data items. 8) _____ ensure that changes made to the database
Page 14: vignanits.ac.in notes/CSE/II/DBMS-UNIT...7) _____ is a unit of program execution that accesses and possibly updated various data items. 8) _____ ensure that changes made to the database
Page 15: vignanits.ac.in notes/CSE/II/DBMS-UNIT...7) _____ is a unit of program execution that accesses and possibly updated various data items. 8) _____ ensure that changes made to the database
Page 16: vignanits.ac.in notes/CSE/II/DBMS-UNIT...7) _____ is a unit of program execution that accesses and possibly updated various data items. 8) _____ ensure that changes made to the database
Page 17: vignanits.ac.in notes/CSE/II/DBMS-UNIT...7) _____ is a unit of program execution that accesses and possibly updated various data items. 8) _____ ensure that changes made to the database
Page 18: vignanits.ac.in notes/CSE/II/DBMS-UNIT...7) _____ is a unit of program execution that accesses and possibly updated various data items. 8) _____ ensure that changes made to the database
Page 19: vignanits.ac.in notes/CSE/II/DBMS-UNIT...7) _____ is a unit of program execution that accesses and possibly updated various data items. 8) _____ ensure that changes made to the database

Chapter 1

Objectives:

1) The _______ is a procedural query language.

A).Relation Algebra B).Relation Calculus C).SQL D). Ingres

2) The ______ operation selects tuples that satisfy a given predicate.

A).Select B).Project C).Set D). Rename

3) The _______ operation is a unary operation that returns its argument

relation with certain attributes left out.

A).Select B).Project C).Set D).Rename

4) The _______ is a non-procedural query language.

A).Relation Algebra B).Relation Calculus C).SQL D). Ingres

5) ______ operation is used to rename both relations and attributes. 6) _______ variables are used for comparing two tuples in the same relation. 7) ________ is a set of one or more attributes that collectively allows us to

identify uniquely an entity in the entity set 8) _________ is a subset of a Cartesian product of list domains. 9) ________ is a variable whose domain is the set of all tuples. 10) For each attribute there is a set of permitted values called the _____ of that

attribute.

11) Minimal super keys are called ________ KEYS:

1) A 2) A 3) B 4) B 5) Rename 6) Tuple 7) Super key

8) Relation 9) Tuple variable 12) Domain 11) Candidate key

Chapter 2

Objective:

1) The result of _____ operation includes all tuples that are either in r1 or in r2 or in both r1 and r2. A).Select B).Project C).Union D). Intersection

2) The result of ______ relation includes all tuples that are in both r1 and r2.

A).Select B).Project

Page 20: vignanits.ac.in notes/CSE/II/DBMS-UNIT...7) _____ is a unit of program execution that accesses and possibly updated various data items. 8) _____ ensure that changes made to the database

C).Union D). Intersection

3) ___ are functions that take a collection of values as input and return a single

value.

A).Logical B).Aggregate C).Sum D). Comparison

4) ______ clause is used to apply aggregate functions to a set of tuples.

A).Group By B).Having C).Order BY D). Both A & B

5) Any relation that is not part of the logical model, but is made visible to a user

as a virtual relation is called a _____

A).Table B).View C).Domain D). Entity

6) The ________ provides a way of defining a temporary view whose definition

is available only to the query in which the With clause occurs.

A).Group By B).Having clause C).Order BY D).With-clause

7) _______ is a unit of program execution that accesses and possibly updated

various data items.

8) _________ ensure that changes made to the database by authorized users

do not result in a loss of data consistency.

9) ________are statements that are executed automatically by the system as

the side effect of a modification to the database.

10) A value that appears in one relation for a given set of attributes also appears

for a certain set of attributes in another relation _______.

11) An _______ is a predicate expressing a condition that we wish the database

always to satisfy.

12) _____ are useful mechanisms for alerting humans or for starting certain tasks

automatically when certain conditions are met.

13) ________ refers to the protection from unauthorized access and malicious

destruction or alteration.

14) Passing of authorization from one user to another can be represented by an

________.

15) ________ refers to the task of verifying the identity of a person.

16) A ______ is a select-from-where expression that is nested with in another

query.

Page 21: vignanits.ac.in notes/CSE/II/DBMS-UNIT...7) _____ is a unit of program execution that accesses and possibly updated various data items. 8) _____ ensure that changes made to the database

KEYS:

1) C 2) D 3) B 4) A 5) B 6) D 7) Transaction 8) Integrity constraint

9) Triggers 10) Referential Integrity constraint 11) Assertion 12) Triggers 13)

Database security 14) Authorization Graph 15) Authentication 16) Sub-query