Skip to content

← Grade 8

Data, Privacy and You

Unit 9 · Safety and society

Hide the stories, facts, photos, activities and interactives, for revising before an exam
In this unit 9 sections
  1. Data about you
  2. Metadata: data about data
  3. Who collects it, and why
  4. Benefits and risks
  5. Who owns your data?
  6. Charts: the same data, different stories
  7. Project
  8. In short
  9. Exercise

Bimala posts a photo of her new school bag in a class group. It is a nice photo, taken on her bed. A few minutes later, a boy she has never met sends her a message: “Nice bag. You live near the Siddha Pokhari, right?” She never told anyone where she lives. The photo did.

Everything you do with a phone leaves data behind: the photos you take, the messages you send, the videos you watch, the places you go. In Grade 7 you saw how an app records what you watch, and how the photos and posts you share become your digital footprint. This unit goes further. You will look at data about you the way a data detective does: what kinds there are, what the hidden data you met in Grade 7, metadata, can tell a stranger, who collects it all and why, and who gets to decide what happens to it. And because data is often shown as charts, you will learn how the same numbers can be drawn to tell very different stories, and how to draw them honestly.

Data about you

As you saw in Grade 7, any data that can be linked to one particular person is personal data. Your name and phone number are personal data. So is a photo of your face, your marks in an exam, your voice in a message, and the list of places your phone has been.

In Grade 7 you met two parts of your digital footprint: what you post yourself (active) and what is recorded about you as you use an app (passive) Grade 7: Your digital footprint. Looked at from the app’s side, its data about you comes in three kinds:

  • Given: what you typed or posted yourself. Your date of birth when you signed up, a photo, a comment.
  • Recorded: what the app noted as you used it. The time you opened it, how long you watched each video, where the phone was.
  • Guessed: what a computer worked out from the other two, without asking you. “Likes cricket”, “probably a student”, “may be about to buy a phone”. Data worked out like this is called inferred data.

The guessed kind is the one people know least about. You never see it, so you can’t correct it when it is wrong, and it can be about very private things: your health, your mood, your religion, how much money your family has.

Try it

How did the app get it?

For each piece of data about you, decide: did you give it, was it recorded as you used the app, or was it guessed?

your date of birth

typed in when you signed up

How did the app get it?

Tap a group above.

Card
1 of 11
Right the first time
0

Some personal data can do more harm than the rest if it leaks or is misused: your health, your caste or ethnicity, your religion, your political views, your fingerprints and face, your family’s money. This is called sensitive personal data. It deserves the most care, from you and from anyone who holds it.

A shopping app has never been told your age, but it shows you ads for school bags and exam guides. What kind of data is it most likely using?

Pick an answer to see why.

Metadata: data about data

Every message you send has two parts. One is the content: the words, the photo, the voice. The other is metadata: data about the message, such as who sent it, to whom, when, from which phone, and through which phone tower. In Grade 7 you met the metadata a camera saves with a photo Grade 7: Photos carry hidden data. Almost everything digital has metadata:

Thing Its content Its metadata
a photo the picture when and where it was taken, the phone’s model, the camera’s settings
a phone call what was said who called whom, when, how long, through which tower
a message the words sender, receiver, time, whether it was read
a document the text its size, when it was made and changed, often the author’s name
a web page you visit what the page says the address, the time, your phone’s type, the network you came from

Metadata is not a trick or a secret. Computers need it to do their job: a phone company can’t connect a call without knowing which tower your phone is near, and your gallery can’t sort photos by date without the date. But it is easy to forget it is there, because you never see it.

Try it

Content, or metadata?

For each, decide: is it the content itself, or data about it?

the words in a message

The content itself, or metadata about it?

Tap a group above.

Card
1 of 11
Right the first time
0

Reading a photo’s metadata

A phone saves a photo’s metadata in a standard form called EXIF, inside the photo’s file. A gallery app shows some of it (the date, the place on a map), usually under ⓘ or Details. A computer’s file manager shows more, in the photo’s properties (the box below).

Where a photo was taken is saved as two numbers, its coordinates: how far north of the equator (the latitude) and how far east around the Earth (the longitude). 27.672° N, 85.428° E is Bhaktapur’s Durbar Square. Type the two numbers into any map app and it shows the spot, to within a few meters.

Try it

Read the photos’ details

A family went to Pokhara for Dashain and came back with these six photos on one phone. You can’t see any of the pictures: only the details saved with them. Pick a question, then answer it from the details alone. (The places are real; the family and their photos are made up.)

PhotoTakenCameraPlace
IMG_2201Sat 17 Oct, 06:12P527.672° N, 85.428° EBhaktapur
IMG_2202Sat 17 Oct, 11:40P527.855° N, 84.560° EMugling
IMG_2203Sat 17 Oct, 16:05P528.209° N, 83.959° EPokhara, by the lake
IMG_2204Sun 18 Oct, 05:48P528.244° N, 83.948° ESarangkot, above Pokhara
IMG-20261018-WA0031Sun 18 Oct, 14:20nonenone
IMG_2205Mon 19 Oct, 17:30P527.672° N, 85.428° EBhaktapur
Question:

Where does the family probably live?

Answer from the details alone. You can’t see a single picture.

Not quite. The first photo, early on Saturday before the trip, and the last, on Monday evening after it, were both taken at the same spot in Bhaktapur.

Not quite. At 11:40 on Saturday the phone was at Mugling, on the road; at 16:05 the same day it was by the lake in Pokhara. So they arrived between the two.

Not quite. It has no camera and no place, and its name is the kind a chat app gives a photo it receives: chat apps take a photo’s details out when they send it. Someone sent it to this phone; even its time is only when it arrived.

Not quite. Sarangkot is a hill above Pokhara where people go to watch the sun rise over the Himalaya, and 05:48 in October is just before sunrise.

Right: 0 of 4

Metadata answers questions

Put the metadata of many photos, calls or messages together, and you can answer questions nobody wrote down the answers to: where someone lives, when they sleep, who their best friend is. This is how metadata is used to answer questions: you choose a question, then look for the fields and the pattern that answer it.

Try it

Without reading a single message

These are one week of records from Sonam’s phone, as a phone company keeps them: when, what, with whom, and the tower the phone used. There isn’t a word or a voice in them. Answer the questions. (Sonam, the people and the records are made up; the places are real.)

WhenWhatWithTower
Sat 10:20call, 24 minDawaThimi
Sat 22:40messageDawaThimi
Mon 13:15messageDawaKamalbinayak
Mon 16:30call, 2 minAamaKamalbinayak
Mon 22:35messageDawaThimi
Tue 13:05call, 3 minSmile DentalKamalbinayak
Wed 15:10call, 1 minSmile DentalDoodhpati
Wed 15:12messageAamaDoodhpati
Wed 22:50messageDawaThimi
Thu 12:30messageDawaKamalbinayak
Fri 22:45call, 41 minDawaThimi
Question:

Who is Sonam’s closest friend?

Answer from the records alone: who, when, how long and which tower. There is no message or voice in them.

Not quite. Seven of the eleven records are with Dawa, including every late-night one and the two longest calls. Not one word of them was read.

Not quite. On school days between 12 and 5, the phone connects through the tower at Kamalbinayak, probably near Sonam’s school; at night, and on Saturday, the holiday, always Thimi: home.

Not quite. Two calls to a dental clinic, the second from Doodhpati, where it is, then a message to Aama. A fair guess: a dentist’s appointment. Metadata can reveal health.

Not quite. Every night with a record, the last one is between 22:35 and 22:50, and nothing comes after it until the morning: the phone shows when Sonam sleeps.

Right: 0 of 4

What did you need to answer them? Never the content: only who, when, how long and where, many times over. Metadata is short and neat, so a computer can search millions of records in a moment. That makes it so useful, and so revealing.

The same power can do great good. After the earthquake of 25 April 2015, nobody knew where the people of Kathmandu Valley had gone. Many had left for their home villages, and aid had to follow them.

A small boy in a yellow jacket filling a plastic bottle from a tap, with soldiers standing behind him
Figure 9.1 A boy fills a bottle with clean water at a camp in Kathmandu for families whose homes were destroyed in the earthquake of April 2015. Knowing where people had gone helped send water, food and tents to the right places. Photo: DFID - UK Department for International Development, CC BY 2.0

Which question could you answer from a phone’s call records alone, with no words from any call?

Pick an answer to see why.

Who collects it, and why

Almost everyone you deal with keeps some data about you:

  • The apps you use, and the companies that make them: what you post, search, watch and buy, and their metadata.
  • Advertisers and data brokers: companies that collect data about people from many apps and websites, put it together into a profile of each person, and sell it or use it to pick ads.
  • Your phone company: your SIM card’s owner, your calls and messages’ metadata, the towers your phone uses, your data use.
  • Banks and wallet companies: who you are, your money, everyone you pay.
  • The government: your birth registration, citizenship, national ID card, the census, land and tax records.
  • Your school, hospital and the shops you buy from: marks, health records, the phone number you gave for a delivery.

They collect it for different reasons. Some data is needed for the job: a delivery needs your address. Some is asked for by law: a bank must check who its customers are. And some is extra: collected because it can earn money, mostly from advertising.

Try it

Why is it collected?

For each, decide why the data is collected: is it needed for the job, does the law ask for it, or is it extra?

A ride app records where you are picked up.

Why is it collected?

Tap a group above.

Card
1 of 10
Right the first time
0

How your data pays for free apps

In Grade 7 you saw that most free apps earn their money from ads Grade 7: Built to hold your attention. An ad that matches what you want is worth far more to an advertiser than a random one, so the more an app knows about you, the more each ad it shows you is worth. That is why “extra” data is collected.

Many ads are chosen by an automatic auction, held in the moment a page or app opens:

1You open a pageor an app withspace for an ad.2A message about yougoes out: your phone,rough place, interests.3Many advertisers’computers read itand bid.4The highest bidwins: its adappears.All in a fraction of a second, each time an ad appears.Every bidder got the message about you, even the ones that lost. 1You open a pageor an app withspace for an ad.2A message about yougoes out: your phone,rough place, interests.3Many advertisers’computers read itand bid.4The highest bidwins: its adappears.All in a fraction of a second.Every bidder got the message about you,even the ones that lost.
Figure 9.2 How an ad is often chosen for you. A message about you goes out to many advertisers’ computers; they bid; the highest bid’s ad appears. It happens again each time an ad appears.

Notice step 2. The message about you goes to many companies, and they all receive it, even the ones that lose. Each can add it to what it already knows about you. This is one way data brokers build their profiles.

Your phone helps them recognize you. Each phone has an advertising ID: a long code that apps can read, so that the ad companies know the person who watched a video in one app is the same person reading news in another. You can delete it, or ask apps not to track you (the box below).

A free photo-editing app asks for your location, your contacts and your microphone. What is the most likely reason?

Pick an answer to see why.

Benefits and risks

Collecting data isn’t good or bad by itself. In Grade 7 you listed some benefits and risks Grade 7: What the app knows about you. Here is the fuller picture, for you and for everyone.

Benefits Risks
Apps and services that fit you: a map that knows the traffic, a search that finds what you meant It can be used against you: ads at the moment you are weakest, prices that change with what the app thinks you will pay
Safety: a bank spots a login from a strange place and blocks it It can leak: a company is broken into and its customers’ data is stolen (a data breach, Grade 7)
Free apps, paid for by ads Scammers use leaked data to sound real: “Hello Bimala, about your order from last week…”
For everyone: disease outbreaks found early, aid sent where people are, roads and buses planned where people travel Guesses can be wrong, and decide things: a loan refused, a job never offered, and you never know why
Research that needs many people’s data, with names removed It lasts for years, and may be used for things nobody has thought of yet

The benefits often go to everyone at once, while each risk falls on one person at a time. So the question is never just “is data collection good?”, but for this data, this use, and these people: do the benefits outweigh the risks, and did the people agree?

Names out is not enough

“We removed the names, so the data is anonymous”: you will hear this often. Anonymous means no one in the data can be identified. But taking out the names often isn’t enough, because a few ordinary facts together can fit only one person.

Try it

Who is in the table?

A school asked its Grade 7 and 8 students: “Do you have a social media account your parents don’t know about?” It shared the answers with the names taken out: each card is one student, with the answer hidden. You know a few things about your friend Sujata. Tap them as clues, one at a time. (The school, Sujata and the answers are made up.)

Class 7 girl Kartik ward 4 walk ?
Class 8 boy Asar ward 2 walk ?
Class 8 girl Jestha ward 4 bus ?
Class 7 boy Magh ward 2 bus ?
Class 7 girl Mangsir ward 4 bus ?
Class 8 boy Magh ward 4 bus ?
Class 7 boy Poush ward 4 walk ?
Class 8 girl Kartik ward 1 bicycle ?
Class 7 girl Magh ward 4 bus ?
Class 8 girl Magh ward 2 walk ?
Class 7 boy Asar ward 1 bus ?
Class 8 boy Falgun ward 1 bus ?
Class 7 girl Baisakh ward 1 walk ?
Class 8 girl Magh ward 4 bus ?
Class 7 boy Chaitra ward 2 walk ?
Class 8 boy Bhadra ward 4 walk ?
You know Sujata is:
The table is shared:
Students who fit
16 of 16
Sujata’s answer
still hidden

No names, so nobody can be found? Tap what you know about Sujata, one fact at a time.

Each fact alone fits many students. Add another, and watch how fast the group shrinks.

Only one student fits, so it must be Sujata, and her private answer is out. Not one name was needed: a few ordinary facts together were enough.

Every clue that is left still fits two students, with different answers: nobody can tell which is Sujata’s.

Finding out who is in “anonymous” data by combining it with what else you know is called re-identification. The defense is to share less detail: leave out the columns that single people out (a birth date, a ward), or group them (an age range, a district), until every combination fits many people. Even then, check: if everyone who fits gave the same answer, the answer is out anyway.

Latanya Sweeney speaking at an event
Figure 9.3 Latanya Sweeney in 2017. Her work showed that data with the names taken out is often not anonymous at all. Photo: Parker Higgins, CC BY 4.0

A clinic shares its patients’ records with researchers, with names removed but each patient’s ward, date of birth and sex kept. Why is that risky?

Pick an answer to see why.

Who owns your data?

When you own a bicycle, you decide who rides it, and if someone takes it, you no longer have it. Data isn’t like that. A copy of your phone number can sit in a thousand places at once, and you still have it too. So with data, the real question is not who owns it, but who decides what happens to it: who may collect it, what they may use it for, who they may give it to, and how long they may keep it.

The idea that should decide it is consent: you agree to what happens to your data. For consent to be real, it must be:

  • informed: you were told clearly what will be collected, for what, and who will get it;
  • free: you could say no without being punished or tricked (“accept or you can’t use your own phone” is not much of a choice);
  • specific: you agreed to this use, not to “anything we like, now and in future”;
  • able to be taken back: you can change your mind later.

When you join an app, you agree to its terms of service (Grade 7) and its privacy policy: the long pages that say what it collects and what it does with it. Almost nobody reads them, and they are written so that few could.

What Nepal’s law says

Nepal’s Constitution of 2015, in Article 28, makes privacy a fundamental right: a person’s home, property, documents, data, letters and character may not be intruded on, except as the law allows. The Privacy Act, 2075 (2018), which came into force on 18 September 2018, sets out what that means. As of 2026, among other things, it says:

  • every person has the right to keep their personal data confidential, and their consent must be obtained before their personal or family data is collected (Section 12);
  • data that an office or a company collected with consent may be used only for the purpose it was collected for (Section 12), though it must still be given when the law demands it for national security or public order;
  • a person under 18 can’t give this consent alone: their private matters may be published or shared only if a parent or guardian agrees, and only if it is for the child’s good (Section 33);
  • giving anyone, or publishing, a person’s health details, income and property, job, family matters, fingerprints, signature, political views or business dealings without their consent is a crime (Section 12), except when a court or the police need it to investigate a crime, punishable with up to three years in prison, a fine of up to Rs 30,000, or both (Section 29); the person harmed can also ask the District Court for compensation (Section 31).

Grade 9 Computing looks at these laws, and others like them around the world, in more detail.

Data that leaves the country

Most big apps keep their data in data centers abroad. In Grade 7 you met data sovereignty: the idea that data about a country’s people should be under that country’s own laws. It matters because when your data sits on a server in another country, that country’s courts and police may be able to ask for it, and Nepal’s law may be hard to use to protect it. For the same reason, many countries ask that their government’s records, and sometimes banking and health data, be kept on servers inside the country.

What you can do

You can’t stop all data collection, and you don’t need to. But you can decide a lot:

  • Give less. Leave out what a form doesn’t need (a “*” marks what is required). Say no to permissions an app’s job doesn’t need.
  • Turn off what you don’t want recorded: a photo’s location, ad tracking, an app’s location history.
  • See what is kept, and download or delete it (most big apps have a “Download your information” page: Grade 7’s box, What the app knows about you).
  • Delete accounts you no longer use, rather than leaving them behind with your data in them.
  • Ask before you collect other people’s data: your class’s survey, a photo of a friend, a list of phone numbers.
  • Keep the account safe, so nobody else can take it all at once: a different strong password for every account, made of random words (three at least, four or more for email and money), and two-step login.
  • Tell someone if your data is misused: a photo or details of you shared without your agreement, or someone threatening to share them. Tell an adult you trust, report it in the app, and if it is a crime, report it to Nepal Police’s Cyber Bureau (Unit 8, When an account is hacked).

A quiz app says: “By playing, you agree that we may use your data for any purpose and share it with our partners.” Is this real consent, in the sense of this unit?

Pick an answer to see why.

Charts: the same data, different stories

Data isn’t only collected; it is shown, often as a chart, to persuade you of something. In Grade 6 you learned that a bar chart’s axis must start at 0, and checked charts for a title, named axes and numbers Grade 6: Charts that tell the truth. Now you will be the one designing the chart, and see how many choices there are, and how each one changes what the same numbers seem to say.

Try it

Same numbers, different stories

A school library counted its visitors each month for a year (the numbers are made up). They never change, only the way they are drawn. First, make the chart say “visitors are crashing”. Then make it say “visitors are shooting up”. Then make the honest one.

Visitors to the school library each monthVisitors0100200300400BaiAsaBhaKarPouFal
Chart:
Axis:
Show:
Count:
Whole year, each month
220 → 270 (+23%)
The chart seems to say
rising

The whole year, each month, the axis from 0: the change looks about as big as it really is. This is the honest chart.

The axis is cut off, so the bars’ lengths no longer match the numbers: a small change looks huge. A bar chart must start at 0.

The axis is cut off. A line chart may zoom in to show small changes, but only with the numbers on the axis, and the reader must read them.

Only part of the year is shown. A stretch picked with care can tell a different story from the whole year.

Two tricks at once: only part of the year, and the axis cut off. Together they turn a small change into a dramatic one.

Running totals add each month to all the months before, so they can only climb, even when fewer people came. Fair only if the title says “total so far”.

Hint
Answer

Here are the choices that change a chart’s story, from the ones you have seen to new ones:

  • Where the axis starts. For bars, always 0. A line chart may zoom in to show small changes, but then the numbers on the axis must be clear, and you must read them.
  • Which stretch of the data. Show only the months that fall, or only those that rise, and you can make a year say either. This is called cherry-picking: choosing only the data that supports your story, as if picking only the ripe cherries from a tree.
  • Each value, or a running total. A running total adds each month to the months before, so it can only go up. It is fair only when the title says so.
  • Stretching the chart. Make a line chart very tall and narrow, and a gentle rise looks like a cliff; make it short and wide, and a steep rise looks flat.
  • Totals, or per person. A bigger place nearly always has bigger totals. To compare fairly, divide by its size.
  • Pictures that grow. A picture made twice as tall is also twice as wide, so it covers four times the area, and looks four times as big.

An honest chart is one that a reader who looks only at the chart understands correctly. When you design one, add to Grade 6’s checklist:

  • Show all the relevant data, or say clearly which part you show and why.
  • Compare like with like: per person, per 100 students, per month.
  • Keep the shape fair: not stretched or squashed to make a point.
  • Say when the data was collected, as well as where it came from.

A news story about phone data packs shows the price of a data pack over five years, but only from the year it was cheapest to the year it was most expensive. What trick is this?

Pick an answer to see why.

Project

In short

Exercise

Which of these is metadata about a phone call?

Pick an answer to see why.

A video app decides you are “probably interested in going abroad” from the videos you watch. This is:

Pick an answer to see why.

Why does an app that only needs to show a torch light ask to read your contacts?

Pick an answer to see why.

A survey is shared with the names removed, but each row keeps the student’s class, birth date and ward. What is the main risk?

Pick an answer to see why.

Under Nepal’s Privacy Act, 2075, data collected with a person’s consent may be used:

Pick an answer to see why.

A bar chart of a shop’s sales starts its axis at Rs 9,000 and shows only the three best months of the year. What two tricks does it use?

Pick an answer to see why.

a.

Explain the difference between data and metadata, with an example of each for a photo and for a message.

Answer
b.

Rina’s photos are sent as files to a website. Each has a date, a time and coordinates. Write two questions about Rina that a stranger could answer from these alone, and say how Rina can protect herself.

Answer
c.

List four kinds of organization that collect data about you, and for each say one thing it collects and why.

Answer
d.

Give two benefits and two risks of allowing a map app to record your location. Then say whether you would allow it, and why.

Answer
e.

What is real consent? Write its four parts, and say why tapping “I agree” to a long privacy policy is often not real consent.

Answer
f.

A school wants to share a table of its students’ exam results with researchers. The table has each student’s name, date of birth, ward, class and marks. Explain why removing only the names isn’t enough, and suggest how to make it safer.

Answer
g.

What does Nepal’s Constitution say about privacy, and name the law that sets out the right in detail? Write two things that law requires.

Answer
h.

A shop’s sales were Rs 50,000 in Baisakh, 52,000 in Jestha, 51,000 in Asar and 54,000 in Shrawan. Describe how you would draw i. a chart that makes sales look as if they are shooting up, and ii. an honest chart. What does each seem to say?

Answer
i.

Town A had 40 road accidents last year; Town B had 15. Town A has 80,000 people; Town B has 20,000. Which town’s roads are more dangerous for the people who live there? Show your working.

Answer
j.

Your class is planning an online survey about students’ screen time. Write four rules your class should follow so that the survey respects everyone’s privacy.

Answer