0% found this document useful (0 votes)
34 views

Data Types

Logical or Boolean data can have only two values: on or off. Alphanumeric data includes letters, numbers, and symbols, and is also known as strings or text. It is used to store things like telephone numbers. Real numbers have decimal places, while integers are whole numbers without decimals. Dates can be stored in different formats, such as DD/MM/YYYY in the UK and MM/DD/YYYY in the US. Other data types include currency, images, sound bites, and video clips.

Uploaded by

api-267050715
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views

Data Types

Logical or Boolean data can have only two values: on or off. Alphanumeric data includes letters, numbers, and symbols, and is also known as strings or text. It is used to store things like telephone numbers. Real numbers have decimal places, while integers are whole numbers without decimals. Dates can be stored in different formats, such as DD/MM/YYYY in the UK and MM/DD/YYYY in the US. Other data types include currency, images, sound bites, and video clips.

Uploaded by

api-267050715
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Data types

Logical or Boolean

Data stored in boolean form can only be one of two available values.
Think of a light switch its on or off.

Alphanumeric

Alphanumeric data is any combination of letters, numbers and symbols

(@#|\/>< etc.)
This data type is also known as a string or text.
Alphanumeric or text/string is used to hold telephone numbers.
In a computer, telephone numbers are stored as text.
This is because the telephone number contains a leading zero and spaces.

Real

A real number is one which has decimal places.


E.g. 12.3

Integer

Integer numbers are whole numbers, no bits, no decimal places.


E.g. 9999999

Date

Dates can be stored in many different forms.


In the UK we write the date in the form DD/MM/YYYY e.g. 31/12/2014.
In the US, they use the form MM/DD/YYYY e.g. 12/31/2014.

Other

Currency Software will automatically add or $ to data and include

decimal places. E.g. 22.99.


Images/Sound Bites/Video Clips Some databases will allow an images,

sound and video clips to be stored.


For example a photo of a criminal and their fingerprints on a crime
database.

You might also like