Key Definitions Flashcards
(141 cards)
Flat File
A set of single tables with no links between them.
(Relational)
database
A set of related tables with links between them
Primary key
A field or combination of fields that uniquely identify a record in a table
Foreign key
A field that appears in a table that is the primary key of another table and is used to form a link between
the two tables.
Indexes
database
Indexes are separate data structures that are set up to improve access time to records
First normal form
This is a database where tables contain no repeating attributes or repeating groups of attributes.
Second normal
form
This is a database where tables contain no repeating
attributes or repeating groups of attributes and no partial dependencies.
Third normal form
This is a database where tables contain no repeating
attributes or repeating groups of attributes, no partial dependencies and no transitive dependencies.
Redundant Data
Data that is stored repeatedly
Inconsistent Data
Multiple copies of data which are supposed to be the same but are in fact different
Algorithm
A finite set of instructions designed to solve a specific task
Procedure
A set of program instructions which perform a specific
task and can be called by another program.
Parameter
A variable that can be passed to or from a procedure
Passing by
reference
The address of the variable is passed to the
procedure.
Passing by Value
A local copy of the variable is created for the procedure and discarded afterwards.
Recursive
Algorithm
An algorithm that calls itself and has a base case to allow it to terminate.
Database
Management
System
A piece of software which controls access to the data in a database, acting as an interface between the data and the application programs.
Data inconsistency
When two copies of the same data items (redundant
data) are supposed to be the same but aren’t e.g. if one has been updated and the other hasn’t
Data Redundancy
When the same data is stored more than once.
Program-data
dependence
When the structure of the data within a program is defined as part of the program
Program-data
independence
When data is separate from the programs that use that data
Data Dictionary
Holds data about the database
Database
administrator
A database administrator is the person in a company who is responsible for the structure, security and management of the database system and the data in it.
Record Locking
A process to prevent access by others to a record while it is being updated