DBMS Unit 2 - QB
DBMS Unit 2 - QB
QUESTION BANK
QUESTION BANK
SEM/YEAR: VI/III
Course Outcomes
CO2: Apply the fundamentals of data models to model an application’s data requirements using
conceptual modeling tools like ER diagrams.
CO3: Apply the method to convert the ER model to a database schemas based on the
conceptual relational model.
CO4: Apply the knowledge to create, store and retrieve data using Structure Query Language
(SQL) and PL/SQL.
CO5: Apply the knowledge to improve database design using various normalization criteria
and optimize queries.
PART-A
Q. Cour
se Competence
N Questions Outc BT Level
o. ome
If a multivalued dependency holds and is not implied by the
corresponding functional dependency, it usually arises from one
of the following sources.
D. Both a and b
A. Tables
B. Fields C
2 O2 BT1
C. Records
D. Keys
A. Column
C. Row
D. Entry
A. Record
B. Column
4 CO2 BT1
C. Tuple
D. Key
A ________ is a set of entities of the same type that share the
same properties, or attributes.
A. Entity set
B. Attribute set
5 CO2 BT1
C. Relation set
D. Entity model
A. Simple attribute
6 CO2 BT1
B. Composite attribute
C. Multivalued attribute
D. Derived attribute
A. Single valued
C. Composite
D. Derived
A. Descriptive
C. Recursive
D. Relative
An entity in A is associated with at most one entity in B, and an
entity in B is associated with at most one entity in A. This is
called as
A. One-to-many
9 CO2 BT3
B. One-to-one
C. Many-to-many
D. Many-to-one
A. One-to-many
10 CO2 BT1
B. One-to-one
C. Many-to-many
D. Many-to-one
D. Domain Constraints
A. Secondary Key
C. Foreign key
D. Composite key
A. Constraints
D. Cursors
A. Entity
15 CO2 BT1
B. Attribute
C. Relation
D. Value
Given the basic ER and relational models, which of the following is INCORRECT?
D. In a row of a relational table, an attribute can have exactly one value or a NULL value
A. Ellipse
B. Dashed ellipse
17 CO2 BT1
C. Rectangle
D. Triangle
A. Unary
18 CO2 BT1
B. Binary
C. Ternary
D. Quaternary
A primary key is combined with a foreign key creates
A. Commonality
20 CO2 BT1
B. Specialization
C. Generalization
D. Similarity
C. Uniqueness
D. Relational
A. Total
22 CO2 BT1
B. Partial
C. Should be specified
D. cannot be determined
The_____ operation allows the combining of two relations by
merging pairs of tuples, one from each relation, into a single tuple.
A. Select
C. Union
D. Intersection
A. Union
C. Product
D. Intersect
A. Child
B. Owner
25 CO2 BT1
C. Dominant
D. Parent
A. Tuples.
27 B. Attributes CO2 BT1
C. Tables.
D. Rows.
In an E-R diagram an entity set is represent by a
A. Rectangle.
B. Ellipse.
28 CO2 BT1
C. Diamond box.
D. Circle.
A. Unary
30 CO2 BT1
B. Binary
C. Ternary
D. Quaternary
Degree of ternary relationship is________________
A. 2
31 CO2 BT1
B. 4
C. 5
D. 3
A. Simple
32 CO2 BT1
B. Composite
C. Single
D. Derived
An entity set which does not have any key attributes is called as a
A. Generalization
34 CO2 BT1
B. Partialization
C. Specialization
D. Aggregation
A. Single
CO2 BT1
35
B. Simple
C. Composite
D. Multivalued
A. Recursive
37 CO2 BT3
B. Many to many
C. One to many
D. Many to one
A. Primary key
38 CO2 BT3
B. Super key
C. Candidate key
D. None of these
A. Fourth
39 CO2 BT2
B. Third
C. BCNF
D. First
E-R modeling technique is a:
A. Top-down approach
C. Left-right approach
A. Specialization
B. Aggregation BT2
41 CO2
C. Initialisation
D. Generalization
A. Alternate
C. Super
D. Unique
Which of the following commands is used to get all the columns
in a table?
A. #
43 CO2 BT3
B. *
C. %
D. @
A. Attribute set
B. Attribute range
44 BT3
CO2
C. Domain
D. Group
A. Unique
B. Alternative BT2
45 CO2
C. Candidate
D. Primary
The ____________of Primary keys of the related entity sets
becomes a Super Key of the relation.
A. Union
B. Intersection BT2
46 CO2
C. Minus
D. Aggregation
A. Union
CO2 BT3
47 B. Intersection
C. Minus
D. Aggregation
A. Max
D. Sum
A. Ellipse
C. Rectangle
D. Triangle
In an E-R, Y is the dominant entity and X is a subordinate entity.
Then which of the following is incorrect?
A. operationally, If Y is deleted, so is X
A. Double ellipse
C. Squared ellipse
The following points explain the main differences between database and
schema:
1. ● The DDL statement is used to generate and modify the schema. CO2 BT1
On the other hand, DML statements are used to create and
modify the data inside the database.
● Each database uses the memory to store the data, whereas the
schema can use a logical structure to store data.
What is an entity type? What is an entity set? Explain the
differences among an entity, an entity type, and an entity set.
Entity set is the set of entities of the same type that share the same
attributes.
E.g. Set of all people who are customer at a particular bank can be
defined as the entity customer, while, Entity set of entities of the
2 same entity type. CO2 BT1
Owner (or identifying) entity type is a title for entity type that
identifies weak entity types related to it. Weak entity types include
one of their attributes when combining with owner entity type.
3 CO2 BT1
Weak entity type is an entity type that does not have key attributes
of its own.
5 CO2 BT1
● Participation constraint
Cardinality ratio
Participation constraint
Disadvantage
Strong Entity Type: Strong entity are those entity types which
has a key attribute. The primary key helps in identifying each
entity uniquely. It is represented by a rectangle.
Weak Entity Type: Weak entity type doesn't have a key attribute.
Weak entity type can't be identified on its own. It depends upon
some other strong entity for its distinct identity.
1. Primary Key
2. Candidate Key
3. Super Key
4. Foreign Key
5. Composite Key
6. Alternate Key
7. Unique Key
What are the Constraints on Binary Relationship Types?