Chap 14 - Databse design Flashcards
Database
+ Collection of organized data
+ Used by many different computer applications
+ Manipulated by database management systems (DBMS)
DBMSs
Database management systems, a specialized software packages that manipulate data in database.
Significance of database
- Critical information
- Volume
- Distribution
- Privacy
- Irreplaceable data
- Need for accuracy
- Internet uses
- Big Data
- Storing Data in Databases
- Data Hierarchy
the three important concepts of storing data in databases
- the data hierarchy
- record structures
- database keys
data hierarchy in ascending order is:
data field -> record -> file -> database
the first level in the data hierarchy is?
data field
data field (other names: attributes, column, or field)
information that describes a person, event, or object in the database
a database record
+ the second level of the data hierarchy
+ combines data fields to form a complete record
+ stores all of the information about one file entity
a file (table in Access)
+ the 3rd level of the data hierarchy
+ a set of common records forms a file
The part of the data hierarchy that represents one instance of an entity is a
a. field
b. record
c. file
d. database
B. record
Record Structures
+ Data fields in each record of a database table
+ Structure is usually fixed
Database keys
- primary key
2. foreign key
Primary key
Unique to each record
Which of these would not be a good primary key for a file of employee records?
a. Social Security Number
b. last name
c. company employee number
d. all of these would make equally good primary keys
B. last name
Foreign keys
+ Enable referencing of one or more records
+ Matches primary key of related table
Additional Database Issues
\+ Cost \+ Administration Database Administrator \+ Documentation Includes a variety of descriptions Structures, Contents, Security Features Data Dictionary Metadata
Database Administrator
supervises the design, development, and installation of a large database system and is also the person responsible for maintaining, securing, and changing the database
All of the following are items within the data hierarchy except:
a) Database
b) Data field
c) Record
d) all of these items are part of the data hierarchy
D.
The data item which uniquely identifies a computer record in an AIS database table is called the:
a) Pointer address
b) Primary key
c) Employee number
d) Header label
e) Foreign key
B.
The best choice for the primary key in an “Employees” table would be his or her:
a) Last name
b) First name
c) Phone Number
d) Employee number
D.
The foreign key in one database table will always be a _____ key in a linked table.
a) Secondary key
b) Domestic key
c) Primary key
d) all of these are always true
C.
A data dictionary:
a) is a book defining computer terms
b) is a reference document describing how accounting data are collected
c) is usually a computer file that maintains descriptive information about the data items of an accounting information system
d) all of the above
C.
Data Dictionary
describes the data fields in each database record