Privacy Risks in Data Collection
Why collecting and storing are two different risks, and why the class you write for question 3 is already a record about people.
- When using a computer, personal privacy is at risk; programmers should attempt to safeguard the user's personal privacy.
- Privacy being at risk is unconditional: a program only has to hold data about a person to put privacy at risk.
- Collecting is a moment; its risk is gathering more than the question needs.
- Storing is a duration; its risk is holding data after the question has been answered, and it grows over time.
- If the purpose is fare analysis, the program does not need the rider's name; removing the attribute is a real safeguard.
- If a store is compromised, harm is proportional to what was kept and for how long, not to the code's quality.
- Minimization is the only safeguard that survives the store being compromised, because there is nothing to expose.
- The same field is usually both the benefit and the risk; one column is half an answer.
- For a full answer, name the data, who benefits and how, and who bears the risk and through what mechanism.
1The Class Question 3 Gives You Is a Personal-Data Store
Free-response question 3 on the exam is Data Analysis with ArrayList. You are given an
outline of a data set represented by a class, and asked to analyze an
ArrayList of objects of that class. The class
usually looks something like this:
public class Rider
{
private String name;
private String homeStop;
private int boardingHour;
private double farePaid;
}
ArrayList<Rider> riders = new ArrayList<Rider>();
That is a fare-analysis exercise, and it is also a list of where named people were and when. The topic is not an ethics module bolted onto the side of the course — it is a statement about the kind of object you are already being asked to write.
4.1.A — explain the risks to privacy from collecting and storing personal data on computer systems. The paired skill is 5.A, explain how computing impacts society, economy, and culture. The verb is explain, so a response that names no mechanism earns nothing.
2What the Course Actually Claims
When using a computer, personal privacy is at risk. When developing new programs, programmers should attempt to safeguard the personal privacy of the user.
Two sentences, and both are worded more carefully than they look.
2.1 “Is at Risk” Is Unconditional
The statement is not that privacy may be at risk, or that it is at risk when a program is badly written. It is the baseline condition of using a computer. A program does not have to do anything wrong to put privacy at risk; it only has to hold data about a person.
2.2 “Attempt to Safeguard” Is an Obligation of Effort
The second sentence does not say programmers must guarantee privacy, and that wording is not an escape hatch — it is an accurate description of what is achievable. No program can promise that data about a person will never be exposed. What a programmer can do is try, and the course places that duty on the person writing the program rather than on the user.
“The programmer should protect the data” is vague. “The programmer should attempt to safeguard the user's personal privacy — for instance by not storing the rider's name at all, since the fare analysis never uses it” states the duty and a mechanism, which is what explain asks for.
3Collecting and Storing Are Two Different Risks
The learning objective names both verbs, and they fail in different ways.
| Collecting | Storing | |
|---|---|---|
| When | A moment — the tap, the form, the sensor reading | A duration — every moment after, until it is deleted |
| The risk | Gathering more than the question needs | Holding it after the question has been answered |
| Who sees it | Whoever built the collection point | Anyone who ever reaches the store, including people not yet employed |
| How it ends | The moment passes on its own | Only by a deliberate decision to delete |
A collection risk is over in an instant. A storage risk lasts as long as the data does, and it grows: the longer a store exists, the more systems touch it, the more copies exist, and the more people have had access. Nothing about the original program has to change for the risk to increase.
3.1 The Question Ends; the Data Does Not
The fare analysis has an answer the moment it is computed. The list of riders is still there afterwards — still naming people, still recording where they were at what hour. The reason for collecting expired and the store did not.
4Collecting Less Is the Concrete Version of Safeguarding
The most useful thing a student can say about safeguarding is also the most concrete: look at what the program actually reads, and see whether the rest needed to be there.
// the analysis the question asks for
public double averageFare(ArrayList<Rider> riders)
{
double total = 0.0;
for (Rider r : riders)
{
total += r.getFarePaid(); // the only field this method reads
}
return total / riders.size();
}
The method reads one attribute. The name, the home stop and the boarding hour sat in memory throughout and contributed nothing to the answer — but they were still collected, still stored, and still at risk.
If the program's purpose is fare analysis, it does not need the rider's name. Removing the attribute is a real safeguard, written in the class rather than in a policy document, and it removes the risk permanently rather than managing it.
5What “Compromised” Means
The unit overview names the case directly: students learn about privacy concerns related to storing large amounts of personal data, and about what can happen if such information is compromised.
The word matters because it separates two claims. A program can be entirely correct, written carefully, and still hold a store that is later reached by someone it was not meant for. The harm then is not proportional to the quality of the code — it is proportional to what was kept and for how long.
Most other safeguards manage access to the data. Not collecting it is the one that still holds when the store is compromised, because there is nothing in it to expose. A response that reaches for “collect less” is making the argument that holds even in the worst case.
6Beneficial and Harmful at Once
The CED pairs this objective with explaining how the impacts “can be beneficial and/or harmful”. As in Impact of Program Design, questions are rarely about programs that are simply bad. They are about a program that genuinely helps, and whose help is built out of the same data that creates the risk.
| The same rider data | Beneficial | Harmful |
|---|---|---|
| Boarding hour | Extra services are added at the hours people actually travel | A record of when a named person leaves home, kept indefinitely |
| Home stop | Routes are planned around where riders actually start | An approximate home address for every rider in the file |
| Fare paid | Concession uptake can be measured and expanded | Financial circumstances inferred for identifiable people |
Name the data, name who benefits and how, name who bears the risk and through what mechanism. “It could be misused” is not a mechanism. “The boarding hour is stored against a named rider, so the file can show when that person usually leaves home” is.
7How This Is Assessed
Expect a short scenario rather than code tracing — and expect it attached to a data set represented by a class, because that is the shape of question 3.
| If the stem says… | Reach for… |
|---|---|
| “stores information about each user” | Storage risk — duration, and who reaches it later |
| “the app records… each time” | Collection risk — and whether the program needs that field |
| “explain one risk to privacy” | One field, one mechanism, one affected person — not a list |
| “beneficial and/or harmful” | Both columns, built from the same data |
7.1 A Model Answer
A transit app stores each rider's name, home stop, boarding hour and fare. Explain one risk to privacy.
“Someone could hack it and steal the data, which would be bad for privacy.” No field, no mechanism, and it makes the risk conditional on an attack — the course says privacy is at risk from the storing itself.
“Because the boarding hour is stored alongside the rider's name and home stop, the program accumulates a record of when a specific person leaves a specific place. The fare analysis it was built for never reads those fields together, so the risk is created by what is retained rather than by what the program computes — and it lasts for as long as the records are kept.”
Names the fields, names the mechanism, and locates the risk in storage rather than in an imagined attacker.
8Check Yourself
A program collects a user's date of birth to check they are over 18, then keeps it forever. Which risk is that?
A storage risk. The collection was purposeful and brief; the check had its answer immediately. Everything after that is retention of personal data with no remaining reason, which is the case the essential knowledge is pointing at.
Is a correctly written program with no bugs still a privacy risk?
Yes. The course states that personal privacy is at risk when using a computer — it is not conditional on a defect. Holding data about a person is itself the risk, and correctness does not remove it.
Name one safeguard that survives the data being compromised.
Not collecting the field in the first place. Every safeguard that controls access still leaves something to expose; minimization removes the thing itself.
Why is “the app is useful, so the privacy cost is acceptable” a weak answer?
Because it answers a question that was not asked. The objective asks you to explain the risk; the benefit does not cancel it, and the CED asks for both to be named. A response that trades one against the other has still not described the mechanism.
9Summary
| Idea | What to remember |
|---|---|
| The claim | When using a computer, personal privacy is at risk — unconditionally |
| The duty | Programmers should attempt to safeguard the user's personal privacy |
| Collecting | A moment; the risk is gathering more than the question needs |
| Storing | A duration; the risk grows as long as the data exists |
| Compromised | Harm is proportional to what was kept, not to the quality of the code |
| Minimization | The one safeguard that survives the worst case |
| Both columns | The same field is usually the benefit and the risk |
| Where it appears | Beside question 3 — a data set represented by a class |
The class you are asked to write in question 3 is a record about people; the privacy question is simply what that record still contains after it has answered the question it was built for.