Welch Teaching & CoachingComputer Science · AP CSP
← AP CSP Unit Hub
AP COMPUTER SCIENCE PRINCIPLES · UNIT 7

Data, Society & the Impact of Computing

Evaluate evidence, data limitations, bias, privacy, digital divides, and the impacts of computing.

5 lessons10 estimated blocksAP topics 2.3–2.4, 5.1–5.615 original exam questions

Unit overview

Use these lessons like the Algebra II and Physics pages: read the notes, learn the vocabulary, follow a worked example, attempt the quick checks before revealing solutions, and make a prediction before running the investigation.

10 blocks85-minute blocks, approximately 13–14 in the 16-week map
5 lessonsNotes, examples, vocabulary and quick checks
15 questionsFilterable exam-style bank

Success criteria

  • Recognize missing, inconsistent and biased data.
  • Identify misleading visualizations.
  • Identify beneficial and harmful impacts of innovations.
  • Describe dimensions of the digital divide.
  • Explain sources of algorithmic bias.
Course model: CodeHS for targeted coding, this page for conceptual understanding, and AP Classroom for official aligned assessment. This is an original supplementary resource, not an official College Board publication.

Lesson map

Lesson numbering on this page is site-specific. CodeHS uses a different lesson numbering system.

Site lessonOfficial AP topicsSelected CodeHS lessons
7.1 Collecting and cleaning data2.313.1 Getting Started with Data; 13.3 Data Collection & Limitations
7.2 Visualization, correlation and inference2.3–2.413.2 Visualizing and Interpreting Data; 14.1 Present a Data-Driven Insight
7.3 Computing innovations and consequences5.1–5.215.1 The Impacts of Computing; 12.1 The Effects of the Internet
7.4 Digital divide, crowdsourcing and collaboration5.3–5.411.10 The Impact of the Internet; 15.1 The Impacts of Computing
7.5 Bias, privacy, intellectual property and safe computing5.5–5.611.9 Cybersecurity; 11.11 Creative Credit & Copyright; 15.1 The Impacts of Computing

Content notes, vocabulary & worked examples

Each lesson ends with two quick checks. Open each answer only after attempting the problem.

Lesson 7.1 · AP 2.3 · 1–2 blocks

Collecting and cleaning data

CodeHS: 13.1 Getting Started with Data; 13.3 Data Collection & Limitations

Learning targets

  • Recognize missing, inconsistent and biased data.
  • Explain why collection methods shape conclusions.

Core notes

Data may come from sensors, surveys, logs, or public datasets. Cleaning addresses duplicates, missing values, inconsistent units, and errors, but decisions about what to remove can introduce bias. A dataset can be large yet unrepresentative. Metadata explains context and meaning.

Vocabulary

dataset
collection of observations
cleaning
correcting inconsistencies
missingness
unrecorded values
sampling bias
sample differs systematically from population

Worked example

If a survey is offered only through a smartphone app, people without compatible phones may be missing from its sample.

Try it · Check your understanding

1. Does a larger sample automatically eliminate bias?
Show solution
No; a large biased sample can remain unrepresentative.
2. Why record units with a numeric field?
Show solution
Otherwise interpretation and comparison may be invalid.
Lesson 7.2 · AP 2.3–2.4 · 1–2 blocks

Visualization, correlation and inference

CodeHS: 13.2 Visualizing and Interpreting Data; 14.1 Present a Data-Driven Insight

Learning targets

  • Identify misleading visualizations.
  • Distinguish association from causation.

Core notes

Visualizations help communicate patterns but chart scales, grouping, and omitted values change interpretation. Correlation indicates association, not necessarily causation. Use claims supported by the observed data and identify competing explanations and limitations.

Vocabulary

correlation
association between measures
causation
one factor changes another
outlier
unusual observation
inference
conclusion from evidence

Worked example

Ice cream sales and swimming incidents can rise together because both are affected by hot weather. Neither relationship alone establishes causality.

Try it · Check your understanding

1. Does correlation prove causation?
Show solution
No; confounders and other explanations may exist.
2. Why inspect the y-axis range?
Show solution
Truncating it can exaggerate differences.
Lesson 7.3 · AP 5.1–5.2 · 1–2 blocks

Computing innovations and consequences

CodeHS: 15.1 The Impacts of Computing; 12.1 The Effects of the Internet

Learning targets

  • Identify beneficial and harmful impacts of innovations.
  • Explain effects on different groups.

Core notes

Computing innovations can provide benefits and harms simultaneously. Effects depend on the users, environment, incentives, and availability of alternatives. Support claims with specific evidence, avoid assuming an innovation has identical consequences for everyone.

Vocabulary

innovation
new or improved computing use
stakeholder
affected person/group
unintended consequence
effect beyond stated goal
tradeoff
benefit accompanied by cost

Worked example

Automated translation expands access for many users but may misinterpret low-resource languages or sensitive medical contexts.

Try it · Check your understanding

1. Can an innovation have positive and negative impacts?
Show solution
Yes, and impacts may differ across stakeholders.
2. Why name affected groups in an argument?
Show solution
Consequences depend on whose perspective is considered.
Lesson 7.4 · AP 5.3–5.4 · 1–2 blocks

Digital divide, crowdsourcing and collaboration

CodeHS: 11.10 The Impact of the Internet; 15.1 The Impacts of Computing

Learning targets

  • Describe dimensions of the digital divide.
  • Evaluate the benefits and limits of crowdsourcing.

Core notes

The digital divide includes disparities in access, affordability, skills, and effective participation. Crowdsourcing solicits contributions from many people; it can scale data collection but introduces verification, representativeness, and privacy concerns. Collaboration may diversify perspectives when contributions are evaluated responsibly.

Vocabulary

digital divide
unequal access or ability
crowdsourcing
collecting contributions from many people
accessibility
usability for varied abilities
verification
checking reliability

Worked example

A citizen-science map may gather thousands of reports but underrepresent neighborhoods with poor Internet access.

Try it · Check your understanding

1. Does providing devices alone always close the divide?
Show solution
No; access, training, affordability and infrastructure also matter.
2. Why verify crowdsourced data?
Show solution
Contributions may be inaccurate or duplicated.
Lesson 7.5 · AP 5.5–5.6 · 1–2 blocks

Bias, privacy, intellectual property and safe computing

CodeHS: 11.9 Cybersecurity; 11.11 Creative Credit & Copyright; 15.1 The Impacts of Computing

Learning targets

  • Explain sources of algorithmic bias.
  • Evaluate data privacy and copyright decisions.

Core notes

Computing systems can reproduce bias in training data, labels, design goals, or deployment. Privacy involves collection, consent, sharing, and reidentification risk. Copyright, licensing, and attribution impose obligations when reusing creative work. Security supports privacy but does not by itself establish ethical collection.

Vocabulary

algorithmic bias
systematic unfair output
privacy
control/protection of personal info
license
conditions for use
copyright
legal protection for creative expression

Worked example

A hiring model trained on historically unbalanced records may reproduce those patterns even if protected characteristics are removed from its explicit inputs.

Try it · Check your understanding

1. Can removing a sensitive column eliminate all bias?
Show solution
Not necessarily; proxies and historical patterns can remain.
2. Does publicly available material automatically have no copyright restrictions?
Show solution
No. Public access is not the same as open licensing.

Lesson videos & resources

Core video selection: The matching CodeHS lesson video and AP Daily topic video for each lesson. Direct AP Daily videos are accessed inside the school's AP Classroom enrollment and may not have public URLs.

  1. Lesson 7.1: Collecting and cleaning data. Watch the matched CodeHS lesson video and the corresponding AP Daily topic video for 2.3; pause to answer the notes prompt before the interactive lab. AP Daily requires student login.
  2. Lesson 7.2: Visualization, correlation and inference. Watch the matched CodeHS lesson video and the corresponding AP Daily topic video for 2.3–2.4; pause to answer the notes prompt before the interactive lab. AP Daily requires student login.
  3. Lesson 7.3: Computing innovations and consequences. Watch the matched CodeHS lesson video and the corresponding AP Daily topic video for 5.1–5.2; pause to answer the notes prompt before the interactive lab. AP Daily requires student login.
  4. Lesson 7.4: Digital divide, crowdsourcing and collaboration. Watch the matched CodeHS lesson video and the corresponding AP Daily topic video for 5.3–5.4; pause to answer the notes prompt before the interactive lab. AP Daily requires student login.
  5. Lesson 7.5: Bias, privacy, intellectual property and safe computing. Watch the matched CodeHS lesson video and the corresponding AP Daily topic video for 5.5–5.6; pause to answer the notes prompt before the interactive lab. AP Daily requires student login.

Additional concept resources

Video selections are topic- and platform-matched. Teachers should check account availability and assign individual CodeHS/AP Daily clips from their course dashboards.

Interactive inquiry · Dataset detective & bias investigation

Make a prediction, manipulate the model, record observations, and explain whether your original thinking was correct.

Student lab record: Before you start, write your prediction and reasoning. Afterward, record at least two trials and an evidence-based conclusion. This model is illustrative and its limitations should be noted.

Investigation A · Misleading scales

Two groups score 76 and 82 points. Predict whether the underlying difference changes when the vertical axis is truncated.

Group A 76 · Group B 82

Values are unchanged; the visual impression depends on where the vertical axis begins.

Investigation B · Sampling bias

A town has 500 students: 250 commute by bus and 250 by car. A voluntary app survey receives answers from 20 bus riders and 180 car riders.

Show analysis
A voluntary app survey disproportionately represents car riders. Even when the observed percentage is calculated correctly, extending it to all students may introduce nonresponse and selection bias. Do not treat a reweighted guess as fact without stronger evidence.

Investigation record

Lab responses stay in this page; they are not uploaded or stored on a server.

AP-style practice & self-check

Original multiple-choice questions focus on reasoning, not just coding. Filter by lesson and difficulty. Show explanations in practice mode or hide them in exam mode.

Mastery target: 80% on mixed original questions, plus a clear written explanation on one unfamiliar scenario. Treat the bank as practice, not a secure test.

Teacher lesson specifications & implementation

Teacher-facing scope, exact learning goals, CodeHS alignments, and assessment requirements. This section can be hidden or separated before student publishing.

Pacing and lesson allocation

10 × 85-minute blocks. Shorten or extend CodeHS programming time based on prior experience and how many blocks actually meet; all lessons are supplemental to the main CodeHS course.

Default block: 10 min retrieval · 20 min notes/video · 20 min inquiry · 25 min selected CodeHS/independent practice · 10 min quick assessment.

LessonAPCodeHSMeasurable targetsAssessment specifications
7.1 Collecting and cleaning data2.313.1 Getting Started with Data; 13.3 Data Collection & LimitationsRecognize missing, inconsistent and biased data.; Explain why collection methods shape conclusions.2 quick checks + 3 exam-bank items; lab discussion / exit ticket
7.2 Visualization, correlation and inference2.3–2.413.2 Visualizing and Interpreting Data; 14.1 Present a Data-Driven InsightIdentify misleading visualizations.; Distinguish association from causation.2 quick checks + 3 exam-bank items; lab discussion / exit ticket
7.3 Computing innovations and consequences5.1–5.215.1 The Impacts of Computing; 12.1 The Effects of the InternetIdentify beneficial and harmful impacts of innovations.; Explain effects on different groups.2 quick checks + 3 exam-bank items; lab discussion / exit ticket
7.4 Digital divide, crowdsourcing and collaboration5.3–5.411.10 The Impact of the Internet; 15.1 The Impacts of ComputingDescribe dimensions of the digital divide.; Evaluate the benefits and limits of crowdsourcing.2 quick checks + 3 exam-bank items; lab discussion / exit ticket
7.5 Bias, privacy, intellectual property and safe computing5.5–5.611.9 Cybersecurity; 11.11 Creative Credit & Copyright; 15.1 The Impacts of ComputingExplain sources of algorithmic bias.; Evaluate data privacy and copyright decisions.2 quick checks + 3 exam-bank items; lab discussion / exit ticket

Summative assessment blueprint

40 points: 20 original AP-style multiple-choice questions (1 point each), four short-answer reasoning prompts (3 points each), and one 8-point novel investigation/analysis. Mix current-unit and prior-unit topics. Use AP Classroom separately for official question practice.

Assessment and feedback strategy

  • Independent predictions precede each simulation.
  • Students justify one wrong multiple-choice distractor in writing.
  • Teacher verifies model limitations, not just numeric answers.
  • Repeat key pseudocode and binary ideas in later units.

Source and alignment notes

Continue through the course