Chapter 2 Flashcards

1
Q

What is the first step in designing a database application?

A

Requirements Analysis

This step focuses on understanding what the database needs to achieve.

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

What model is used during the conceptual design phase of database design?

A

ER Model

The ER Model helps identify entities and relationships within the enterprise.

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

What information is considered during the conceptual design phase?

A

Entities, relationships, integrity constraints

This includes understanding what data to store and the rules governing it.

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

What is a database schema in the context of the ER Model?

A

A representation of entities and relationships pictorially

Often depicted using ER diagrams.

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

What is the purpose of logical database design?

A

Choose a DBMS and map an ER diagram into a relational schema

This step translates the design into a format suitable for implementation.

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

What does schema refinement involve?

A

Analyzing the current schema to identify problems and refine it

This includes normalizing relations for performance.

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

What is physical database design focused on?

A

Building indices and clustering tables

This step optimizes the physical storage of data.

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

What does application and security design consider?

A

Aspects of the application beyond the database itself

This includes user permissions and application logic.

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

Define ‘Entity’ in the context of the ER Model.

A

A real-world object distinguishable from other objects

An entity is described using a set of attributes in the database.

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

What is an Entity Set?

A

A collection of similar entities

For example, all employees are an entity set.

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

What is a primary key in an entity set?

A

A key that uniquely identifies each entity in the set

For example, SSN is a primary key for employees.

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

What is a Relationship in the ER Model?

A

An association among two or more entities

For example, an employee works in a department.

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

What is a Relationship Set?

A

A collection of similar relationships

This can involve multiple entities participating together.

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

What are Participation Constraints?

A

Rules that define whether all or some entities must participate in a relationship

For example, does every department have a manager?

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

Define ‘Weak Entity’.

A

An entity that can only be identified by considering the primary key of another entity

Weak entities require a one-to-many relationship with an owner entity.

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

What is the identifying owner in a weak entity?

A

The primary key of the owner entity combined with a partial key

For example, SSN + pname can identify a weak entity.

17
Q

What are ISA hierarchies?

A

Hierarchies that define a subclass relationship among entities

For example, Contract_Emps and Hourly_Emps are subclasses of Employees.

18
Q

What is an overlap constraint in ISA hierarchies?

A

A constraint that determines if an entity can belong to multiple subclasses

By default, this is disallowed.

19
Q

What is a covering constraint in ISA hierarchies?

A

A constraint that specifies whether every entity must belong to a subclass

By default, this is not required.