Test 1 Flashcards

(35 cards)

1
Q

What is an attribute?

A

They are a name and a data type for data

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

database is a tree-like hierarchy, folders with subfolders

A

Hierarchical

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

database is one big hashmap

A

Key-Value Pair

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

What is the minimum number of attributes in a relation?

A

0 called an anti table

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

A relation can be pictured as a…

A

table

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

a set of attributes whose values with always uniquely identify a tuple in the relation

A

candidate key

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

constraints to prevent inconsistencies

A

Data Integrity

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

defines what sort of data is stored

A

Data Definition Language

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

a super-set of a candidate key

A

super-key

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

The columns of a table are called …

A

attributes

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

a set of possible values

A

domain

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

What are the candidate keys for a tuple with no attributes?

A

The empty set

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

Every true piece of information is in the database

No false data is in the database

Using null violates the closed universe assumption

Null represents missing information

A

Closed universe assumption

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

What is the maximum number of attributes in a relation?

A

No maximum

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

What is a domain

A

A set of values and a data type

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

accessing and processing data

A

Data Manipulation Language

17
Q

most common form of database

18
Q

prevents unauthorized access or modification of data

A

Data Security

19
Q

Each attributes has an associated

20
Q

DBMS provide..

A

Data Definition Language,
Data Manipulation Language,
Data Security,
Data Integrity

21
Q

Tables are organized into

22
Q

a seperation of how data is physically stored and organized from how data is logically accessed

A

Data Abstraction

23
Q

A relation with 0 attributes, how many tuples can there be in that relation?

24
Q

The rows of a table are called

25
Who invited the relational model?
Edgar Codd
26
used for foreign keys in other relations
primary key
27
database is composed of well-defined relations/tables that reference each other
Relational
28
The operation where we reduce a relation full of data to those rupees in that meet a particular criteria
Selection
29
The operation where a relation is reduced to a specified set of its attributes
Projection
30
Combines two relations by combining their columns, then associations the data in every possible combination
Cross join(Cartesian product)
31
Combining products and selection
Inner join
32
A join that selects for equality on columns that have the same name on both relations and then applies a projection to eliminate duplication
Natural join
33
A relation with all the tuples of both relations
Union
34
A relation containing those tuples which can be found in both relations
Intersection
35
A relation with all the tuples in a except those that are also in b
Difference