---
title: "Redundancy — AP CSP Definition & Exam Guide"
description: "Redundancy is including extra components or paths so a system keeps working when parts fail. Key to Internet fault tolerance and data compression in AP CSP."
canonical: "https://fiveable.me/ap-comp-sci-p/key-terms/redundancy"
type: "key-term"
subject: "AP Computer Science Principles"
unit: "Unit 2"
---

# Redundancy — AP CSP Definition & Exam Guide

## Definition

In AP Computer Science Principles, redundancy is the inclusion of extra components that can mitigate failure if other components fail (EK CSN-1.E.2), like multiple paths between devices on the Internet. In data compression, redundancy also means repeated data that compression algorithms can squeeze out.

## What It Is

Redundancy is one of those terms that does double duty in AP CSP, and the exam loves both meanings.

In **[Unit 4](/ap-comp-sci-p/unit-4 "fv-autolink") (Computer Systems and Networks)**, redundancy is a good thing. It means building extra components into a system so that if one part fails, another can take over. The CED defines it directly in EK CSN-1.E.2 as "the inclusion of extra components that can be used to mitigate failure of a system if other components fail." The Internet is the classic example. [Network redundancy](/ap-comp-sci-p/key-terms/network-redundancy "fv-autolink") means having more than one path between any two connected devices, so if a router or cable dies, data just takes a different route. That's what makes the Internet fault-tolerant.

In **Unit 2 (Data)**, redundancy flips meaning. There, it refers to repeated or predictable patterns in data, like "AAAAAAA" in a file. Compression algorithms work by finding and removing that redundancy. Per EK DAT-1.D.3, how much a file shrinks depends on how much redundancy the original data has and which algorithm you use. Same word, two contexts. In networks, you add redundancy on [purpose](/ap-comp-sci-p/unit-1/program-function-purpose/study-guide/8hL8KatG4rAWTwZSglGB "fv-autolink"). In data, you squeeze it out on purpose.

## Why It Matters

Redundancy sits at the heart of [Topic 4.2](/ap-comp-sci-p/unit-4/fault-tolerance/study-guide/OXw6cjIfolXV4VbZRll8 "fv-autolink") (Fault Tolerance) and supports learning objective [AP Comp Sci P](/ap-comp-sci-p "fv-autolink") 4.2.A, which asks you to describe the benefits of fault tolerance, explain how a given system is fault-tolerant, and identify vulnerabilities to failure. You can't answer any of those without redundancy. A system is fault-tolerant *because* it has redundant components or paths, and a system is vulnerable *where* it lacks them (think single points of failure). It also shows up in Topic 2.2 (Data Compression) under AP Comp Sci P 2.2.A, where the amount of redundancy in data determines how well compression works. If you can recognize redundancy in both contexts, you've covered two units with one concept.

## Connections

### Fault Tolerance (Unit 4)

Redundancy is the how, fault tolerance is the result. A system becomes fault-tolerant by including redundant components, so when one fails, the system keeps running. EK CSN-1.E.1 says [the Internet](/ap-comp-sci-p/unit-4/internet/study-guide/HouTEH6ypgVs8tNInelL "fv-autolink") was engineered this way from the start.

### [Routing (Unit 4)](/ap-comp-sci-p/key-terms/routing)

[Routing](/ap-comp-sci-p/key-terms/routing "fv-autolink") is what puts network redundancy to work. When a device or connection fails, routing finds an alternate path for subsequent data (EK CSN-1.E.4). Redundant paths are useless without a routing system smart enough to use them.

### [Lossless data compression (Unit 2)](/ap-comp-sci-p/key-terms/lossless-data-compression)

Lossless compression shrinks files by replacing redundant, repeated [data](/ap-comp-sci-p/unit-2/extracting-information-data/study-guide/EFuLgc6tL71cegDFjXRl "fv-autolink") with shorter representations, then perfectly rebuilds the original. More redundancy in the file means more room to compress. This is the flip side of the term, where redundancy is something you remove instead of add.

### Backup (Unit 4)

A backup is a specific form of redundancy applied to data and servers. The practice question about a redundant server automatically taking over when the primary fails is backup-style redundancy keeping a system online.

## On the AP Exam

Redundancy shows up almost entirely in multiple-choice questions, usually in scenario form. A typical stem describes a network setup and asks you to identify the benefit of a redundant design, spot the vulnerability, or pick the modification that improves fault tolerance. For example, a star topology with a single central hub is a classic trap. The fix is adding redundant connections so there's more than one path between devices, eliminating the single point of failure. You might also see redundant servers that take over automatically, or triple modular redundancy where three processors vote on an output. In Unit 2 questions, redundancy appears when comparing compression algorithms, since size reduction depends on how much redundancy the original data contains. Your job is always the same. Identify where the redundancy is (or isn't), and explain what it does for the system.

## Redundancy vs Fault Tolerance

These get used interchangeably, but they aren't the same thing. Redundancy is a design choice, the extra components or paths you build in. Fault tolerance is the property a system gains as a result, the ability to keep operating when parts fail. Redundancy is the cause, fault tolerance is the effect. On an MCQ, if the question asks what was *added* to the system, the answer is redundancy. If it asks what the system can now *do*, that's fault tolerance.

## Key Takeaways

- Redundancy means including extra components that can mitigate failure if other components fail (EK CSN-1.E.2).
- Network redundancy is achieved by having more than one path between any two connected devices, so data can reroute when something fails.
- Redundancy is what makes a system fault-tolerant; without redundant components, a single point of failure can take the whole system down.
- In Unit 2, redundancy means repeated patterns in data, and the amount of redundancy in a file determines how much compression can shrink it.
- The Internet was deliberately engineered with redundancy so that if a device or connection fails, subsequent data is sent via a different route.
- A single central hub or lone server is a vulnerability; adding redundant paths or backup servers is the standard fix exam questions look for.

## FAQs

### What is redundancy in AP Computer Science Principles?

Redundancy is the inclusion of extra components that can mitigate failure of a system if other components fail (EK CSN-1.E.2). On the Internet, that means multiple paths between devices, so traffic can reroute around a failed router or cable.

### Is redundancy bad in computer science?

It depends on context. In networks (Unit 4), redundancy is deliberately good because it makes systems fault-tolerant. In data (Unit 2), redundancy is wasted space that compression algorithms remove to reduce file size. AP CSP tests both meanings.

### What is the difference between redundancy and fault tolerance?

Redundancy is the design technique (extra components or paths), while fault tolerance is the resulting ability of the system to keep working despite failures. You add redundancy to achieve fault tolerance.

### How does redundancy make the Internet fault-tolerant?

The Internet has more than one path between connected devices, so if a device or connection fails, routing sends subsequent data along a different route (EK CSN-1.E.3 and CSN-1.E.4). No single failure brings the whole network down.

### How does redundancy relate to data compression?

Compression algorithms shrink files by removing redundancy, the repeated or predictable patterns in data. Per EK DAT-1.D.3, the more redundancy in the original data, the more a compression algorithm can reduce its size.

## Related Study Guides

- [2.2 Data Compression](/ap-comp-sci-p/unit-2/data-compression/study-guide/21yLa92Ec2potY7nGQfu)
- [4.2 Fault Tolerance](/ap-comp-sci-p/unit-4/fault-tolerance/study-guide/OXw6cjIfolXV4VbZRll8)
- [Big Idea 4 Overview: Computer Systems and Networks](/ap-comp-sci-p/unit-4/review/study-guide/WfuUHs2qFBVKy24rtsZ9)

## Structured Data

```json
{"@context":"https://schema.org","@graph":[{"@type":"LearningResource","@id":"https://fiveable.me/ap-comp-sci-p/key-terms/redundancy#resource","name":"Redundancy — AP CSP Definition & Exam Guide","url":"https://fiveable.me/ap-comp-sci-p/key-terms/redundancy","learningResourceType":"Concept explainer","educationalLevel":"AP® / High School","about":{"@id":"https://fiveable.me/ap-comp-sci-p/key-terms/redundancy#term"},"audience":{"@type":"EducationalAudience","educationalRole":"student"},"dateModified":"2026-06-12T23:21:57.933Z","isPartOf":{"@type":"Collection","name":"AP Computer Science Principles Key Terms","url":"https://fiveable.me/ap-comp-sci-p/key-terms"},"publisher":{"@type":"Organization","name":"Fiveable","url":"https://fiveable.me"}},{"@type":"DefinedTerm","@id":"https://fiveable.me/ap-comp-sci-p/key-terms/redundancy#term","name":"Redundancy","description":"In AP Computer Science Principles, redundancy is the inclusion of extra components that can mitigate failure if other components fail (EK CSN-1.E.2), like multiple paths between devices on the Internet. In data compression, redundancy also means repeated data that compression algorithms can squeeze out.","url":"https://fiveable.me/ap-comp-sci-p/key-terms/redundancy","inDefinedTermSet":{"@type":"DefinedTermSet","name":"AP Computer Science Principles Key Terms","url":"https://fiveable.me/ap-comp-sci-p/key-terms"}},{"@type":"FAQPage","mainEntity":[{"@type":"Question","name":"What is redundancy in AP Computer Science Principles?","acceptedAnswer":{"@type":"Answer","text":"Redundancy is the inclusion of extra components that can mitigate failure of a system if other components fail (EK CSN-1.E.2). On the Internet, that means multiple paths between devices, so traffic can reroute around a failed router or cable."}},{"@type":"Question","name":"Is redundancy bad in computer science?","acceptedAnswer":{"@type":"Answer","text":"It depends on context. In networks (Unit 4), redundancy is deliberately good because it makes systems fault-tolerant. In data (Unit 2), redundancy is wasted space that compression algorithms remove to reduce file size. AP CSP tests both meanings."}},{"@type":"Question","name":"What is the difference between redundancy and fault tolerance?","acceptedAnswer":{"@type":"Answer","text":"Redundancy is the design technique (extra components or paths), while fault tolerance is the resulting ability of the system to keep working despite failures. You add redundancy to achieve fault tolerance."}},{"@type":"Question","name":"How does redundancy make the Internet fault-tolerant?","acceptedAnswer":{"@type":"Answer","text":"The Internet has more than one path between connected devices, so if a device or connection fails, routing sends subsequent data along a different route (EK CSN-1.E.3 and CSN-1.E.4). No single failure brings the whole network down."}},{"@type":"Question","name":"How does redundancy relate to data compression?","acceptedAnswer":{"@type":"Answer","text":"Compression algorithms shrink files by removing redundancy, the repeated or predictable patterns in data. Per EK DAT-1.D.3, the more redundancy in the original data, the more a compression algorithm can reduce its size."}}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"AP Computer Science Principles","item":"https://fiveable.me/ap-comp-sci-p"},{"@type":"ListItem","position":2,"name":"Key Terms","item":"https://fiveable.me/ap-comp-sci-p/key-terms"},{"@type":"ListItem","position":3,"name":"Unit 2","item":"https://fiveable.me/ap-comp-sci-p/unit-2"},{"@type":"ListItem","position":4,"name":"Redundancy"}]}]}
```
