C03 Flashcards

(30 cards)

1
Q

Metadata:

A

Data (raw facts) that describes data (raw facts).

Metadata is data that describes other data. It is information that provides context for the data it is associated with, such as the date a file was created, the author of a document, or the title of a song.

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

Big data:

A

Very large and complex sets of data that are difficult to process and analyze using traditional data processing tools.

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

Database: + Database & Software

A

A database is a structured collection of data that is stored and organized in a way that allows for efficient retrieval, manipulation, and management of the data. Stores, organizes and manages lots of data.

Databases can be created for specific things, like a structured collection of sales data.

Software must be used to read, store, change, add or remove data from the database.

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

Database Management System (DBMS):

A

A software system that is used to interact with (create and change) and manage databases.

Provides an interface to the database and a set of tools to create, modify, and maintain the database, as well as control access to the data.

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

Database Management System: Relational Data Model

A

A type of DBMS that organizes data in tables with rows and columns, and uses a specific language, SQL (Structured Query Language), to interact with the data.

Data is organized into separate tables, each with a unique name and a set of columns. Data in different tables are easily related through the use of keys.

Allows lots of information to be stored and a way where they can be related to one another.

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

Flat file database:

A

Has one file/table with no relationships. Looks like a spreadsheet.

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

Database: Definition from Slides

A

A collection of tables plus their relationships plus metadata (which describes the structure of the database).

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

Relational Database: Tables/ ( ), ( )/ Column, ( )/ Row, Primary Key, Foreign Key.

A
  • Table/ Relation
  • Field/ column = data type.
  • Record/ row = each object.
  • Primary key = Unique identifier for each record/ row/ object. Needs to have all values present.
  • Foreign key: Represents the relationship of other objects with the “main objects.” Data values can be empty/ null.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Composite primary key:

A

Two columns in a data table represents a unique identifier.

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

Scale

A

This means that a database is getting bigger and bigger, being distributed to more computers via network.

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

Data Hierarchy:

A

Bit
Bytes: Groups of bites.
Fields (columns): Groups of bytes (columns).
Records (rows): Groups of fields.
Files/ Tables: Groups of records (rows).
Database: Groups of tables.

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

Composite primary key

A

Adding up two fields (columns) so that their values together are unique.

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

Entity

A

The “topic” of the table. The data contained in the database shown through the “titles of the information.”

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

Entity Relationship Diagram (ERD):

A

Visual representation of the structure of the database. It helps design databases.

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

Schema:

A

Provides a general description of the database presented by an ERD.

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

Normalization:

A

Organizing data in a database such that data is not redundant and that data is honest (consistent and the data is where it needs to be).

The goal of normalization is to reduce data redundancy and improve data integrity by ensuring that data is stored in only one place and is referenced by other tables as needed.

17
Q

Database manipulation:

A

The process of adding, changing or deleting data in a database by using tools such as SQL (Structured Query Language).

Some common examples of database manipulation include:

Inserting new records into a table
Updating existing records in a table
Deleting records from a table
Retrieving specific data from one or more tables using a SELECT statement
Creating, altering or deleting tables or other database structures

18
Q

SQL (Structured Query Language):

A

A language used to interact with databases to add, change or delete data.

19
Q

QBE (Query-by-Example):

A

A graphical (query) tool able to retrieve data using visualized demands. Easy to use, generates SQL. Another language for adding, changing or deleting data in a database.

20
Q

Entity Relationship Diagram: Entities & Attributes

A

Each entity (which is what we want to keep track of) represents a box, and each entity has attributes (which describes something about the identity).

Attributes that are part of many entities should become their own entities.

21
Q

Relationships:

A

Link between entities.

22
Q

Cardinality:

A

Types of relationships between entities.
Cardinalities represent business rules.

23
Q

Cardinality: One-to-One

A

Each entity in a relationship has only one related entity between them.

24
Q

Cardinality: One-to-Many (1:M):

A

One entity has many related entities and the other in the relationship only has one related entity.

25
Cardinality: Many-to-Many (M:N):
Entities on both sides have many related entities.
26
Symbols for cardinality: circle
Optional
27
Symbols for cardinality: One line beforehand
Mandatory
28
Symbols for cardinality: "Crow's feet"
Many
29
Symbols for cardinality: Line close to the box.
One
30
Transaction table:
The child has foreign keys that are primary keys in the "master tables" (the parent tables).