DBMS 8
DBMS 8
DBMS 8
a) Entity set
b) Attribute set
c) Relation set
d) Entity model
View Answer
Answer: a
Explanation: An entity is a “thing” or “object” in the real world that is distinguishable from all other objects.
2. Entity is a _________
a) Object of relation
b) Present working model
c) Thing in real world
d) Model of relation
View Answer
Answer: c
Explanation: For example, each person in a university is an entity.
3. The descriptive property possessed by each entity set is _________
a) Entity
b) Attribute
c) Relation
d) Model
View Answer
Answer: b
Explanation: Possible attributes of the instructor entity set are ID, name, dept name, and salary.
4. The function that an entity plays in a relationship is called that entity’s _____________
a) Participation
b) Position
c) Role
d) Instance
View Answer
Answer: c
Explanation: A relationship is an association among several entities.
5. The attribute name could be structured as an attribute consisting of first name, middle initial, and last name. This
type of attribute is called
a) Simple attribute
b) Composite attribute
c) Multivalued attribute
d) Derived attribute
View Answer
Answer: b
Explanation: Composite attributes can be divided into subparts (that is, other attributes).
6. The attribute AGE is calculated from DATE_OF_BIRTH. The attribute AGE is
a) Single valued
b) Multi valued
c) Composite
d) Derived
View Answer
Answer: d
Explanation: The value for this type of attribute can be derived from the values of other related attributes or entities.
7. Not applicable condition can be represented in relation entry as
a) NA
b) 0
c) NULL
d) Blank Space
View Answer
Answer: c
Explanation: NULL always represents that the value is not present.
8. Which of the following can be a multivalued attribute?
a) Phone_number
b) Name
c) Date_of_birth
d) All of the mentioned
View Answer
Answer: a
Explanation: Name and Date_of_birth cannot hold more than 1 value.
9. Which of the following is a single valued attribute
a) Register_number
b) Address
c) SUBJECT_TAKEN
d) Reference
View Answer
Answer: a
Explanation: None.
10. In a relation between the entities the type and condition of the relation should be specified. That is called
as______attribute.
a) Desciptive
b) Derived
c) Recursive
d) Relative
View Answer
Answer: a
Explanation: Consider the entity sets student and section, which participate in a relationship set takes. We may wish
to store a descriptive attribute grade with the relationship to record the grade that a student got in the class.
1. _____________ express the number of entities to which another entity can be associated via a relationship set.
a) Mapping Cardinality
b) Relational Cardinality
c) Participation Constraints
d) None of the mentioned
View Answer
Answer: a
Explanation: Mapping cardinality is also called as cardinality ratio.
2. 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
b) One-to-one
c) Many-to-many
d) Many-to-one
View Answer
Answer: b
Explanation: Here one entity in one set is related to one one entity in other set.
3. An entity in A is associated with at most one entity in B. An entity in B, however, can be associated with any
number (zero or more) of entities in A.
a) One-to-many
b) One-to-one
c) Many-to-many
d) Many-to-one
View Answer
Answer: d
Explanation: Here more than one entity in one set is related to one one entity in other set.
Answer: c
Explanation: The data entered will be in a particular cell (i.e., table column).
5. Establishing limits on allowable property values, and specifying a set of acceptable, predefined options that can
be assigned to a property are examples of:
a) Attributes
b) Data integrity constraints
c) Method constraints
d) Referential integrity constraints
View Answer
Answer: b
Explanation: Only particular value satisfying the constraints are entered in the column.
Answer: c
Explanation: None.
7. ______ is a special type of integrity constraint that relates two relations & maintains consistency across the
relations.
a) Entity Integrity Constraints
b) Referential Integrity Constraints
c) Domain Integrity Constraints
d) Domain Constraints
View Answer
Answer: b
Explanation: None.
advertisement
8. Which one of the following uniquely identifies the elements in the relation?
a) Secondary Key
b) Primary key
c) Foreign key
d) Composite key
View Answer
Answer: b
Explanation: Primary key checks for not null and uniqueness constraint.
Answer: d
Explanation: Foreign key is used when primary key of one relation is used in another relation.
Answer: a
Explanation: Constraints are specified to restrict entries in the relation.
Answer: a
Explanation: E-R diagrams are simple and clear—qualities that may well account in large part for the widespread
use of the E-R model.
Answer: d
Explanation: Dashed lines link attributes of a relationship set to the relationship set.
Answer: a
Explanation: The first part of the rectangle, contains the name of the entity set. The second part contains the names
of all the attributes of the entity set.
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
View Answer
Answer: b
Explanation: This indicates that an instructor may advise at most one student, and a student may have at most one
advisor.
5. We indicate roles in E-R diagrams by labeling the lines that connect ___________ to __________
a) Diamond , diamond
b) Rectangle, diamond
c) Rectangle, rectangle
d) Diamond, rectangle
View Answer
Answer: d
Explanation: Diamond represents a relationship set and rectangle represents a entity set.
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
View Answer
Answer: c
Explanation: An entity set that has a primary key is termed a strong entity 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
View Answer
Answer: a
Explanation: Every weak entity must be associated with an identifying entity; that is, the weak entity set is said to be
existence dependent on the identifying entity set. The identifying entity set is said to own the weak entity set that it
identifies. It is also called as owner entity set.
advertisement
Answer: c
Explanation: An entity set that has a primary key is termed a 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
View Answer
Answer: b
Explanation: An entity set is a logical container for instances of an entity type and instances of any type derived
from that entity type.
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
View Answer
Answer: b
Explanation: The environment of database is said to be an instance. A database instance or an ‘instance’ is made up
of the background processes needed by the database.
Answer: b
Explanation: It is used to represent the relation between several attributes.
3. 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
View Answer
Answer: c
Explanation: It is possible to have several values for a single attribute provide it is a multi-valued attribute.
4. 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
View Answer
Answer: b
Explanation: In SQL (Structured Query Language), the term cardinality refers to the uniqueness of data values
contained in a particular column (attribute) of a database table.
Answer: d
Explanation: Ellipse represents attributes, rectangle represents entity.
Answer: b
Explanation: Binary word usually represents two attributes.
Answer: d
Explanation: Directory is a low level to word on in file system.
advertisement
Answer: c
Explanation: Primary key of one relation used as an attribute in another relation is called foreign key.
Answer: b
Explanation: View is a logical portion of a database which is needed by some users.
Answer: a
Explanation: Using the two relationships mother and father provides us a record of a child’s mother, even if we are
not aware of the father’s identity; a null value would be required if the ternary relationship parent is used. Using
binary relationship sets is preferable in this case.
1. The entity set person is classified as student and employee. This process is called _________
a) Generalization
b) Specialization
c) Inheritance
d) Constraint generalization
View Answer
Answer: b
Explanation: The process of designating subgroupings within an entity set is called specialization.
Answer: a
Explanation: In terms of an E-R diagram, specialization is depicted by a hollow arrow-head pointing from the
specialized entity to the other entity.
3. The refinement from an initial entity set into successive levels of entity subgroupings represents a ________
design process in which distinctions are made explicit.
a) Hierarchy
b) Bottom-up
c) Top-down
d) Radical
View Answer
Answer: c
Explanation: The design process may also proceed in a bottom-up manner, in which multiple entity sets are
synthesized into a higher-level entity set on the basis of common features.
4. There are similarities between the instructor entity set and the secretary entity set in the sense that they have
several attributes that are conceptually the same across the two entity sets: namely, the identifier, name, and salary
attributes. This process is called
a) Commonality
b) Specialization
c) Generalization
d) Similarity
View Answer
Answer: c
Explanation: Generalization is used to emphasize the similarities among lower-level entity sets and to hide the
differences.
5. If an entity set is a lower-level entity set in more than one ISA relationship, then the entity set has
a) Hierarchy
b) Multilevel inheritance
c) Single inheritance
d) Multiple inheritance
View Answer
Answer: d
Explanation: The attributes of the higher-level entity sets are said to be inherited by the lower-level entity sets.
6. A _____________ constraint requires that an entity belong to no more than one lower-level entity set.
a) Disjointness
b) Uniqueness
c) Special
d) Relational
View Answer
Answer: a
Explanation: For example, student entity can satisfy only one condition for the student type attribute; an entity can
be either a graduate student or an undergraduate student, but cannot be both.
7. Consider the employee work-team example, and assume that certain employees participate in more than one work
team. A given employee may therefore appear in more than one of the team entity sets that are lower level entity sets
of employee. Thus, the generalization is _____________
a) Overlapping
b) Disjointness
c) Uniqueness
d) Relational
View Answer
Answer: a
Explanation: In overlapping generalizations, the same entity may belong to more than one lower-level entity set
within a single generalization.
advertisement
8. The completeness constraint may be one of the following: Total generalization or specialization, Partial
generalization or specialization. Which is the default?
a) Total
b) Partial
c) Should be specified
d) Cannot be determined
View Answer
Answer: b
Explanation: Partial generalization or specialization – Some higher-level entities may not belong to any lower-level
entity set.
Answer: a
Explanation: The subclasses are combined to form the superclass.
Answer: a
Explanation: A parent may be called as a strong entity
Answer: d
Explanation: One of the more desirable normal forms that we can obtain is Boyce–Codd normal form (BCNF). It
eliminates all redundancy that can be discovered based on functional dependencies.
Answer: d
Explanation: Third normal form (3NF) relaxes this constraint slightly by allowing certain nontrivial
functionaldependencieswhose left side is not a superkey.
6. If every non-key attribute is functionally dependent primary key, then the relation will be in
a) First normal form
b) Second normal form
c) Third form
d) Fourth normal form
View Answer
Answer: b
Explanation: Third normal form (3NF) relaxes this constraint slightly by allowing certain nontrivial
functionaldependencieswhose left side is not a superkey.
7. If an attribute of a composite key is dependent on an attribute of the other composite key, a normalization called
_____ is needed.
a) DKNF
b) BCNF
c) Fourth
d) Third
View Answer
Answer: b
Explanation: BCNF eliminates all redundancy that can be discovered based on functional dependencies.
8. The term for information that describes what type of data is available in a database is:
a) Data dictionary
b) data repository
c) Index data
d) Metadata
View Answer
Answer: d
Explanation: Meta data is generally data about a data.
advertisement
9. A data type that creates unique numbers for key columns in Microsoft Access is:
a) Autonumber
b) Boolean
c) Sequential key
d) Sequential number
View Answer
Answer: a
Explanation: This can be taken as a primary key.
Answer: a
Explanation: Given a set F of functional dependencies on a schema, we can prove that certain other functional
dependencies also hold on the schema.
Answer: a
Explanation: The first normal form is used to eliminate the duplicate information.
2. A table on the many side of a one to many or many to many relationship must:
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
View Answer
Answer: d
Explanation: The relation in second normal form is also in first normal form and no partial dependencies on any
column in primary key.
Answer: a
Explanation: The relation in second normal form is also in first normal form and no partial dependencies on any
column in primary key.
Answer: c
Explanation: We say that the decomposition is a lossless decomposition if there is no loss of information by
replacing r (R) with two relation schemas r1(R1) andr2(R2).
5. Functional Dependencies are the types of constraints that are based on______
a) Key
b) Key revisited
c) Superset key
d) None of the mentioned
View Answer
Answer: a
Explanation: Key is the basic element needed for the constraints.
6. Which is a bottom-up approach to database design that design by examining the relationship between attributes:
a) Functional dependency
b) Database modeling
c) Normalization
d) Decomposition
View Answer
Answer: c
Explanation: Normalisation is the process of removing redundancy and unwanted data.
7. Which forms simplifies and ensures that there are minimal data aggregates and repetitive groups:
a) 1NF
b) 2NF
c) 3NF
d) All of the mentioned
View Answer
Answer: c
Explanation: The first normal form is used to eliminate the duplicate information.
8. Which forms has a relation that possesses data about an individual entity:
a) 2NF
b) 3NF
c) 4NF
d) 5NF
View Answer
Answer: c
Explanation: A Table is in 4NF if and only if, for every one of its non-trivial multivalued dependencies X
\twoheadrightarrow Y, X is a superkey—that is, X is either a candidate key or a superset thereof.
Answer: c
Explanation: The table is in 3NF if every non-prime attribute of R is non-transitively dependent (i.e. directly
dependent) on every superkey of R.