Chapter 8 Flashcards

(15 cards)

1
Q

True or false: Most databases that you will ever have access to are based on a language called “Structured Query Language”?

A

True! It’s also abbreviated as SQL

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

DBMS?

A

Database management system

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

Does SQL pay attention to capitalization or white space (between words or lines)?

A

No.

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

What is conventional to capitalize on SQL?

A

Statements such as: WHERE, SELECT, FROM. And functions (such as SUM, AVG, and MAX) because it makes it more readable for humans, just not necessarily the computer.

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

What’s true regarding information quality?

A

While more information quality is better, its optimal to act to a certain level of “poor quality” if achieving higher quality information would cost more than the additional quality is worth.

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

What’s true about attributes?

A

Attributes describe the different characteristics of the things we collect information about.

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

What’s the most likely key for an associative table?

A

One that connects two different tables (using their primary keys as foreign keys)

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

What’s an entity?

A

It’s a table! And an attribute is a column of the table. It contained characteristics of the table’s information.

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

What’s the different between a primary and a foreign key?

A

A primary key is a unique identifier on a row of the table. A foreign key is a primary key of one table that shows up on another table.

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

What’s a composite key?

A

A primary key that consists of two or more attributes (columns) that together uniquely identify a record within a table.

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

What’s an artificial key?

A

It’s a system-generated primary key, such as an “Auto-Increment” ID, that has no business meaning and exists solely to uniquely identify a row.

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

What’s a Semantic Key?

A

A primary key derived from existing data that carries actual meaning.

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

In ERD, what does Cardinality represent?

A

The nature of the relationship between tables

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

What is the purpose of an associative table in a database?

A

To establish unique instances for many-to-many relationships

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

Which of the following best describes a composite key?

A

A unique identifier made from multiple columns

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