0% found this document useful (0 votes)
34 views4 pages

Assignement 0 All Unit MCQ

The document contains a series of multiple-choice questions related to database management systems, covering topics such as foreign keys, candidate keys, normalization, PL/SQL commands, and transaction states. Each question presents options for the correct answer, focusing on key concepts in relational databases and their management. The assignment appears to be designed for students to test their understanding of database principles and practices.

Uploaded by

vrajpatelmyindia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views4 pages

Assignement 0 All Unit MCQ

The document contains a series of multiple-choice questions related to database management systems, covering topics such as foreign keys, candidate keys, normalization, PL/SQL commands, and transaction states. Each question presents options for the correct answer, focusing on key concepts in relational databases and their management. The assignment appears to be designed for students to test their understanding of database principles and practices.

Uploaded by

vrajpatelmyindia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

DATABASE MANAGEMENT SYSTEM – 1CE2303

Assignment-0 (All Unit MCQ)


Consider the two relations below. The primary key are underlined. Identify all posible
1
foreign key(s) from given option. EMP (eid, ename, did) , & DEPT(did, dname)
A. eid
B. did
C. eid, did
D. eid, did, ename

Assume that AB--> C, C--> D and D--> A are simultaniously satishfied by relation r( R)
2
what are the candidare key of this relation.
A. AB, CD, AD
B. AB & CD
C. AB & DB
D. ABCD & BC
E. None of above

3 which command is use to DROP contrain primary key in a relation.


A. ALTER
B. DELET
C. DROP
D. REMOVE

4 in relational database the minimal super key is known as


A. REFERENCE KEY
B. CANDIDATE KEY
C. FOREIGN KEY
D. PRIMARY KEY

A minimal super key ( i.e one of the super key for which no proper subset is a super key)
5
is called
A. Super key
B. Candidate Key
C. Primary Key
D. Both Candidate & Primary Key

6 A single row of any table is called


A. Sibling
B. single data
C. Tuple
D. Attribute

If every non -key attribute is functionally dependent on primary key , then the relation
7
will be in:
A. First Normal Form
B. Second Normal Form
C. Third Normal Form
D. Forth Normal Form
Give the functional dependancy X --> W ,X --> Y, Y --> Z and Z --> PQ which os the
8
following does not hold well
A. X-- > Z
B. W -- > Z
C. X --> WY
D. None of the above

9 Relation produced from an E-R model will always be in


A. Firat Normal Form
B. Second Normal Form
C. Third Normal Form
D. Forth Normal Form

10 An attribut of one table matching the primary key of second table is called as
A. Foreign key
B. Secondary Key
C. Candidate Key
D. Composite Key

11 if relation scheme is in BCNF then it is also in


A. Firat Normal Form
B. Second Normal Form
C. Third Normal Form
D. Forth Normal Form

12 A primary Key when combined with a foreign key create


A. Parents child relation between the table that connect them
B. Network model between the table that connect them
C. Many to Many Relation ship between the table that connect them
D. None of the above.

13 A functional dependancy of the form X -- > Y is trivial if


A. YC= X
B. YCX
C. X C =Y
D. X C Y and Y C X

Assume transaction A holds a shared lock R. If transaction B also requests for a shared
14
lock on R.
A. It will result in a deadlock situation.
B. It will immediately be granted.
C. It will immediately be reject

15 Which of the following is not the state that the transaction undergoes?
A. Failed
B. Active
C. Partially committed
D. Non active
Which of the following is the formal process for deciding which attributes should be
16
grouped together in a relation?
A. Normalization
B. Performance Tuning
C. Optimization
D. None of the above

17 Which of the following is the result of a transitive dependency?


A. Insertion anomaly
B. Modification anomaly
C. Deletion anomaly
D. All of the above

18 Which of the following is true?


A. Normalized data is the best representation of data.

B.
Data stored non-redundantly will be accessed faster than data stored many times.
C. Normalized tables are the best way to store data.
D. All of the above

19 Which of the following statements can be used to terminate a PL/SQL loop?


A. GOTO
B. EXIT WHEN
C. CONTINUE WHEN
D. KILL

20 Which keyword is used instead of the assignment operator to initialize variables?


A. NOT NULL
B. DEFAULT
C. %TYPE
D. %ROWTYPE

21 What is the initial value of index for a reverse for loop?


A. UPPER bound
B. Lower bound
C. 1
D. Upper bound-Lower bound/2

22 Which of the following is true about comments in PL/SQL?


A. Comments are explanatory statements.
B. The PL/SQL single-line comments start with the delimiter — (double hyphen)
C. Multi-line comments are enclosed by /* and */.
D. All of the above.

23 PL/SQL is a procedural language that has which of the following advantages?


A. Integration with database
B. Better Performance
C. Portability
D. All mentioned above
24 Is it possible to define a CONSTANT value in a record?
A. YES
B. NO
C. DEPENDS UPON
D. INVALID OPTION

25 Total number of rows present in the table is called


A. column
B. cardinality
C. degree
D. attributs

26 Total number of column or attributes in the table is called._____________


A. column
B. cardinality
C. degree
D. attributs

27 To convert 2NF to 3NF what to be removed


A. Partial Dependancy
B. Transitive Dependancy
C. Functional Dependancy
D. Multi Value Dependancy

____________________is an error situaltion which ariseS during the program


28
excecution in PL/SQL.
A. CURSER
B. FUNCTION
C. PROCEDURE
D. EXCEPTION

__________________is a temporarily work area created in system memory when SQL


29
statement is excecuted.
A. CURSER
B. FUNCTION
C. PROCEDURE
D. EXCEPTION

30 _____________________command use to give privilage to the user.


A. TCL
B. REVOKE
C. GRANT
D. COMMIT

31 An alternative name of any object like table , view ,sequence etc is called.
A. SEQUENCE
B. VIEW
C. INDEX
D. SYNONYM

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy