AP COMPUTER SCIENCE PRINCIPLES • IMPACT OF COMPUTING

Legal and Ethical Concerns

Examining how laws, policies, and moral frameworks govern the creation and use of digital technologies.

Historical Context & Motivation

The rapid expansion of computing technology throughout the late twentieth and early twenty-first centuries created entirely new categories of human interaction, commerce, and creativity—yet legal systems, designed for a physical world, struggled to keep pace. Early programmers operated in a largely unregulated space, but as software became integral to daily life, questions about intellectual property, data privacy, and digital ethics demanded formal answers. Landmark legislation and court cases emerged in response to incidents that exposed gaps between what technology could do and what society believed it should do.

1976
Copyright Act Revision
The U.S. Copyright Act was amended to explicitly include computer software as a protectable literary work, establishing the legal foundation for software intellectual property.
1986
Computer Fraud and Abuse Act
Congress enacted the CFAA to criminalize unauthorized access to computer systems, addressing hacking and digital trespass for the first time at the federal level.
1998
DMCA & COPPA
The Digital Millennium Copyright Act strengthened anti-piracy protections, while the Children's Online Privacy Protection Act safeguarded minors' data online.
2018
GDPR Takes Effect
The EU's General Data Protection Regulation set a global benchmark for data privacy, granting individuals rights over their personal data and imposing heavy penalties on non-compliant organizations.
2023
AI Regulation Debates
Governments worldwide began proposing frameworks for regulating artificial intelligence, raising urgent questions about algorithmic bias, deepfakes, and accountability.

Each of these milestones responded to a gap: technology outpaced the legal and ethical norms that governed it. The central question this lesson addresses is straightforward yet profound—how do societies balance innovation with the protection of individual rights, fairness, and public welfare in an increasingly digital world?

Core Principles & Definitions

Legal and ethical concerns in computing revolve around a set of foundational ideas that the AP CSP exam expects you to articulate clearly. While laws are enforceable rules established by governments, ethics refers to broader moral principles that guide behavior even where no specific law applies. Understanding the interplay between these two dimensions is essential for analyzing real-world computing scenarios.

1

Intellectual Property (IP)

Creations of the mind—software, music, written works—protected by copyright, patents, and trademarks. Using someone's code or content without permission can constitute infringement.
2

Open-Source & Creative Commons

Licensing frameworks such as open-source licenses (GPL, MIT) and Creative Commons allow creators to specify how their work may be shared, modified, or used commercially.
3

Data Privacy & Security

Personally identifiable information (PII)—names, addresses, biometrics—must be collected, stored, and processed responsibly. Laws like GDPR and COPPA define enforceable standards for data handling.
4

Algorithmic Bias & Fairness

Algorithms trained on biased data can perpetuate or amplify discrimination. Ethical computing demands scrutiny of training data, model design, and outcomes across demographic groups.
5

Digital Divide & Access

Unequal access to technology and the internet raises ethical questions about equity. Computing innovations can either narrow or widen existing socioeconomic gaps depending on how they are deployed.
KEY TAKEAWAY
KEY TAKEAWAY

Visualizing the Legal & Ethical Landscape

The diagram above separates the legal domain (statutes, regulations) from the ethical domain (moral principles). The overlap zone in pink represents acts that violate both legal rules and ethical norms simultaneously.

Notice that the two domains are not identical. A company might legally collect vast amounts of user data under a vague terms-of-service agreement, yet doing so without meaningful informed consent raises serious ethical concerns. Conversely, a security researcher who exposes a vulnerability without authorization may violate the CFAA yet act in ways many would consider ethically justified. The AP CSP exam expects you to reason about these gray areas, recognizing that legality and morality do not always align.

How Legal Protections Work in Computing

Intellectual Property Mechanisms

Intellectual property law provides several distinct mechanisms for protecting digital creations. Copyright automatically protects original works of authorship—including source code, images, music, and written content—from the moment they are fixed in a tangible medium. The creator does not need to register the work or include a © symbol, though registration strengthens enforcement. Patents protect novel inventions or processes for a limited time (typically 20 years), and software patents cover specific algorithmic methods rather than abstract ideas. Trademarks protect brand identifiers like logos and names, preventing consumer confusion in the marketplace.

Licensing Models

Common software and content licensing models
License TypeKey FeatureExample
ProprietarySource code is closed; users pay for a license to use the software.Microsoft Office, Adobe Photoshop
Open-Source (Permissive)Code can be used, modified, and redistributed with minimal restrictions.MIT License, Apache 2.0
Open-Source (Copyleft)Derivative works must also be open-source under the same license.GNU GPL
Creative CommonsA spectrum of licenses for creative content—from free reuse to no derivatives.CC BY, CC BY-NC-SA

Data Privacy Mechanisms

Privacy laws regulate how organizations collect, store, process, and share personally identifiable information (PII). PII includes any data that can identify an individual—names, email addresses, Social Security numbers, IP addresses, and biometric data. Under regulations like the EU's GDPR, individuals have the right to access their data, request its deletion, and be informed about how it is used. In the United States, COPPA specifically protects children under 13 by requiring verifiable parental consent before collecting their data. Technical safeguards like encryption convert readable data into coded form, while organizational safeguards like privacy policies and data minimization practices limit the scope of data collection.

Classifying Ethical Concerns in Computing

This classification diagram organizes ethical concerns into four branches—Privacy, IP & Ownership, Bias & Fairness, and Access & Equity—each radiating from a computing innovation. The bottom section identifies the major stakeholder groups affected.

When the AP exam asks you to describe the impact of a computing innovation, a reliable strategy is to map it against these four categories. For instance, consider a social media platform: it raises privacy concerns because it collects extensive PII, IP concerns when users share copyrighted content, bias concerns if its content-recommendation algorithm amplifies certain viewpoints, and access concerns if it requires high bandwidth that not all users have. Thinking in terms of multiple stakeholders—users, creators, society, and companies—ensures a comprehensive analysis.

Worked Example: Analyzing a Computing Innovation

Suppose you are asked: A ride-sharing app collects real-time GPS location, payment information, and ride history. Identify one beneficial effect and one harmful effect, and describe a legal or ethical concern related to the app. This mirrors the style of the AP CSP exam. Let us walk through a structured response.

1
Step 1 — Identify the Innovation and DataThe computing innovation is the ride-sharing app itself. It collects PII including GPS coordinates, credit card numbers, names, email addresses, and ride history—all of which can be linked to specific individuals.
Data identified: GPS, payment info, ride history → all PII
2
Step 2 — Describe a Beneficial EffectThe app increases transportation access for people without personal vehicles, reduces the need for parking infrastructure, and provides flexible income opportunities for drivers. GPS data enables efficient routing, reducing wait times and fuel consumption.
Benefit: Increased transportation access and efficiency
3
Step 3 — Describe a Harmful EffectContinuous GPS tracking creates a detailed movement profile of every user. If this data is breached or shared with third parties without meaningful consent, it could enable stalking, discrimination by insurers, or government surveillance.
Harm: Surveillance risk from detailed location tracking
4
Step 4 — Identify a Legal or Ethical ConcernAn ethical concern is that the app's pricing algorithm may engage in surge pricing during emergencies (e.g., natural disasters), disproportionately affecting lower-income users. While surge pricing may be legal, it raises fairness questions. A legal concern involves compliance with data privacy laws like GDPR: users must be informed about what data is collected and have the right to request its deletion.
Ethical: Surge pricing fairness; Legal: GDPR data rights compliance
EXAM TIP

Tradeoffs & Tensions

Legal and ethical concerns in computing rarely have clean solutions—they involve tradeoffs between competing values. A government might argue that backdoor access to encrypted devices is necessary for national security, while privacy advocates insist that weakening encryption endangers everyone's data. Understanding these tensions is essential for the AP exam, where questions often present scenarios with multiple defensible perspectives.

Key tensions in computing ethics
TensionSide ASide B
Security vs. PrivacySurveillance and data collection improve public safety and national security.Mass surveillance infringes on civil liberties and chills free expression.
Open Access vs. IP ProtectionOpen-source fosters innovation, collaboration, and equitable access to tools.Strong IP protections incentivize creators by ensuring they profit from their work.
Personalization vs. ManipulationAlgorithms tailoring content improve user experience and relevance.Hyper-personalization can create filter bubbles, spread misinformation, and exploit psychological vulnerabilities.
Innovation Speed vs. RegulationMinimal regulation allows rapid development and market-driven solutions.Regulation prevents harm, ensures safety, and protects vulnerable populations.
KEY TAKEAWAY
KEY TAKEAWAY

Connection to Emerging Issues

The legal and ethical frameworks you have studied so far were largely designed for a world of traditional software and websites. Emerging technologies—particularly artificial intelligence, machine learning, and generative AI—are pushing these frameworks to their limits. Understanding how current principles extend to new technologies prepares you for both exam questions and real-world citizenship.

How traditional concerns scale with AI
Traditional ConcernEmerging AI Extension
Copyright protects original creative worksWho owns content generated by AI trained on copyrighted data? Can AI output be copyrighted?
Algorithmic bias in simple recommendation systemsLarge language models can reproduce and amplify societal biases at massive scale, making auditing far more complex.
Privacy concerns with data collectionAI systems infer sensitive attributes (health, political views) from seemingly non-sensitive data, circumventing traditional privacy protections.
Accountability for software errorsWhen an autonomous vehicle causes harm, liability is unclear—is it the developer, the manufacturer, or the owner?

These emerging challenges highlight a recurring theme in computing ethics: technology evolves faster than the laws and norms designed to govern it. The AP CSP framework emphasizes that students should be able to evaluate the beneficial and harmful effects of computing innovations even when clear legal precedent does not yet exist. Ethical reasoning becomes especially important in these gray areas, serving as a compass when the map of law has not yet been drawn.

Practice Problems

1
A developer finds a useful code library online that has no license attached to it. Which of the following best describes the legal status of using this code in a commercial product?
2
A website targeted at children under 13 collects usernames and email addresses during account registration. Under which law is the website most likely required to obtain verifiable parental consent before collecting this data?
3
A machine learning model used by a bank to approve or deny loan applications is found to disproportionately reject applications from a particular demographic group. Which TWO of the following are valid ethical concerns raised by this situation? (Select TWO.)
PROBLEM 4APPLIED
A fitness tracking app collects users' heart rate, GPS location, sleep patterns, and exercise routines. The company that develops the app sells anonymized aggregate data to health insurance companies. (a) Identify one type of personally identifiable information (PII) the app collects. (b) Describe one beneficial effect of the app for its users. (c) Describe one ethical concern related to the company's practice of selling data to insurance companies, even though the data is anonymized.
PROBLEM 5CRITICAL THINKING
A school district implements a new AI-powered proctoring system for online exams. The system uses facial recognition to verify student identity, monitors eye movements to detect cheating, and flags "suspicious" behavior for teacher review. (a) Identify two types of data the proctoring system collects that could be considered PII. (b) Describe one beneficial effect of the system for the school district. (c) Describe one harmful effect of the system for students. (d) Explain how the system could produce biased or unfair outcomes for certain groups of students. (e) Propose one policy or technical change that could mitigate the ethical concern you identified in part (d).
Varsity Tutors • AP Computer Science Principles • Legal and Ethical Concerns