CS401A's Midterms: Info Management Module 04 Flashcards

1
Q

is a data model that describes relationships among entities at a conceptual level with the help of ER diagrams.

A
  • The Entity Relationship Model (ERM)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

is a diagram that depicts an entity relationship model’s entities, attributes, and relations.

A
  • The Entity Relationship Diagram (ERD)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  • An entity is represented in the ERD by a
A

rectangle, also known as an entity box.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
  • The entity name is generally written in
A

capital letters and in singular form:

SINGER rather than SINGERS, and SONG rather SONGS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  • Each row in the relational table is known as an
A

entity instance or entity occurence in the ER model.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  • A collection of similar entities is known as an
A

entity set.

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

describe associations among data.

A
  • Relationship
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
  • The type of relationship between entities and is represented in an ERD by a line.
A

is called connectivity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
  • The name of the relationship is usually an
A

active or passive verb.

For example, a SINGER sings SONGs.

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

Relationships are represented by a diamond connected to the related entities through a relationship line.

The relationship name is written inside the diamond.

A
  • Chen notation:
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Entities are connected by lines, and symbols at either end describe the cardinality of the relationship between entities.

A
  • Crow’s Foot notation:
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

[ PAINTER ] — 1 — < paints > — M — [ PAINTING ]
A painter can paint many paintings.

A

Chen notation:
1 paints M
one to Many

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

illustrated using

[ MANAGER ] — 1 — < manages > — 1 — [ DEPARTMENT ]
A manager can manage only one department.

A

Chen notation:
1 manages 1
one to one

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

illustrated using && describe the cardinality of the relationship

[ PAINTER ] ||— paints —|< [ PAINTING ]

A

Crow’s Foot notation:
Exactly one — One or many

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

illustrated using && describe the cardinality of the relationship

[ MANAGER ] ||— manages —|| [ DEPARTMENT ]

A

Crow’s Foot notation:

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
  • Each entity consists a set of
    that describes particular characteristics of the entity.
A

attributes

17
Q

is mapped as the table’s primary key and is underlined.

A

The entity identifier

18
Q
  • In the original Chen notation, attributes are represented by
A

ellipse
ovals

and are connected to the entity rectangle with a line

19
Q

* In the Crow’s Foot notation,

Required attributes are in

20
Q

* In the Crow’s Foot notation,

are used to mark the primary and foreign keys.