Week 1 Flashcards

(61 cards)

1
Q

What data model is often use in the real world?

A

relational data model

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

What falls under the umbrella of data management?

A

collection, extraction, cleaning, transformation

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

What falls under the umbrella of data analysis?

A

querying, modeling, visualizations

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

What is a database?

A

a collection of files storing related data

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

What does DBMS stand for?

A

database management system

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

What is a database management system?

A

a big program written by someone else that allows us to efficiently manage a large database that will persist over time

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

What are some examples of DBMSs?

A

MSSMS, SQLite, PostgreSQL

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

What must data be in order for it to outlive the application?

A

it must be persistent

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

What is a DBMS implementor?

A

builds the database management systems

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

What is a DB designer?

A

establishes schema

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

What is a DB administrator?

A

loads data, tunes system, and keeps the whole thing running

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

What is a Data Engineer?

A

builds and maintains data pipelines, infrastructure, and storage

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

What is a DB application developer?

A

writes programs that query and modify data

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

What does a Data Analyst do?

A

data mining/machine learning

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

What is a data model?

A

conceptual/mathematical way for describing the data

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

How are semi-structured data models represented?

A

as trees

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

How are key-value pair models represented?

A

by NoSQL systems

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

How are relational data models represented?

A

as relations

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

What is an instance?

A

the actual data

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

What is a schema?

A

describes what data is being stored

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

What is a query language?

A

how we retrieve and manipulate data

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

What is another name for relations?

A

tables

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

What is a relation, mathematically?

A

a set of tuples

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

Order of the rows is __________.

A

unspecified

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What are two other names for columns?
attributes and/or fields
26
What is true about each attribute in a relational data model?
each one has a type
27
What is unique what about attribute types in relational data models?
they are statically and strictly enforced
28
What is another way we will commonly see "# of attributes"?
"degree" of a relation
29
What is a key?
one or more attributes that uniquely identify a record
30
While a table may have multiple keys, it can only have one...
primary key
31
What is a foreign key?
it is an attribute(s) whose value is a key of a record in some other relation
32
What is another word for foreign key?
semantic pointer
33
How can we usually tell if an attribute is a key?
it will be underlined
34
What does SQL stand for?
Structured Query Language
35
Tables are NOT ________.
ordered
36
What does it mean when we say that tables are flat?
they have no nested attributes
37
What is physical data independence?
tables do not prescribe how they are implemented/stored on disk
38
What is row major?
an array of objects
39
What is column major?
one array per attribute
40
What do we know about a relation if it is in first normal form?
it is flat
41
What is another way we say rows?
records
42
What are relational data models usually used for?
transaction systems and business intelligence
43
What is are semistructured data models used for?
content management, web APIs, IoT
44
When should we used a semistructured data model?
when structure evolves over time
45
When do we want to use key-value data models?
caching, real-time applications
46
What does a key-value data model prioritize?
simplicity and performance for lookups
47
When do we use graph data models?
social networks, recommendation engines, fraud detection, network analysis
48
What are graph data models?
data is represented as nodes and edges; ideal for modeling and querying relationships between entities
49
What are some graph data model names?
neo4j, amazon neptune
50
What is an array/matrix data model?
data is represented as multi-dimensional arrays or matrices, suitable for numerical and scientific computations
51
What are some use cases for array/matrix data models?
scientific computing, high-dimensional data, storing and processing training data for models
52
What are dataframes?
data is structured as a two-dimensional tabular format and used for in-memory computations
53
What are some examples of dataframes?
apache spark, pandas
54
What are dataframes used for?
EDA, big data analytics, machine learning pipelines, business analytics
55
What is a relational schema?
describes the relation's name, attribute name and their domain
56
What is another name for domain?
metadata
57
What are integrity constraints?
a condition specified on a database schema and restricts the data that can be stored in an instance
58
What is a key constraint?
a statement that a minimal subsets of attributes uniquely identify a tuple
59
What is a foreign key constraint?
if one of the relations is modified then the other one should be checked for consistency
60
Tables are _______ collections of data.
unordered
61
The ____________ has no impact on the functionality of the database.
order of rows