Topic 4: Database Applications Flashcards
What is a database
A database is a collection of related or structured information held on a computer
What are the two types of databse
Flat File Database
Relational Database
What is a flat file database & why are they problematic
where all the information is stored in one table, these can be problematic as they
increase data redundancy
decrease data integrity
what is data redundancy & data integrity
Data redundancy is data repeated unnecessarily
Data integrity is data less likely to be accurate or is unreliable as the same data is stored several times increasing the likelihood of errors
What is a relational databse & why is it more effecient than a flat file
A relational database contains more than one table, and the tables are linked through common fields.
It is efficient as
Data redundancy is reduced - data that is reapated unnecessarily is reduced
Data integrity is greater - data is more likely to be correct and reliable
Queries and Reports - Can be created using more than one table
What is a table
A structure where data is organised in rows and columns
What is a record
A record is a collection of data items which may be of different data types, all relating to the individual or object that the record describes.
What is a field
A field is a part of a record designed to hold a single data item of a specified type
What is a primary key field
A key field uniquely identifies a record
What is the foreign key of the second table
when the primary key from one table appears as a field in a second table. it is known as a foreign key of the second table
What is a composite key
One that consists of t wo or more fields
What is data validation
the automatic checking of data when it is entered in a computer system
What is
data type check
range check
presence check
length check
format check
check digit
Type check
when data entered must comform to a certain type of charachter
Range check
Ensure data entered is between an upper and lower limit
Presence check
To check the data has been entered into a field
Length Check
When entered data must be a certain number of charachters
Format check
allow the user to specify exactly what format the data being entered should take
What is a data type
A formal description of the kind of data being stored or manipulated within a program or system, for example alphanumeric, numerical or boolean.
What is
Text (or string or alphanumeric)
Number
Date/Time
Currency
Boolean
Autonumber
Calculated
Lookup wizard
Text
Text and data that is a mixture of text and numbers
Number
Numerical data that requires a mathematical calculation.
Date/Time
Dates and times
Currency
Monetary data such as item price
Boolean
The data entered contains one of two possible values such as yes/no or true/false