Midterm Review Flashcards

1
Q

What are the basic building blocks of a data model?

A

Entities, attributes, relationships, and constraints.

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

What are the limitations of hierarchical data models?

A

Rigid tree structure, only supports one-to-many (no many-to-many), and low flexibility.

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

What is structured data and how is it different from unstructured data?

A

Structured: Organized (tables, defined schema).
Unstructured: Lacks fixed format (text, images).

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

How is a one to one relation enforced in a relational data model?

A

Use unique constraints/primary keys to ensure only one matching record in each table.

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

Each relation in the relational data model is a set.

A

True.

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

Hierarchical data models can model many to many relationships.

A

False. (They only support one-to-many relationships.)

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

Many to many relations show up frequently in modeling software requirements.

A

True.

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

Constraints are not part or the data model.

A

False. (Constraints are integral to enforcing data integrity.)

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

All relational database management systems guarantee that there will never be duplicates in a table.

A

False. (Duplicates can occur unless unique constraints are applied.)

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

The entity relationship model (ERM) is dependent on the database type.

A

False. (ERM is a conceptual design tool, independent of any DBMS.)

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

Prime attribute

A

An attribute that is part of a candidate key.

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

Attribute Domain

A

The set of allowable values for an attribute.

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

Super key

A

A set of attributes that uniquely identifies a record.

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

Weak Entity

A

An entity that cannot be uniquely identified by its own attributes; depends on another entity.

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

Existence Dependence

A

When a weak entity’s existence depends on a related strong entity.

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

Recursive Relationships

A

Relationships where an entity relates to itself.

17
Q

Specialization Hierarchy

A

A structure that divides an entity into subtypes based on shared attributes.

18
Q

ER Diagrams are specific to the RDBMS they are designed for.

A

False.
Explanation: They are conceptual models and independent of any specific DBMS.

19
Q

An overlapping subtype relation is always a partial relation.

A

False.
Explanation: Overlapping subtypes can be total or partial depending on the business rules.

20
Q

The completeness constraint can not be implemented in a relational database management system.

A

False.
Explanation: While not always natively supported, it can be enforced with triggers or application logic.

21
Q

Define functional dependence.

A

A relationship where one attribute (or set of attributes) uniquely determines the value of another attribute.