1.2 Databases Flashcards
Flat file
When data is organised in rows and columns with data values being repeated. It looks like a spreadsheet. It has no related files or tables.
Field
The smallest single piece of data in a file.
Data types
- Numeric
- Text
- Alphanumeric
- Boolean
- Date
- Currency
Record
A unit of data which is made up of many fields.
Mask
When data must be entered in a specific way.
Validation
A way of ensuring that data entered is correct. Eg: • Field length check • Range check • List check • Presence check
Key field
A value which uniquely identifies each record in the table.
Relational database
It holds information in files or tables which are linked together using relationships between fields.
Redundancy
When data is repeated.
Relationships
Links that have been made between 2 tables, made using fields that are contained within both tables.
Form
This is used to capture data onscreen. It should include:
• A suitable title and logo (if appropriate)
• A prompt representing each item of data to be collected
• A suitable space to enter each item of data
• Suitable instructions and purpose of form
• A suitable font, varying in size for emphasis on headings, etc
• Colours and images to enhance the form.
Query
A facility allowing the user to search for specific information that fulfils given criteria.
Report
This can be generated using the data in tables or the results of a query. It can be grouped or sorted in different ways to meet the user’s requirements.