Data Types

Why do we need different data types?

Most programming languages require the programmer to declare the data type of every data object, and most database systems require the user to specify the type of each data field. The available data types vary from one programming language to another, and from one database application to another, but the following usually exist in one form or another.

Binary – explain basis for all computer files
A file stored in binary format. A binary file is computer -readable but not human-readable. All executable programs are stored in binary files, as are most numeric data files. In contrast, text files are stored in a form (usually ASCII) that is human-readable.

Text files

txt – "Text file" refers to a type of container, while plain text refers to a type of content. Text files can contain plain text, but they are not limited to such.
rtf – RTF is readable by most word processors. RTF files support text style formatting, as well as images within the text. RTF files can be converted into a different format by changing the formatting selection when saving the word document.

doc – DOC is a document file format used by Microsoft Word, also used with most word processing software, including OpenOffice. DOC stands for DOCument file.

docx – A .docx file is a Microsoft Word XML Format Document file, a kind of Microsoft Word document. Starting in Microsoft Office 2007, .docx files are the default. You may have noticed when you open older .doc files made in Word 2003, that they opened in "Compatibility Mode".

odt - The .odt file extension is given to office document text files that have been created in the OpenOffice and StarOffice word processing applications. These applications use the the OASIS OpenDocument XML standard, which allows users to use documents across multiple operating systems and applications.

Graphic files

bitmap – The BMP format stores color data for each pixel in the image without any compression.
gif – is a file extension for an often animated raster graphics file and is the second most common image format used on the World Wide Web after JPEG.

jpg/jpeg – This is the right format for those photo images which must be very small files, for example, for web sites or for email.

png – is a file format for image compression that, in time, is expected to replace the Graphics Interchange Format (GIF) that is widely used on today's Internet.

Tiff - TIFF is a computer file format for storing raster graphics images, popular among graphic artists, the publishing industry, and both amateur and professional photographers in general.

Data files

txt – "Text file" refers to a type of container, while plain text refers to a type of content. Text files can contain plain text, but they are not limited to such.

csv – A CSV is a comma separated values file, which allows data to be saved in a table structured format.

xls – XLS is a file extension for a spreadsheet file format created by Microsoft for use with Microsoft Excel.

Ods - ODS is a spreadsheet file format used by OpenOffice/StarOffice. ODS is an OASIS-formatted file, which is expected to become the standard file format for sharing documents.

Video files

gif – is a file extension for an often animated raster graphics file and is the second most common image format used on the World Wide Web after JPEG.

mpg/mpeg – MPG files are video files in MPEG format, a multi media format standardized by the Moving Picture Experts group (MPEG). There are multiple MPEG formats: MPEG-1, MPEG-2 and MPEG-4.

wmv – Windows Media Video (WMV) is a file type which can contain video in one of several video compression formats developed by Microsoft.

mov – Movie (QuickTime for Microsoft Windows) MOV is an MPEG 4 video container file format used in Apple's Quicktime program.

Flv - There are two different video file formats known as Flash Video: FLV and F4V. The audio and video data within FLV files are encoded in the same manner as they are within SWF files. The F4V file format is based on the ISO base media file format and is starting with Flash Player 9 update 3.

Audio files

wav – a format for storing uncompressed audio files.

wma – WMA is a file extension used with Windows Media Player. WMA stands for Windows Media Audio. WMA is both an audio format and an audio codec. WMA was intended to be a competitor for the MP3 and RealAudio audio formats.

mp3 - MP3 (MPEG-1 Audio Layer-3) is a standard technology and format for compressing a sound sequence into a very small file (about one-twelfth the size of the original file) while preserving the original level of sound quality when it is played. MP3 provides near CD quality audio.

PDF – Adobe Portable Document Format

Why is pdf required

It’s a way to control documents, web use it why we use it today.

Benefits of pdf files

Unalterable files when downloaded, effectvely locking them to any change. Sends everything in one way, the same way the owner of the document created it.

Uses for pdf files

Over the internet file transfer, and easy accessible from any device. Used for brochures, tax returns and anything used as a form so you can send the form the same way it was sent to you with you only filling in certain details within the pdf. Can also be documents sent by companies who don't want you to alter the document.


Ford Mustang PDF

Notes

In all your explantions you should consider the following:

File sizes – A file size is the measure of space a file takes on a storage medium such as a computer hard drive. File sizes can be measured in bytes (B), kilobytes (KB), megabytes (MB) and Gigabytes (GB) etc.

compression Data compression is particularly useful in communications because it enables devices to transmit or store the same amount of data in fewer bits.

conversion – Data conversion is the conversion of computer data from one format to another.

Exchangeabilty – To be able to exhange file types from different operating systems.