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

Data Types

This document defines and provides examples of different data types including logical/Boolean, alphanumeric, real numbers, integers, dates, currency, and multimedia types like images, sound, and video. Logical/Boolean data can only have two values, like on/off. Alphanumeric data includes letters, numbers, and symbols in a string. Real numbers contain decimals while integers do not. Dates and currency have specific formatting conventions. Multimedia can also be stored to include things like photos, audio, and video clips.

Uploaded by

api-267050756
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

This document defines and provides examples of different data types including logical/Boolean, alphanumeric, real numbers, integers, dates, currency, and multimedia types like images, sound, and video. Logical/Boolean data can only have two values, like on/off. Alphanumeric data includes letters, numbers, and symbols in a string. Real numbers contain decimals while integers do not. Dates and currency have specific formatting conventions. Multimedia can also be stored to include things like photos, audio, and video clips.

Uploaded by

api-267050756
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.
In a computer, telephone numbers are stored as text.

Real
A real number is one which has decimal places.
Integer
Integer numbers are whole numbers, no bits, and no
decimal places.

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.

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