DBMS MCQ
DBMS MCQ
DBMS MCQ
SOCIETY'S
S.N.B.P. COLLEGE OF ARTS, COMMERCE, SCIENCE & MANAGEMENT STUDIES
MORWADI PIMPRI--18
61. Relational Algebra is a __________ query language that takes two relations as input and produces another rela
a) Relational C
b) Structural
c) Procedural
d) Fundamental
62 Which of the following is a fundamental operation in relational algebra? D
a) Set intersection
b) Natural join
c) Assignment
d) None of the mentioned
63. Which of the following is used to denote the selection operation in relational algebra? B
a) Pi (Greek)
b) Sigma (Greek)
c) Lambda (Greek)
d) Omega (Greek)
68. The union operation automatically __________ unlike the select clause. D
a) Adds tuples
b) Eliminates unique tuples
c) Adds common tuples
d) Eliminates duplicate
69.A _____ indicates an absent value that may exist but be unknown or that may not exist at all. C
a) Empty tuple
b) New value
c) Null value
d) Old value
70 Aggregate functions are functions that take a ___________ as input and return a single value. A
a) Collection of values
b) Single value
c) Aggregate value
d) Both Collection of values & Single value
75 Which one of the following deletes all the entries but keeps the structure of the relation. D
a) Delete from r where P;
b) Delete from instructor where dept name= ’Finance’;
c) Delete from instructor where salary between 13000 and 15000;
d) Delete from instructor;
76 UPDATE instructor B
_____ salary= salary * 1.05;
Fill in with correct keyword to update the instructor relation.
a) Where
b) Set
c) In
d) Select
77 _________ are useful in SQL update statements, where they can be used in the set clause. D
a) Multiple queries
b) Sub queries
c) Update
d) Scalar subqueries
81 What type of join is needed when you wish to include rows that do not have matching values? C
a) Equi-join
b) Natural join
c) Outer join
d) All of the mentioned
84 Which join refers to join records from the right table that have no matching key in the left table are include in the
a) Left outer join B
b) Right outer join
c) Full outer join
d) Half outer join
88 A table on the many side of a one to many or many to many relationship must: A
a) Be in Second Normal Form (2NF)
b) Be in Third Normal Form (3NF)
c) Have a single attribute key
d) Have a composite key
91 Functional Dependencies are the types of constraints that are based on______ A
a) Key
b) Key revisited
c) Superset key
d) None of the mentioned
92 Which is a bottom-up approach to database design that design by examining the relationship between attributes
a) Functional dependency C
b) Database modeling
c) Normalization
d) Decomposition
93 Which forms simplifies and ensures that there are minimal data aggregates and repetitive groups: C
a) 1NF
b) 2NF
c) 3NF
d) All of the mentioned
9 4Which forms has a relation that possesses data about an individual entity: C
a) 2NF
b) 3NF
c) 4NF
d) 5NF
For any pincode, there is only one city and state. Also, for given street, city and state, there is just one pincode. In n
a) 1 NF only
b) 2 NF and hence also in 1 NF
c) 3NF and hence also in 2NF and 1NF
d) BCNF and hence also in 3NF, 2NF and 1NF
98 Inst_dept (ID, name, salary, dept name, building, budget) is decomposed into D
99 There are two functional dependencies with the same set of attributes on the left side of the arrow: A
A->BC
A->B
This can be combined as
a) A->BC
b) A->B
c) B->C
d) None of the mentioned
100. Which data type allows alphanumeric characters and special symbols to be entered? A
Text
Memo
Auto number
Mixed
assign a name to a derived column.
s as input and produces another relation as an output of the query.
key in the left table are include in the result set:
g the relationship between attributes:
d state, there is just one pincode. In normalization terms, empdt1 is a relation in