Practice objective questions
for quick revision and examination
preparation. Try answering each question
before revealing the answer.
π Database Management Systems
π Unit 3
π― MCQs
Database Management Systems - Unit-3
1
The full form of DDL is
ADynamic Data Language
BDetailed Data Language
CData Definition Language
DData Derivation Language
Correct AnswerData Definition Language
2
DROP is a ______________ statement in SQL.
AQuery
BEmbedded SQL
CDDL
DDCL
Correct AnswerDDL
3
DML is provided for
ADescription of logical structure of database.
BAddition of new structures in the database system.
CManipulation & processing of database.
DDefinition of physical structure of database system.
Correct AnswerManipulation & processing of database.
4
Which of the following is a legal expression in SQL?
ASELECT NULL FROM EMPLOYEE;
BSELECT NAME FROM EMPLOYEE;
CSELECT NAME FROM EMPLOYEE WHERE SALARY = NULL;
DNone of the above
Correct AnswerSELECT NAME FROM EMPLOYEE;
5
To delete a particular column in a relation the command used is:
AUPDATE
BDROP
CALTER
DDELETE
Correct AnswerALTER
6
Which of the following is not an integrity constraint?
ANOT NULL
BPositive
CUnique
DCheck βpredicateβ
Correct AnswerPositive
7
Foreign key is the one in which the ________ of one relation is referenced in another relation.
AForeign key
BPrimary key
CReferences
DCheck constraint
Correct AnswerPrimary key
8
In which form of function there is no partial functional dependencies.
ABCNF
B2NF
C3NF
D4NF
Correct Answer2NF
9
which of the following is designed to cope with 4NF.
Amulti value dependency
Bjoin dependency
CTransitive dependency
Dall of the above
Correct Answermulti value dependency
10
which of the following is designed to cope with 5NF.
Amulti value dependency
Bjoin dependency
CTransitive dependency
Dnone of these
Correct Answerjoin dependency
11
Consider a schema R(A, B, C, D) and functional dependencies A -> B and C -> D. Then the decomposition of R into R1 (A, B) and R2(C, D) is
Adependency preserving and lossless join
Blossless join but not dependency preserving
Cdependency preserving but not lossless join
Dnot dependency preserving and not lossless join
Correct Answerdependency preserving but not lossless join
12
A table has fields F1, F2, F3, F4, and F5, with the following functional dependencies: A)F1->F3, B)F2->F4, C)(F1,F2)->F5 in terms of normalization, this table is in
A1NF
B2NF
C3NF
DNone of these
Correct Answer1NF
13
Assume that, in the suppliers relation above, each supplier and each street within a city has a unique name, and (sname, city) forms a candidate key. No other functional dependencies are implied other than those implied by primary and candidate keys. Which one of the following is TRUE about the above schema?
AThe schema is in BCNF
BThe schema is in 3NF but not in BCNF
CThe schema is in 2NF but not in 3NF
DThe schema is not in 2NF
Correct AnswerThe schema is in BCNF
14
normalization is used to design ________________
Ajoin dependencies
Brelational database
Cmulti-valued dependencies
Dcyclic dependencies
Correct Answerrelational database
15
SELECT ________ dept_name FROM instructor;
AAll
BFrom
CDistinct
DName
Correct AnswerDistinct
16
Updating the value of the view
AWill affect the relation from which it is defined
BWill not change the view definition
CWill not affect the relation from which it is defined
DCannot determine
Correct AnswerWill affect the relation from which it is defined
17
Inst_dept (ID, name, salary, dept name, building, budget) is decomposed into instructor (ID, name, dept name, salary) department (dept name, building, budget) This comes under
ALossy-join decomposition
BLossy decomposition
CLossless-join decomposition
DBoth Lossy and Lossy-join decomposition
Correct AnswerBoth Lossy and Lossy-join decomposition
18
Consider a relation R(A,B,C,D,E) with the following functional dependencies: ABC -> DE and D -> AB, The number of superkeys of R is:
A2
B7
C10
D12
Correct Answer10
19
Suppose relation R(A,B,C,D,E) has the following functional dependencies: A -> B, B -> C, BC -> A, A -> D, E -> A, AND D -> E Which of the following is not a key?
AA
BE
CC
DD
Correct AnswerC
Fill in the Blanks
20
__________ can be used to create a table, index, or view.
Correct Answerdata definition
21
The __________ supported by SQL depend on the particular implementation.
Correct Answerdata types
22
Database system has several schemas according to the level of __________
Correct Answerabstraction
23
__________ keyword is used to specify a condition.
Correct AnswerWHERE
24
The __________ statement is used to insert or add a row of data into the table.
Correct Answerinsert
25
The drop table command is used to delete a table and __________ in the table.
Correct Answerall rows
26
Null means __________
Correct Answernothing
27
You can combine different query blocks into a single query expression with the __________ operator.
Correct Answerunion
28
A subquery is always a single query block __________ that can contain other subqueries but cannot contain a UNION.
Correct AnswerSelect
29
A view can be dropped using a __________ statement.
Correct Answerdrop
30
__________ are useful for security of data.
Correct AnswerViews
31
__________ are used to query data from two or more tables, based on a relationship between certain columns in these tables.
Correct AnswerSQL joins
32
An __________ cannot be nested inside a Left Join or Right Join.
Correct Answerinner join
33
__________ combines two tables based on their common columns.
Correct AnswerNatural join
34
Subqueries are similar to SELECT __________
Correct Answerchaining
35
The __________ clause should follow the GROUP BY clause.
Correct Answerhaving
36
A query inside a query is called as __________ query.
Correct Answernested
37
The fifth normal form deals with join-dependencies, which is a generalisation of the __________
Correct AnswerMVD(Multi Valued Dependency)
38
Normalization is the process of refining the design of relational tables to minimize data __________
Correct Answerredundancy
39
__________ is based on the concept of normal forms.
Correct AnswerNormalization
40
The Third normal form resolves __________ dependencies.
Correct Answertransitive
41
A __________ arises when a non-key column is functionally dependent on another non-key column that in turn is functionally dependent on the primary key.
Correct Answertransitive dependency
42
__________ provide a method for maintaining integrity in the data.
Correct AnswerForeign keys
43
A __________ dependency occurs when in a relational table containing at least three columns.
Correct AnswerMultivalued
44
The __________ form is usually applied only for large relational data models.
Correct AnswerFifth Normal
45
Normal forms are table structures with __________
Correct Answerminimum redundancy
46
Normalization eliminates data maintenance anomalies, minimizes redundancy, and eliminates __________