A451: Topic 5 - Databases Flashcards
A database is a persistent store of data. What does persistent mean?
Once data is put into the database it is stored and can be accessed again later.
What is database software used for?
To interrogate the database – asking ‘questions’ which brings up results.
To create a new database.
To update data in a database.
The data must also be stored in an …………. way so that items can be easily found.
Organised
Software that helps us to create and use computer databases is called data ………….. Software
Handling
This software helps us to ……….. the data to find the items we need and also to ………… if any of the data changes.
Interrogate, update
Define a database?
A database is a persistent collection of data or information which is held together in an organised way.
Examples of where databases are used?
- Search engines
- School Registers
Describe what is meant by a table?
A display where data is arranged in fields and Records that are ordered and organised.
Describe what is meant by a field?
A peace of data or attribute part of a record, the data is of a specific type.
Describe what is meant by record?
Collection of items of many data types or fields that relate to one record or object.
Describe what is meant by a query?
Rules that need to be satisfied when searching for data.
Example of a query?
Age < 14 AND Gender = ‘M’
What is data validation?
Ensures data entered complies with rules set, this is only the computer performing a task.
What is data Verification?
Ways of checking for accuracy, examples include making the user enter e-mail address twice and comparing to check it is correct.
Define DBMS?
Data Base Management System.
Benefits of storing a database on a central server?
- Easier to keep secure.
- Users can choose which piece of client software to access the data with
Software used by individual supermarkets to access the single central database is called ………. software.
client
Using a DBMS, the data is stored in a ……….. way which can then be accessed using different …………. software.
standard, client
The DBMS also allows the user to build …………. for easier, more user-friendly, data entry.
forms
The results of searches can be combined into ……… for more readable and informative printouts.
reports
What is not a simple attribute name?
Personal Details
We use a primary key because each key in a table needs to be:
unique.
Example of a parameter?
last_name=’Smith’
What is a Primary Key?
When we design a database we have a special field in each table which ensures every record in the table is uniquely identifiable. This field is called the: