Test 1 (Notes) Flashcards

1
Q

What’s the smallest unit of data on computing?

A

A bit

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

In a data repository, you have:

A
  • Tables (which represents entities/events)
  • Columns rows
  • DB
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the input of conceptual modeling or conceptual schema?

A

User requirements

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

What are the steps to conceptual modeling?

A
  • Conceptual Modeling (ER model)
  • Logical Modeling (Relation)
  • Physical Model
  • Implementation
  • Testing and Installation (Target DBMS Selection)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

In conceptual modeling, there are two important things we have to do, what are they?

A
  • Defining data objects (also known as entities)
  • Documenting business rules
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a degree of a relationship?

A

Number of entities that participate in a relationship. Ex - binary, unary, etc.

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

What is a cardinality of a relationship?

A

Number of instances in an entity. Ex - one-to-one, one-to-many, many-to-many, etc.

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

What’s a super type entity?

A

A generalization of an entity (ex - vehicle)

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

What’s a sub type entity?

A

Specialization of a vehicle (ex - SUV, truck, etc.)

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

What is a relation?

A

Single data structure (ex - table)

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

What is an attribute?

A

Named column of a table

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

What is a tuple?

A

A row of relation

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

What is a degree?

A

Number of columns found

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

What is a cardinality?

A

Number of tuples found

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

What is domain?

A

Strings or integers

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

What are the three components of a relational model?

A
  • Data structure
  • Data integrity
  • Data manipulation
17
Q

What is entity integrity constraint?

A

Not accepting missing (null) values for PK

18
Q

What is key constraint?

A

PK not taking duplicate values

19
Q

What is referential integrity constraint?

A

If B references A then A must exist

20
Q

What 3 enforcement options for referential constraint?

A
  • Restriction
  • Cascading
  • Null