The document describes different types of data: logical/boolean data which can only be true or false; alphanumeric and text data which includes letters and numbers; numeric data which includes integers and real numbers; and date data which can be written in various formats including dd/mm/yyyy.
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
68 views
Types of Data
The document describes different types of data: logical/boolean data which can only be true or false; alphanumeric and text data which includes letters and numbers; numeric data which includes integers and real numbers; and date data which can be written in various formats including dd/mm/yyyy.
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1
Types of Data
LOGICAL / BOOLEAN DATA
Boolean data can have only two values: true or false. This works if there are only two possible responses to a question or situation. This is made most use of when carrying out a search in a database or on the internet. In these cases, logical operators are used. They are based on true or false logic.
ALPHANUMERIC AND TEXT DATA
The letters A to Z on a standrad keyboard are reffered to as text and the letters A to Z plus the digits 0 to 9 are reffered to as alphanumeric (some also include other keyboard characters such as @ & $ as part of the alphanumeric character set). e.g. The password "MIKE62" is alphanumeric. can be in two froms: integer (whole number) or real (containing decimals). It can also include zero (0) nad negative numbers.
NUMERIC DATA
DATE DATA y y y y y y
Date can be written in many forms: dd/mm/yyyy dd/mm/yy dd = day dd.mm.yy mm = month yyyy-mm-dd yyyy/yy = year dd mmmm yyyy dd-mmm-yyyy