TechKnowSurge
CompTIA Tech+ 1.2 CompTIA Tech+ 2.5 CompTIA A+ Core 2 1.3 CompTIA A+ Core 2 1.4
VideoComputeFree

Compression

File compression reduces storage requirements by encoding data more efficiently, replacing repetitive or redundant information with compact representations. Windows supports compression both as a native file attribute and through the ZIP archive format.

Complete this video to capture a CTF flag worth 1 point.

About this video

File compression is a method of reducing the amount of storage space a file requires by encoding its data more efficiently. Rather than storing every value individually, compression algorithms identify patterns and redundancies that can be represented in a more compact form. A straightforward example is run-length encoding, where a long sequence of repeated values is replaced by a single count paired with the value itself, dramatically cutting the volume of data that needs to be stored or transmitted. Graphic files illustrate how significant these savings can be. An uncompressed bitmap stores color information for every pixel independently, which at 24 bits per pixel quickly adds up across even a small image. If that image uses only a handful of distinct colors, each pixel can instead be represented by a short index code pointing to a defined color table, reducing per-pixel storage from 24 bits to as few as 2 bits and cutting overall file size substantially. This principle underlies many of the compression schemes used in modern image formats. On Windows, compression can be applied in two practical ways. A file's Advanced properties include a compression attribute that, when enabled, instructs the operating system to store the file in a compressed state transparently. Alternatively, files can be placed into a compressed ZIP archive, a portable format that bundles and compresses one or more files into a single smaller package suitable for storage or transfer. Both methods achieve the same fundamental goal of reducing the disk space a file or collection of files consumes.

What you'll learn

What's covered

File Compression

Aligned to

CompTIA Tech+
1.2 Compare and contrast fundamental data types and their characteristics.
2.5 Compare and contrast storage types.
CompTIA A+ Core 2
1.3 Given a scenario, use features and tools of the Microsoft Windows 10/11 operating system (OS).
1.4 Given a scenario, use the appropriate Windows settings.

Key terms

Compression
The process of reducing file size by encoding data more efficiently, associated with formats such as .zip, .rar, and .tar.
File Attribute
A metadata flag assigned to a file or folder that describes its properties or controls how the operating system handles it.
Compressed ZIP Folder
A container in Windows that stores one or more files in a compressed format to reduce their total size.

Topics

File Compression Zip Archives Windows File Systems Data Storage Operating Systems

About TechKnowSurge

TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.

Explore free tools and programs →