COSC203 - PART | Flashcards
Database stuff
A database is
an integrated collection of data
A DBMS is
a system that allows you to access and manage a database, e.g. MySQL Workbench
Application program
A program that provides access to the database by sending queries and requests for data to the DBMS
Data modelling is the _____ in designing a database
first step
A data model is a _______ that can be used to describe the structure of a database.
a collection of concepts
This describes the collection of metadata that describes the logical view of a database
Database schema
This technique models the data in a high level way
Conceptual data modelling
This is a popular high level diagram
Entity Relationship Model
An entity is
A thing in the real world with independent existence
A collection of entities with the same attributes is called an…
Entity type
These are the properties of an entity
Attributes
A ____ exists whenever an attribute of one entity type refers to another entity type
relationship
A weak entity has ______ of its own
no attributes
Why would somebody allow null values in their schema?
To allow the users to have the option to not share private information
A ________ is a collection of relations
relational database
Constraints are restrictions on…
the actual values in the database state
Constraints are derived from…
rules in the mini world that the database represents
This type of constraint specifies that each value must be atomic from the domain dom(A)
Domain constraint
This type of constraint has two types of keys
Key constraints
A relation schema may have more than one of these
key constraints
If there is a key constraint, then primary values can’t be what?
NULL
T/F: NULL values can be unique
False
This type of constraint is annoying as hell to delete
Foreign key
Reflexivity, augmentation, transitivity, are all part of…
Armstrong’s axioms