Machine-translated by Google. Questions are authored in English.
Top

Logical Database Design Questions and Answers

1.

When converting an E-R diagram to a relational schema, how is a multivalued attribute typically represented in the relational model ?

Exam Year(s)

Tripura Public Service Commission - 2026,

Answer: D

A multivalued attribute becomes a separate relation with a foreign key.

A relation in first normal form cannot store several values in one column. So a multivalued attribute, such as an employee's several phone numbers, is moved to a new relation holding the owning entity's key (as a foreign key) and the attribute value, for example EMP_PHONE(emp_id, phone), with the two columns together as its primary key. Each value becomes its own row.

A composite attribute is a different idea (one value with parts, like an address) and is flattened into several columns. A nullable column in the same table can hold only one value. CHECK constraints validate values and do nothing to store several of them.

Please log in or register to report this question.

2.

What is a surrogate key in database design ?

Exam Year(s)

Tripura Public Service Commission - 2026,

Answer: B

A surrogate key is a system-generated unique identifier.

A surrogate key, such as an auto-increment integer or a UUID, is created by the database purely to identify rows and carries no business meaning. It stays stable even if real-world values such as names or e-mail addresses change, which makes it a convenient primary key.

A natural key comes from the data itself, such as an Aadhaar or ISBN number, which is the opposite of a surrogate. A composite key combines several columns. A foreign key refers to the key of another table.

Please log in or register to report this question.

3.

Based on the cardinality ratio and participation ________ associated with a relationship type, choose either the Foreign Key Design, the Cross Referencing Design or Mutual Referencing Design.

Exam Year(s)

UGC NET - 2013,

Answer: B

The word needed is 'Constraints'. The choice between the foreign key design, the cross-referencing design and the mutual referencing design when mapping an ER relationship to tables depends on the cardinality ratio and the participation constraints (total or partial) of the relationship type.

'Entity', 'Rules' and 'Keys' do not form a standard phrase here. The text 'participation constraints' is the term used in ER-to-relational mapping, and keys are what the designs then use, not what the choice is based on.

Please log in or register to report this question.

4.

When mapping a many-to-many unary relationship into a relation which of the following is true?

Answer: B

Correct answer: Two relations are created.

A unary many-to-many relationship - a part composed of other parts, an employee supervising employees - needs the entity’s own relation plus an associative relation holding pairs of its key. The associative relation’s key is the two roles taken together, each a foreign key to the same relation.

Please log in or register to report this question.

5.

The primary key in a relation does not need to be underlined.

Answer: B

Correct answer: False

Underlining the primary key is the standard convention for writing a relation, and it is how a reader tells the key from the other attributes. Foreign keys are conventionally marked too, usually by a dashed underline or an italic. The notation carries information rather than decorating it.

Please log in or register to report this question.

6.

A foreign key may be null and still adhere to the referential integrity constraint.

Answer: A

Correct answer: True

A null foreign key means the row participates in no relationship, which is exactly how optional participation is expressed. Referential integrity requires only that a foreign key which does hold a value must match an existing primary key - it does not require a value to be present.

Please log in or register to report this question.

7.

If no multivalued attributes exist and no partial dependencies exist in a relation, then the relation is in what normal form?

Answer: B

Correct answer: Second normal form

Second normal form requires first normal form, which is what the absence of multivalued attributes gives, plus the absence of partial dependencies on part of a composite key. Third normal form would need transitive dependencies removed as well, and nothing here says they have been.

Please log in or register to report this question.

Answer: A

Correct answer: The supertype primary key is assigned to each subtype.

Each subtype becomes a relation whose primary key is the supertype’s primary key, which is also a foreign key referring back to it. This is what makes the subtype row and the supertype row the same entity seen twice, and it is why a subtype instance cannot exist without its supertype instance.

Please log in or register to report this question.

9.

The primary key of the new relation in a many-to-many relationship is a composite key comprised of the primary keys of each of the binary entities.

Answer: A

Correct answer: True

The associative relation’s primary key is the two foreign keys taken together, since a pairing is identified by which two rows it joins. Where the same pair may recur - the same student enrolling on the same course twice - a further attribute such as a date must be added to keep the key unique.

Please log in or register to report this question.

10.

Weak entities do not get mapped into a relation.

Answer: B

Correct answer: False

A weak entity does become a relation. What distinguishes it is the primary key: the partial identifier of the weak entity combined with the primary key of the owner, which is also a foreign key. That composite key is what expresses the existence dependence in the relational model.

Please log in or register to report this question.

Loading…

Other Subjects

Tags: Logical Database Design Questions and Answers || Logical Database Design MCQ Questions and Answers || Logical Database Design GK Questions and Answers || Logical Database Design GK MCQ Questions || Logical Database Design Multiple Choice Questions and Answers || Logical Database Design GK || GK on Logical Database Design || Database Questions and Answers || Database MCQ Questions and Answers || Database GK Questions and Answers || GK on Database