Basic Terminology: E/R, RA, Database, File Systems Flashcards

1
Q

What are three other names for row?

A
  • occurrence, example (E/R modeling)
  • record (file systems)
  • tuple (relational algebra)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a domain?

A
  • a “vertical part” in a relation (relational algebra term)
  • aka column / attribute / field
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a record?

A
  • a “horizontal part” of a file (file system term)
  • aka row / occurrence, example / tuple
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 related data
  • represents some aspect of the real world (miniworld)
  • a logically coherent collection with some inherent meaning
  • designed, built, populated with data for a specific purpose, with intended users and applications of interest
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the schema of a database?

A
  • the skeleton structure that represents the logical grouping of the entire database
  • defines a database’s entities and the relationships among them
  • a set of formulas (sentences) called integrity constraints imposed on a database
  • specified during design, not expected to change often
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a file?

A
  • aka table / relation / entity
  • file system term for “the whole thing”
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are three other names for column?

A
  • attribute (E/R modeling)
  • field (file systems)
  • domain (relational algebra)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is an entity?

A
  • “the whole thing” in E/R Modeling
  • aka table / file / relation
  • represents a real-world object or concept (e.g., employee or project)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is an attribute?

A
  • a “vertical part” in an entity in E/R Modeling
  • aka column / domain / field
  • represents some property of interest that further describes an entity (e.g., employee’s name or salary)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a relation?

A
  • “the whole thing” in relational algebra terms
  • aka table / entity / file
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a tuple?

A
  • a “horizontal part” in a relation (relational algebra term)
  • aka row / occurrence, example / record
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the relational data model?

A
  • data model which represents a database as a collection of tables, where each table can be stored as a separate file
  • all data is represented in terms of tuples, grouped into relations
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are three other names for table?

A
  • entity (E/R modeling)
  • file (file systems)
  • relation (relational algebra)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is an occurrence or example?

A
  • a “horizontal part” of an entity in the E/R Model
  • aka row / tuple / record
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is data?

A

known facts that can be recorded and that have implicit meaning

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

What is a field?

A
  • a “vertical part” of a file (file system term)
  • aka column / attribute / domain
17
Q

How do you state a “relationship sentence”?

  • give a template sentence for a relationship between 2 entities
  • state what options you have (crossbar, arrowhead)
A

Each __(entity)__ must be / may be __(relationship)__ one or more / one and only one __(entity)__.

  • must be (if there’s a cross bar)
  • *may be** (no cross bar)
  • one or more (if there’s an arrowhead/branch)
  • *one and only one** (otherwise)