Set 2 -dbms MCQ
Set 2 -dbms MCQ
4. Consider a directed line(->) from the relationship set advisor to both entity sets
instructor and student. This indicates _________ cardinality
a) One to many
b) One to one
c) Many to many
d) Many to one
6. An entity set that does not have sufficient attributes to form a primary key is
termed a __________
a) Strong entity set
b) Variant set
c) Weak entity set
d) Variable set
7. For a weak entity set to be meaningful, it must be associated with another entity
set, called the
a) Identifying set
b) Owner set
c) Neighbour set
d) Strong entity set
9. If you were collecting and storing information about your music collection, an
album would be considered a(n) _____
a) Relation
b) Entity
c) Instance
d) Attribute
10. What term is used to refer to a specific record in your music database; for
instance; information stored about a specific album?
a) Relation
b) Instance
c) Table
d) Column
14. What does a directed line ( → ) from a relationship set to two entity sets mean?
a) One-one
b) Many-one
c) Many-many
d) One-many
18. The relationship associating the weak entity sets with the identifying entity set
is called as ________
a) Identifying relationship
b) Connecting relationship
c) Completing relationship
d) Unique relationship
19. State true or false: Every weak entity set must be associated with an identifying
entity
a) True
b) False
20. State true or false: A weak entity can participate in all the relationships.
a) True
b) False
21. Let us consider phone_number ,which can take single or several values .
Treating phone_numberas an _________ permits instructors to have several phone
numbers (including zero) associated with them.
a) Entity
b) Attribute
c) Relation
d) Value
23. Given the basic ER and relational models, which of the following is
INCORRECT?
a) An attribute of an entity can have more than one value
b) An attribute of an entity can be composite
c) In a row of a relational table, an attribute can have more than one value
d) In a row of a relational table, an attribute can have exactly one value or a NULL
value
24. Which of the following indicates the maximum number of entities that can be
involved in a relationship?
a) Minimum cardinality
b) Maximum cardinality
c) ERD
d) Greater Entity Count
34. E-R model uses this symbol to represent weak entity set ?
a) Dotted rectangle
b) Diamond
c) Doubly outlined rectangle
d) None of the Mentioned
36. A ___________ normal form normalization will be needed where all attributes
in a relation tuple are not functionally dependent only on the key attribute.
a) First
b) Second
c) Third
d) Fourth
37. Identify the criteria for designing database from the point of view of user
a) No redundancy
b) No inapplicable attributes
c) Uniformity in naming & definitions of the data items
d) All of the Mentioned
38. The relational model is based on the concept that data is organized and stored
in two-dimensional tables called _____________
a) Fields
b) Records
c) Relations
d) Keys
41. Find the ID, name, dept name, salary for instructors whose salary is greater
than $80,000 .
a) {t | t ε instructor ∧ t[salary] > 80000}
b) Э t ∈ r (Q(t))
c) {t | Э s ε instructor (t[ID] = s[ID]∧ s[salary] > 80000)}
d) None of the mentioned
45. “Find all students who have taken all courses offered in the Biology
department.” The expressions that matches this sentence is :
a) Э t ε r (Q(t))
b) ∀ t ε r (Q(t))
c) ¬ t ε r (Q(t))
d) ~ t ε r (Q(t))
46. Which of the following is the comparison operator in tuple relational calculus
a) ⇒
b) =
c) ε
d) All of the mentioned
48. Find the names of all instructors in the Physics department together with the
course id of all courses they teach:
a){< c > | Э s (< c, a, s, y, b, r, t >ε section
∧ s = “Fall” ∧ y = “2009”
∨ Эu (< c, a, s, y, b, r, t >ε section
∧ s = “Spring” ∧ y = “2010”
b) {< n, c > | Э i, a (< i, c, a, s, y > ε teaches
∧ Э d, s (< i, n, d, s > ε instructor ∧ d = “Physics”))}
c) {< n > | Э i, d, s (< i, n, d, s > ε instructor ∧ s > 80000)}
d) {< i, n, d, s > | < i, n, d, s > ε instructor ∧ s > 80000}
49. In domain relaional calculus “there exist” can be expressed as
a) (P1(x))
b) (P1(x)) Э x
c) V x (P1(x))
d) Э x (P1(x))