Module2: Relational Data Model Flashcards

1
Q

What is the Relational Data Model?

A

A framework for specifying data and relationships using a simple and uniform structure known as relations (tables).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are relations in the Relational Data Model?

A

Sets of tuples (rows) having attributes (columns) based on a schema defining the relation’s structure.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are attributes in a relation?

A

Columns in a table that represent the data elements of entities.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a tuple in the context of relational databases?

A

A single entry in a table, representing a specific instance of an entity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a primary key?

A

A unique identifier for each tuple in a relation, ensuring no two rows are identical.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a foreign key?

A

An attribute in a table that links to a primary key in another table, establishing a relationship between the two tables.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are integrity constraints?

A

Rules that ensure the accuracy and consistency of data within a relational database, including domain, entity integrity, and referential integrity constraints.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is normalization?

A

The process of organizing data in a database to reduce redundancy and improve data integrity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How is an ER model mapped to a relational schema?

A

By converting entities to tables, relationships to foreign keys, and attributes to columns within those tables.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are basic database operations in the relational model?

A

Operations include selection, projection, join, and division, allowing manipulation and retrieval of data from a relational database

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a tuple in the context of relational databases?
A) A type of data model
B) A row in a table
C) A database management system
D) A query language

A

B) A row in a table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which of the following integrity constraints ensures that a foreign key value in one table matches a primary key value in another table?
A) Domain Integrity
B) Referential Integrity
C) Entity Integrity
D) User-Defined Integrity

A

B) Referential Integrity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

The process of organizing data in a database to reduce redundancy and improve data integrity is known as:
A) Indexing
B) Mapping
C) Normalization
D) Partitioning

A

C) Normalization

How well did you know this?
1
Not at all
2
3
4
5
Perfectly