Professional Documents
Culture Documents
Data Types
Data Types
Data Types
syllabus
Candidates should be able to: (a) identify different data types: logical/Boolean, alphanumeric/text, numeric (real and integer) and date (b) select appropriate data types for a given set of data: logical/Boolean, alphanumeric/text, numeric and date (c) describe what is meant by the terms file, record, field and key field (d) describe different database structures such as flat files and relational tables including the use of relationships, primary keys and foreign keys (e) state the difference between analogue data and digital data (f) explain the need for conversion between analogue and digital data
Description
two states only. Typically: True / False or Yes / No
a whole number
decimal number / floating point number one or more keyboard characters e.g. F15* date or time
Example
smoking / Non Smoking or Male / Female
Numeric (Integer)
Numeric (Real)
Alphanumeric
Date
subject.
Student name
flat file
A flat file is a database with only one table or a series
of unrelated tables
Relational database
Primary key is a unique identifier for a record e.g.
studentID for a student Foreign key is a primary key in another table. The foreign key is used to link to the primary key so that the tables can be related.
analogue data
a device in which data are represented by
continuously variable, measurable, physical quantities, such as length, width, voltage, or pressure.
digital data
a device that can generate, record, process, receive,
Nov 2003