File formats & Compression, Cheat Sheet of Computer science

File formats & Compression Cambridge O level ICT

Typology: Cheat Sheet

2025/2026

Uploaded on 02/25/2026

shahriar-kabbo
shahriar-kabbo ๐Ÿ‡ง๐Ÿ‡ฉ

1 document

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Note: Managing Files & Compression
File formats
โ— File formats are the file types used to store the data in a file
โ— File formats define the structure and organisation of the data in a file and determine which software can be
used to read the contents of the file
โ— There are a variety of file formats used, depending on the type of file being used
Generic ๏ฌle formats
โ— Generic file formats are file types that are compatible and allow sharing between different devices and
software programs
โ— Non-generic files are types that require special software or hardware to be accessed
โ— Generic file types are needed for the following reasons:
โ—‹ Allowing the exchange of data across different types of applications
โ—‹ They are widely adopted and therefore can be accessed by many users or devices
โ—‹ Generic files can be created, edited and accessed across many different devices
Characteristics & uses of ๏ฌle formats: Generic Images Files
โ— Joint Photographic Expert Group (.jpg)
โ—‹ JPEG is a widely used image file format which uses the lossy compression method
โ—‹ Significantly reduces file size while maintaining acceptable image quality
โ—‹ JPEG files are commonly used for storing and transmitting digital photographs
โ— Portable Network Graphic (.png)
โ—‹ PNG uses lossless compression
โ—‹ PNGs preserve high-quality images whilst still providing small file sizes
โ—‹ Its transparency support allows its graphics to be placed into different backgrounds easily
โ—‹ They are commonly used for: web design, digital illustrations, logos, icons
โ— Graphics Interchange Format (.gif)
โ—‹ Used for short, animated images and simple graphics
โ—‹ Use a lossless compression algorithm
โ—‹ Maintain high image quality while keeping file sizes small
โ—‹ Used in online platforms, including social media, messaging apps, and websites
Generic Video Files
โ— Moving pictures expert group layer 4 (.mp4)
โ—‹ A multimedia container rather than a single file format
โ—‹ Can be used for video, image, and audio types
โ—‹ Uses advanced compression techniques to achieve high-quality video playback
โ—‹ The compression algorithm keeps file sizes relatively small
โ—‹ Popular for streaming and transferring videos online
โ— Quicktime Movie (.mov)
โ—‹ A multimedia container format developed by Apple
โ—‹ Used for storing video, audio, and other media data
โ—‹ Can maintain excellent image quality while retaining smaller file sizes
โ—‹ Suitable for online streaming and local playback
โ—‹ Widely used in: professional video editing, film production, multimedia projects
pf3

Partial preview of the text

Download File formats & Compression and more Cheat Sheet Computer science in PDF only on Docsity!

Note: Managing Files & Compression

File formats

โ— File formats are the file types used to store the data in a file โ— File formats define the structure and organisation of the data in a file and determine which software can be used to read the contents of the file โ— There are a variety of file formats used, depending on the type of file being used

Generic file formats

โ— Generic file formats are file types that are compatible and allow sharing between different devices and software programs โ— Non-generic files are types that require special software or hardware to be accessed โ— Generic file types are needed for the following reasons: โ—‹ Allowing the exchange of data across different types of applications โ—‹ They are widely adopted and therefore can be accessed by many users or devices โ—‹ Generic files can be created, edited and accessed across many different devices

Characteristics & uses of file formats: Generic Images Files

โ— Joint Photographic Expert Group (.jpg) โ—‹ JPEG is a widely used image file format which uses the lossy compression method โ—‹ Significantly reduces file size while maintaining acceptable image quality โ—‹ JPEG files are commonly used for storing and transmitting digital photographs โ— Portable Network Graphic (.png) โ—‹ PNG uses lossless compression โ—‹ PNGs preserve high-quality images whilst still providing small file sizes โ—‹ Its transparency support allows its graphics to be placed into different backgrounds easily โ—‹ They are commonly used for: web design, digital illustrations, logos, icons โ— Graphics Interchange Format (.gif) โ—‹ Used for short, animated images and simple graphics โ—‹ Use a lossless compression algorithm โ—‹ Maintain high image quality while keeping file sizes small โ—‹ Used in online platforms, including social media, messaging apps, and websites

Generic Video Files

โ— Moving pictures expert group layer 4 (.mp4) โ—‹ A multimedia container rather than a single file format โ—‹ Can be used for video, image, and audio types โ—‹ Uses advanced compression techniques to achieve high-quality video playback โ—‹ The compression algorithm keeps file sizes relatively small โ—‹ Popular for streaming and transferring videos online โ— Quicktime Movie (.mov) โ—‹ A multimedia container format developed by Apple โ—‹ Used for storing video, audio, and other media data โ—‹ Can maintain excellent image quality while retaining smaller file sizes โ—‹ Suitable for online streaming and local playback โ—‹ Widely used in: professional video editing, film production, multimedia projects

Generic Audio Files

โ— Moving pictures expert group layer 3 (.mp3) โ—‹ A popular audio file format known for its high-quality โ—‹ Allows for a significant reduction in file size but minimal differences in sound quality โ—‹ Compatible with a wide range of devices and audio streaming platforms โ—‹ Become the standard format for digital music distribution โ— Waveform File Audio format (.wav) โ—‹ Uncompressed audio file format known for its high lossless quality โ—‹ Preserves the original audio waveform. โ—‹ Commonly used in: music industry, broadcast, multimedia production

Generic Text Files

โ— Text (.txt) โ—‹ Used for storing plain text data โ—‹ Contains only human-readable text without any additional formatting or styling โ—‹ Extensively supported across different platforms and applications โ—‹ Can be opened and edited using a word processor or basic text editor โ— Rich Text Format (.rtf) โ—‹ RTF is a file format used for storing formatted text documents that can contain different text styles, fonts, colours, and other basic formatting elements โ—‹ RTF can be opened and edited using a wide range of text editors and word processors, making them suitable for creating documents that require basic formatting, such as letters, reports, and academic papers โ— Comma separated values (.csv) โ—‹ A plain text file format used for storing data in a structured manner โ—‹ Consist of rows and columns, with each cell separated by a comma โ—‹ Widely supported โ—‹ Easy to import and export data between different applications and platforms โ—‹ Commonly used for tasks involving data analysis, database management โ—‹ Can be easily opened and edited using spreadsheet software โ— Portable Document Format (.pdf) โ—‹ Widely used file format with its ability to retain the layout and formatting of documents across a range of platforms โ—‹ Documents contain text, images, graphics, and even interactive elements. โ—‹ Can be password-protected to stop unauthorised users from editing โ—‹ Allows users to provide a digital signature feature acting as a digital โ€˜ink signatureโ€™

Generic Compressed Files

โ— Zip (.zip): A container used for compression. Allows multiple files and folders to be compressed into a single, smaller-sized archive. Uses lossless compression algorithms to reduce file sizes/

โ— Roshal archive (.rar): A container used for compression. Similar to .ZIP, however, it uses a proprietary compression algorithm. Generally results in higher compression ratios compared to other formats. Commonly used for sharing files over the internet and when space-saving is essential

Generic Web Development & Browsing Files

โ— Hypertext Markup Language (.html): A global file format used for creating and structuring web pages. Contain text-based code that defines the structure, layout, and content of a webpage. Rendered by web browsers, allowing users to view and interact with web pages. Used across many different devices and platforms

โ— Cascading Style Sheets (.css): A file format that is attached to an HTML document. Used to determine presentation and styling such as colours, fonts, layout, and positioning, Is widely used in web development to create responsive and attractive designs.