You are on page 1of 5

------------------1)Candidate key candidate key: it is the minimal super key.

2)Super key super key: it is used to uniquely identify an entity in a relation.consider the employee table.emp_id is the primary key. it consists of other attributes like emp_name,sal,job_code. there can be many combination of keys which are used to uniquely identify an entity such as(emp_id,emp_name), (empid,job_code),(emp_id,emp_name,job_code). but each combination shd contain the primary key

3)Referential Integrity constraints ref int constraint: it ensures that every foreign key in the child table or in the relation of many-side must contain an associated primary key in the parent table or in the relation of one side...it says that a foreign key can be null...this constraint maintains consistency between the rows of two relations...

4)Difference between meta data and data dictionary data dictionary is also known as meta data,data abt data. data dictionary holds all information abt each element in the database.such as name,datatype,range of values etc 5)Difference between meta data and catalog 6) If no non key attribute is fully functionally dependent on just part a key den it is in : a)1nf b)bcnf c)2nf d) 3nf 6. If the piece of data is stored in two places in the database then____________ a)storage space is wasted. b)it can be more easily access. c)changing the data may cause inconsistency. d)a and c.

7. ........is a set of attributes of one relation whose values are required to match values of some key attributes of another relation? a) foreign key b)primary key c) super key d)candidate key

which is not characteristic of meta data? a) data about data b)contains user data c)iinformation about data base d)represents its own structure

View level is conceptual level or external level?

A foreign key is A. A secondary key field within a table B. A key field that matches a key field in a second (foreign) table) C. A key field that exists outside of the database D. A (non-key) field in a table that matches a key field in a second (foreign) table)

relational model column value is atomic unique related none ans) atomic or related? how?

2nf is designed to ensure: a) a table that is in the 1nf is decompesd into tables b) every nonkey field in a record has a corresponding foreign key in atleast one other table c)a table that is in the first normal form is decomposed into 2 or more tables d)evry non key field in a record is fully functionally dependent upon the key for that

information about tables created by ddl is recorded in: a)data dictnry b)schema c)metadata d) data file

entity type is a a specific type such as integer,text b defined by a database integer ,text etc c a coherent set of similar objects that we want to store d all of the above a field in rdbms a) can b true or false b) the smallest amount of data dbms can store c) capable of storing many facts d)can store any type of data at any time

ER modelling models a) Entity,relationship and processes b) Entity,relationship c) Entity d) relationship

The persons who interact with the system through DML calls embedded in a program written in host language a.)System developers. b.)System analysts c.)DBA d.)Application Programmers An entity type is a. defined when the database is actually constructed b. defined by the database designer c. a specific type such as an integer, text, date, logical etc. d. a coherent set of similar objects that we want to store data on (e.g. STUDENT, COURSE, CAR) n which of the model(s) strictly require the relationships be predefined. 1. Network model 2. Hierarchial model 3. Relational model 4. none a.)1 only b.)2 only c.)1 and 2 d.)4 If no non key attribute is fully functionally dependent on just part a key den it is in : a)1nf b)bcnf c)2nf d) 3nf

You might also like