Database Design Flashcards

1
Q

These include tables, columns (fields), data types, keys (primary and foreign), and relationships.

A

Structures

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

The core unit where data is stored in rows and columns. Each table
represents an entity (e.g., customers, products).

A

Tables

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

CustomerName, CustomerAge, CustomerHeight are characteristics of entities also referred to as _______.

A

Attributes/Columns/Fields

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

Establishes a relationship between two tables.

A

Foreign Key

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

These are the constraints that enforce data integrity and business
logic.

define how data can be created, stored, and manipulated, ensuring that
operations align with organizational policies.

A

Business Rules

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

Enforced directly within the database through constraints, triggers, and stored
procedures.

Example: A university database enforces that a student cannot register for
more than 21 credits per semester. This can be implemented using a trigger
that checks the total credits during registration.

A

Database-oriented Business Rules

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

Implemented within the application logic rather than directly in the database.

Example: An e-commerce platform may restrict product returns to within 30
days of purchase. This rule is enforced by the application’s order management
module rather than the database itself.

A

Application-oriented Business Rules

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

the specifications that the database must fulfill to align with business needs and user expectations. This phase involves gathering and analyzing data requirements from stakeholders to define

A

Database Requirements

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

These describe what the database should do for users to accomplish their tasks (e.g., storing customer orders, managing employee records).

A

Functional Requirements

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

These are set of specifications that describe the system’s operation capabilities and constraints

A

Non-functional Requirements

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

3 Non-Functional Requirements

Hint: PSS

A

Performance
Scalability
Security

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

Using indexing to optimize query performance. Which of the 3 Non- Funtional Requirements does this consider?

A

Performance

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

Design the database to accommodate increasing data volume.

A

Scalability

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

Implement user access control and data encryption.

A

Security

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

Criteria of a Good Database Design

A

Ensures data integrity, efficiency, and scalability.

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

Ensures that data remains accurate and consistent across tables and transactions.

A

Data Integrity and Consistency

17
Q

Eliminates redundancy and improves data integrity by organizing
tables so that each table contains data related to a single entity or concept.

A

Normalization

18
Q

The database should be designed to handle growth in data volume and
user load.

A

Scalability

19
Q

refers to the correctness, consistency, and accuracy of data in a database. It
ensures that data remains reliable and valid over its lifecycle.

A

Data Integrity

20
Q

Ensures that each row in a table is uniquely identifiable.

A

Entity Integrity

21
Q

Ensures that relationships between tables remain consistent.

A

Referential Integrity

22
Q

Ensures that the values in a column fall within a specified range, type, or set.

A

Domain Integrity