Search Header Logo

Week 1 - Understanding Relational Databases

Authored by Zhao Hong Lau

Computers

12th Grade

Used 1+ times

Week 1 - Understanding Relational Databases
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

26 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of an attribute for a 'Student' entity in a school database?

School Name

Student ID

Teacher Name

Class Schedule

Answer explanation

The 'Student ID' is a unique identifier for each student, making it a key attribute of the 'Student' entity. In contrast, 'School Name', 'Teacher Name', and 'Class Schedule' pertain to other entities or aspects of the school.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a database representing a library system, which of the following is an example of an entity?

Author's Name

Book Title

Book Publication Date

Author

Answer explanation

In a library database, an entity represents a distinct object or concept. 'Author' is an entity as it refers to a person who writes books, while 'Author's Name', 'Book Title', and 'Book Publication Date' are attributes of entities.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify based on the scenario below, what kind of entity relationship it belongs to: Each student has a unique personal residential address. What kind of relationship should the student and the address be defined as?

One-to-One relationship

One-to-Many relationship

Many-to-Many relationship

None-to-One relationship

Answer explanation

The relationship between a student and their unique residential address is a One-to-One relationship, as each student is associated with exactly one address, and each address corresponds to only one student.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify based on the scenario below, what kind of entity relationship it belongs to: A Book can have one or more authors. An Author can write multiple books.

One-to-One

One-to-Many

Many-to-Many

Answer explanation

The relationship is Many-to-Many because a Book can have multiple Authors, and an Author can write multiple Books. This mutual association indicates that each entity can relate to many instances of the other.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify based on the scenario below, what kind of entity relationship it belongs to: An Order can include multiple food items. A Food Item can be added to different orders.

One-to-One

One-to-Many

Many-to-Many

Answer explanation

The relationship is Many-to-Many because an Order can contain multiple Food Items, and a Food Item can be part of different Orders. This mutual inclusion indicates a Many-to-Many relationship.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify based on the scenario below, what kind of entity relationship it belongs to: A Team can have multiple players. One Player can only be in one team.

One-to-One

One-to-Many

Many-to-Many

Answer explanation

The scenario describes a relationship where one Team can have multiple Players, but each Player belongs to only one Team. This defines a One-to-Many relationship, as one entity (Team) relates to many entities (Players).

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best describes a primary key?

A key used to secure data encryption

A key used to sort the data in ascending order

A unique identifier for each record in a table

Used to ensure reference integrity

Answer explanation

A primary key is a unique identifier for each record in a table, ensuring that no two records have the same key. This is essential for maintaining data integrity and enabling efficient data retrieval.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?