Chapter 3 Flashcards

1
Q

Attribute meaning ?

A

Used to describe entity

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

Types of attributes:

A

Simple(can only be one way or the other), composite( may have several components e.g address), multi value(entity may have multiple values for that attribute)

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

What is a key attribute?

A

An attribute which is unique to that one.

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

Composite key?

A

Can be unique but more parts to it e.g a number plate)

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

Multiple key?

A

More than one key. Entity that has more than one thing that makes it unique

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

Types of constraint on relationship.

A

Cardinality, specifies maximum participation : 1to1 1to m to one. M to n
Existence dependency: minimum participation. Zero and one or more

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

What is a recursive relationship?

A

Relationship between the same entity type in distinct role.

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

What is weak entity

A

Entity dosent have key attribute.

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

Data modelling tools advantage and disadvantage.

A

Advantage: easy user interface,
Negative mostly respreseny relation instead of ER.

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

What’s the difference between er and err?

A

Er dosent support specialization and generalization

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

What is a superclass?

A

The type of entity that everything goes back to. Employee would be superclass for secretary,technician.

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

Is a relationship is between?

A

A subclass and superclass

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

What is specialization?

A

Defining a set of subclasses of a superclass by a distinguishing characteristic of the entity in superclass.

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

Generalization

A

When several classes with common feature share a feature we generalize into a superclass: e.g car, truck become subclass to super class vehicle

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

What is Heirachy in err

A

When subclass can only have 1 superclass single inheritance.

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

What is lattice in err?

A

When subclass can Moore than one super class. Multiple inheritance

17
Q

What are tuples?

A

Rows are called tuples

18
Q

What is in colonm header of relational model?