AP Computer Science Principles · Unit 5 lecture · Part 6 of 11 · 9 min

5.5 Legal and ethical concernsWho owns it, and how you may use it

Mr. Thompkins
Can you use any image you find online in your Create task? Any song in your video? This section answers that, and it also answers what you need to do with code you didn't write yourself.

Material created on a computer is the intellectual property of the creator or an organization. Because digital work is so easy to access, copy and distribute, it raises legal and ethical concerns about ownership, value and use, and measures should be taken to safeguard it. Copyright is the legal protection for that work. In the U.S., it applies automatically the moment something is created; no form or symbol is needed.

Using material created by someone else without permission and presenting it as your own is plagiarism, and it may have legal consequences. It's also an integrity problem on the AP exam: your Create task must acknowledge any code you didn't write, including code from classmates, websites and AI tools.

?Wait, what's intellectual property?
Intellectual property is a creation of the mind (a song, a photo, a program, an invention) that the law treats as belonging to its creator. Copyright, patents and trademarks are the main protections. For this course, copyright is the one that matters.

There are legal ways to use material created by others. Creative Commons is a public copyright license that enables the free distribution of an otherwise copyrighted work: the creator keeps the copyright but chooses to let others share, use and build on it, with conditions the creator picks, like requiring credit. Open source programs are made freely available and may be freely shared and modified. Open access is online research output free of all restrictions on access and free of many restrictions on use, such as copyright or license restrictions.

StatusWhat you may doWhat you must do
Copyright (the default)Use it only with the owner's permissionAsk first; assume online work is protected
Creative Commons BYShare and adapt, even commerciallyCredit the creator and name the license
Creative Commons BY-NCShare and adapt, not to make moneyCredit; no commercial use
CC0 (public domain)AnythingNothing required; crediting is still good practice
Open source softwareUse, study, change and share the codeFollow its license; acknowledge it in your code
Open access researchRead and share the research for freeCite it like any source
Copyright protects by default. Creative Commons, open source and open access are choices that open work up.

Creative Commons, open source and open access have enabled broad access to digital information. A student in any country can read open access research, a startup can build on open source code, and a teacher can use Creative Commons images in a slideshow, all legally.

Did you make it?yesuse itnoDoes a license allow your use?yesuse + creditnoDid the owner give permission?yesuse + creditdon't use it
A quick test for using someone else's work. Every "yes" path still ends in giving credit.

Ethics goes beyond ownership. The use of computing to harm individuals or groups of people raises legal and ethical concerns, and computing can play a role in social and political issues, which in turn often raises legal and ethical concerns. The CED gives examples: software that allows downloading and streaming of media, which can be used to share work without paying its creators; algorithms that include bias; and devices that collect and analyze data by continuously monitoring activities, like a smart speaker that's always listening for its wake word.

?Wait, how do I acknowledge code in my Create task?
Put a comment in your program next to the code you didn't write, naming where it came from: a library, a website, a classmate, or an AI tool. You can use that code in your program, but your written responses must be about code you wrote yourself.
Pause and think
A song is free to listen to on a streaming site. Does "free to listen" mean free to put in the soundtrack of a video you post? Why or why not?
I thought about it. Show me
No. Being free to stream means you have permission to listen, not permission to copy or reuse. The song is still copyrighted. Unless its license (like Creative Commons) or the owner gives permission, using it in your video isn't allowed.
Analyze this scenario
For her Create task, Rosa is building a quiz game. She wants to use: (a) a photo marked "CC BY" from a photo-sharing site, (b) a cartoon character she found in an image search, (c) a procedure from an open source library that shuffles a list, and (d) a scoring formula a classmate wrote. Decide whether she can use each one and what she must do.
  1. (a) Yes. CC BY allows reuse as long as she credits the photographer. She names the photographer and the license.
    Why?
    Permission plus credit: the license is the permission, and BY means attribution is required.
  2. (b) No, unless she finds a license that allows it. Image search results are usually copyrighted, and a famous character is someone's intellectual property.
    Why?
    Appearing in search results is not permission.
  3. (c) Yes. Open source code may be used and modified under its license. She acknowledges it in a comment with its source.
  4. (d) Yes, with an acknowledgment in a comment naming her classmate. But she can't describe that formula as her own work in her written responses.

Answer: Use (a) with credit, (c) with a comment citing the library, and (d) with a comment naming the classmate. Leave out (b) unless a license allows it.

Stuck? Get a hint
  1. For each item, ask first: who owns it, and is there a license?
  2. CC BY means "yes, with credit". Open source means "yes, follow the license".
  3. An image search is not a license.
Check yourself
A photographer wants anyone to be able to reuse her photos for free, as long as they give her credit. Which option best fits her goal?
  1. AKeep the photos private on her own computer
  2. BPublish the photos with no name attached
  3. CPublish the photos under a Creative Commons license that requires attribution
  4. DEncrypt the photos before posting them
Show the answer

C. A Creative Commons attribution license gives everyone permission to reuse the photos on the condition that they credit her. Encrypting them, the trap here, would stop people from seeing them at all.

Check yourself
Which statement correctly distinguishes open source from open access?
  1. AOpen source refers to research papers; open access refers to program code
  2. BOpen source programs can be freely shared and modified; open access research is free to read with few restrictions on use
  3. CBoth mean the work has no copyright and needs no credit
  4. DOpen source software can only be used by the company that wrote it
Show the answer

B. Open source is about program code you may share and change. Open access is about research you may read freely. The first choice swaps them, and the third forgets that licenses still set conditions, and credit is still expected.

Exam tip from Mr. T

Licensing questions come down to two words: permission plus credit. Pick the choice that uses the work the way its license allows and names the creator. Any choice that removes the creator's name or ignores the license is wrong.

  • Digital work is the intellectual property of its creator, protected by copyright by default.
  • Plagiarism: using someone else's work without permission and presenting it as your own.
  • Creative Commons: free licenses that let creators allow reuse on their terms. Open source: code free to share and modify. Open access: research free to read.
  • Computing used to harm people raises legal and ethical concerns.