Data Types Flashcards
1
Q
Identify different data types
A
- logical/Boolean
- alphanumeric/text
- numeric (real: 3.142, interger: whole number
- date
- currency (2dp)
2
Q
Describe what is meant by the terms file, record, field and key field
A
- field: one piece of data (e.g. name)
- record: information about one person or one thing
- key field: used to uniquely identify each individual record.
3
Q
Describe different database structures such as flat files and relational tables including the use of relationships, primary keys and foreign keys
A
- A flat-file database is one that only contains a single table of data.
- A relational database is one that contains two or more tables of data, connected by links called relationships.
- Note that to create the relationship, we are using the key field from one table to link it to another.
- When a key field from one table appears in a different table, we call this a foreign key.
- Flat file causes a lot of data duplication.
- Relational can be split up into sensible group which can be linked together
4
Q
State the difference between analogue data and digital data
A
- Analogue signal is one which has a value that varies smoothly
- Digital is in binary
5
Q
Explain the need for conversion between analogue and digital data
A
ADC converter
DAC converter