Database Design Strategies

Database Design Strategies

University

10 Qs

quiz-placeholder

Similar activities

@tbinh1768/TIN ĐS HK1

@tbinh1768/TIN ĐS HK1

11th Grade - University

11 Qs

RPL Quiz 4

RPL Quiz 4

University

10 Qs

SK T5 MODEL HUBUNGAN DATA

SK T5 MODEL HUBUNGAN DATA

1st Grade - University

7 Qs

Câu hỏi về SQL

Câu hỏi về SQL

11th Grade - University

12 Qs

Introdução ao Oracle

Introdução ao Oracle

University

10 Qs

Week6-ERD-2

Week6-ERD-2

University

13 Qs

Basis Data

Basis Data

University

8 Qs

Entity Relationship Model

Entity Relationship Model

University

10 Qs

Database Design Strategies

Database Design Strategies

Assessment

Quiz

Computers

University

Hard

Created by

Nurul Emran

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Chen ERD, multivalued attributes are represented by:

rectangle

double ellipse

dashed ellipse

solid ellipse

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Chen ERD, what symbol is used to represent a weak entity?

double rectangle

double ellipse

dashed ellipse

solid ellipse

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbol is used to represent a derived attribute in Chen ERD?

double rectangle

double ellipse

dashed ellipse

solid ellipse

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given the basic ER diagram and relational model, which of the following is INCORRECT?

An attribute of an entity can have more than one value

An attribute of an entity can be composite

In a row of a relational table, an attribute can have exactly one value or a NULL value

In a row of relational table, an attribute can have more than one value

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which of the following possible relations will NOT hold if the above ERD is mapped into a relation model ?

Person (NID, Name)

Qualification (NID, ExamID, QualifiedDate)

Exam (ExamID, NID, ExamName)

Exam (ExamID, ExamName)

Answer explanation

The relation Exam (ExamID, NID, ExamName) violates the ERD mapping as it does not match the structure of the Exam entity in the ERD.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Consider the given ERD. We create tables a and b, each of which have a primary key column named “id”. (Assume there are additional columns from attributes not shown.) What is the simplest way to convert the relationship between A and B?

Create a column named “a_id” in table b, and make it a foreign key referencing table a.

Create a column named “b_id” in table a, and make it a foreign key referencing table b.

Create a cross-reference table, a_b, containing columns a_id and b_id as foreign keys referencing a and b respectively.

Merge tables a and b into a new table.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Consider the given ERD. We create table r with primary key column id. What should table w look like?

The table should have a column partial as primary key. Additionally, create a cross-reference table r_w.

The table should have columns partial and r_id. The primary key is partial. Add a foreign key constraint on r_id referencing r.

The table should have columns partial and r_id. The primary key is a composite of r_id and partial. Add a foreign key constraint on r_id referencing r.

The table should have columns partial and r_id. The primary key is r_id. Add a foreign key constraint on r_id referencing r.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?