Ch 3. Relational Data Modeling

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/34

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 2:48 AM on 7/1/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

35 Terms

1
New cards

What is a data model?

A particular representation of data that specifies a subject and its attributes, grouping them together based on their relationship to that subject.

2
New cards

What is abstraction?

A process of simplification that removes details and replaces them with concepts to make describing data easier.

3
New cards

What is an abstract data model?

A representation even simpler than a standard data model, used specifically to simplify the understanding of data.

4
New cards

What does UML stand for, and what is its purpose?

Unified Modeling Language. A standardized modeling language used to visually represent, design, and implement complex software systems by dividing them into components and sub-components.

5
New cards

In a UML class diagram, what are items that have parentheses () called?

Methods.

6
New cards

What is an Object Diagram?

A snapshot of the objects (instances of classes) in a system at a given point in time. It changes as the program runs and is excellent for building prototypes to see data flow.

7
New cards

What are the design guidelines for building an Object Diagram?

It must be named clearly, objects must be connected to show associations, values should be included where necessary, and it must be documented to ensure understanding.

8
New cards

What is a Class Diagram?

A diagram that shows classes, their attributes, methods, constraints, and relationships. It acts as the blueprint for the final product.

9
New cards

What is an Association in a UML class diagram?

A relationship between classes, drawn simply as a line.

10
New cards

What is Aggregation, and how is it drawn?

A parent/child relationship where the child survives if the parent class is destroyed. It is drawn as a line with an open diamond pointing to the parent.

11
New cards

What is Composition?

An association where the child cannot survive on its own if the parent class is destroyed.

12
New cards

What is Inheritance?

A relationship where typically two or more classes act as sub-classes of a top class.

13
New cards

What is a database schema?

The conceptual blueprint of a relational database containing the design, list of attributes, and instructions that tell the database engine how data is organized and related.

14
New cards

What is Schema Theory and what are Schemata?

Schema Theory states that knowledge is organized into units. These individual units of knowledge that store information are called schemata.

15
New cards

What limitations can field attributes and rules enforce in a table?

They can limit data types, enforce specific formats, require specific masks, or restrict the data to a specific number of characters.

16
New cards

What is a sort key?

A key that allows the database engine to quickly sort a table into a specific order.

17
New cards

What is a linked key?

A key used to connect entries in one table with associated entries in another. Good linked keys are unique.

18
New cards

What is the difference between a Physical Schema and a Logical Schema?

A Physical Schema displays the hardware, servers, and connections needed to install the database. A Logical Schema describes the structure of the data itself.

19
New cards

What visual style is used for Primary Keys when graphically mapping out a schema before data is entered?

They are written in bold.

20
New cards

What causes database anomalies, and what do they impact?

Poor table relations and erroneous data cause anomalies, which negatively impact information quality.

21
New cards

What is Normalization?

The process of removing existing or possible anomalies, data redundancies, and data inaccuracies. It limits tables to a single particular purpose or entity.

22
New cards

What is a Normal Form?

The specific stage at which a table is organized.

23
New cards

What is a Transitive Dependency?

A condition where a non-primary attribute depends on another non-primary attribute, rather than directly on the primary key (facilitated through a column located between them).

24
New cards

Who developed SQL, when, and who first made it publicly available?

Developed in the early 1970s by IBM; it became publicly available from Oracle in 1979.

25
New cards

What is the action of the SQL SELECT command?

Retrieve information in a database.

26
New cards

What is the action of the SQL INSERT command?

Add information to a database.

27
New cards

What is the action of the SQL DELETE command?

Remove information from a database.

28
New cards

What is the action of the SQL UPDATE command?

Change information in a database.

29
New cards

What is the action of the SQL CREATE command?

Generate a new object in a database.

30
New cards

Does a DBMS automatically normalize your database?

No, normalization is not automatic. The database designer must do it.

31
New cards

What are the core requirements to satisfy First Normal Form (1NF)?

  1. Must have a primary key. 2. Columns must have unique names and single values. 3. Attributes must share the same data type down a column. 4. No two rows can be completely identical. 5. Data cannot be repeated across fields (no redundant/combined fields).
32
New cards

What does 'granular' mean in 1NF?

It means each individual data element is broken down so far that it cannot be split into any smaller chunks.

33
New cards

What are the core requirements to satisfy Second Normal Form (2NF)?

The table must already be in 1NF, and all partial dependencies on the primary key are removed (meaning fields must rely entirely on the primary key).

34
New cards

What are the core requirements to satisfy Third Normal Form (3NF)?

The table must already be in 2NF, and it must contain zero columns or fields that have a transitive dependence. All non-primary fields must depend directly on the primary field.

35
New cards