• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/95

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

95 Cards in this Set

  • Front
  • Back
Attribute
Characteristic of an entity
Entity
Anything, person, place, thing, event, about which data are to be collected and stored
Relationship
Association among entities
Many to many relationship
M:M
One to many relationship
1:M
One to many
One painter...many paintings

Painter=1
Paintings=many
Painter paints painting=
1:M
Many to many relationship
M:N

Student takes many classes
Each class taken by many students
M:N = student take class
One to One relationship
Each store managed by one employee

Manager, is an employee manages only one store
Relationships
Multidirectional
Constraint
Restriction placed on data
Data model
Relatively simple representation, usually graphical
Model
Abstraction of real world event or bject
Business rules
Breif, precise, unambiguous description of policy procedure, or principle w/in an organization
Business rules
Must be in writing and updwated
Properly written business rules
Define entities, attributes, relationships and constraints
Business rules descri,be
Distinguishing characteristics of data as viewed by the company
Not all business rules can be modeled
Such rules can be enforced w/ software
Noun
Will translate into entity in model
Verb
Will translate into relationship among entities
Properly identify relationship type
How many instances of B
Related to one instance of A
Identify relationship
How many instances of A related to B
Hierarchy.al model
1960s
Heirarchial model
Manage large amounts of data for complex projects
1960s
Segment
Equivalent of a file systems record type
Hierarchical system
Fundation of current models
Network model
Created to represent complex data relationships more effectively than heirarchical models
Conference on data systems
Languages CODASYL
Created database task group DBTG
1960s
dBTG report
Schema
Conctional organization of entire database
DBTG
Subschema
Portion of database "seen"
DBTG
Data management language DML
Defines environment in which data can be managed
Data definition language DDL
Enables database admin to define schematic components
Relational model
1970s
Relational model foundation
Math concept known as relation
Relation
Table
Relation/table
Matrix of intersecting rows and columns
Row
Tuple
Column
Represents attribute
Relational database management system
RDBMS
Same functions as heirarchal and network but easier o implement and understand
Relational diagram
Representation of relational database entities, attributes within entities nd relationships between entities
Structured query language SQL
Allows user to specify what must be done without specifying how it must be done
RDBMS
Uses SQL
End user SQL
Three parts
User interface
Set of tables
Engine
End user interface
Allows end user to interact with data
Collection of tables stored in database
Relational database, all data perceived to be stored in tables
SQL engine
Largly hidden from end user
SQL engine executes queries or data requests
Entity relationship model ERM
Graphical tool for data mod"ing
Chen
ERM data Odell 1976
Er models
Normally represented as
Entity relationship diagram
ERD
ER model based upon
Entity and relationships
Connectivity
Labels relationship parts
Entity instance
Entity occurrence
Row in relational table
Chen notation
Original
Crows feet notation
More current
Crows feet
Three part symbol to represent the many side of relationship
Chen notation
Relationships represented by a diamond connected to related entities through relationship line

Name written inside diamond
Object oriented model OODM
Dats and relationship contained in single structure known as
Object
OODMDATS
Basis for object oriented database management system
OODBMS
OODMDATS
Semantic data model
Smanic indicates meaning
Object oriented
oo
Object described by factual content
Unlike an entity
Object excludes information about relationships between facts within an object
+
Information about its relationship w/ other objects
object
abstraction of real world entity
object represents
only one occurence of an entity
attributes
describe properties of an object
objects w/ similar characteristics
grouped as class
class
collection of similar objects
shared structure(attributes)
shared behavior(methods)
class
different from entity set
contains set of procedures(methods)
method
represent real world actions
(finding, changing)
equivalent to procedures
oo methods
define objects behavior
class organized
class heirarcy
upside down tree... each class one parent
inheritance
ability of an object w/i class heirarchy to inherit attributes and methods of class above it
uml
unified model language
oo
based on diagrams and symbols
used to graphically model system
class diagrams
represent data and their relationships w/i larger uml
another semantic model
ERDM
extended relational data model
4 complex applications
DBMS
BASED ON ERDM
DESCRIBED AS
object/relational database systems
internet
changed role and scope of database market
ANSI/SPARC
ANSI
american national standards institute
three levels of data abstraction
external
conceptual
internal
external model
end users view of data environment
external schema
specific representation of an external view
conceptual model
represents global view of entire database as viewed by entire org.
conceptual model integrates
all external views
entities, relationships, constraints, processes
into single global view of entire database

conceptual schema
software independence
model does not depend on dbms software
hardware independence
model does not depend on hardware
logical design
task of crating conceptual data model could be implemented in any dbms
internal model
database as seen by dbms
internal schema
specific representation of internal model using database constructs
software dependent
internal model depends on specific software
logical independence
can change internal model w/o affecting conceptual model
physical model
lowest level of abstraction
describes how data is saved
physical independence
can change physical model w/o affecting internal model
data model
abstraction of complex real world data environment
heirarchial and network models
early models no longer used
relational model
current database implementation standard
object oriented data model
oodm
uses objects as basic modeling structure
relational model
adopted oo
becomes
extended relational data model
data modeling requirements
function of different data views
and
level of abstraction