Open Source

Open source software is software whose source code is publicly available for anyone to view, modify, and redistribute. In AP CSP, it shows up in Unit 5 (Impact of Computing) as a legal and ethical alternative to keeping code as protected intellectual property.

Verified for the 2027 AP Computer Science Principles examLast updated June 2026

What is Open Source?

Open source software is software where the actual source code, the human-readable instructions, is published for anyone to read, change, and share. Compare that to closed-source (proprietary) software, where the company keeps the code secret and you only get the finished program. Open source flips the model. Instead of one company controlling everything, a community of developers can fix bugs, add features, and build new tools on top of each other's work.

In AP Computer Science Principles, open source isn't just trivia about how software gets made. It's part of the bigger conversation about intellectual property, licensing, and the ethics of using other people's work. Open source code is still owned by its creators and still comes with a license. The license just grants you permission to use and modify the code, usually with conditions like giving credit or sharing your changes under the same terms. "Open" does not mean "no rules."

Why Open Source matters in AP Computer Science Principles

Open source lives in Unit 5, Impact of Computing, in the part of the course about legal and ethical concerns. The CED expects you to understand intellectual property concepts like copyright, Creative Commons, open source, and open access, and to recognize when using someone else's material is legal versus when it's plagiarism or infringement. Open source also connects to crowdsourcing and collaboration, another Unit 5 idea, because open projects let huge distributed communities solve problems together. There's a practical angle too. If you used open source libraries or code snippets in your Create performance task, you were required to cite them. The exam treats open source as the clean example of how sharing and ownership can coexist through licensing.

How Open Source connects across the course

License (Unit 5)

Open source is not the absence of a license. It IS a license. An open source license is a legal document that says 'yes, you may use, modify, and share this code,' often with strings attached like attribution or sharing your version under the same terms. This is the single most important link to get right.

Intellectual Property (Unit 5)

Open source code is still someone's intellectual property protected by copyright. The creator chooses to grant broad permissions instead of restricting use. Open source is one answer to the question 'how do creators control their work?' Proprietary software is the other answer.

GitHub and Forking (Units 1 and 5)

GitHub is where most open source actually happens. Forking means copying someone's open source project so you can modify it independently. This is collaboration in action, the same collaborative development idea the course introduces in Unit 1.

Citizen Science (Unit 5)

Both open source and citizen science run on the same engine, which is crowdsourcing. Open source distributes coding work across volunteers worldwide, while citizen science distributes data collection. The exam loves this pattern of many people contributing small pieces to one big project.

Is Open Source on the AP Computer Science Principles exam?

Open source shows up in multiple-choice questions about Unit 5's legal and ethical concerns. Typical stems ask you to identify which scenario describes open source software, whether a given use of code is legal under an open source license, or how open source differs from Creative Commons and open access. You don't need to memorize specific licenses like GPL or MIT. You need to know that open source means code is freely viewable and modifiable, that it still requires following license terms and giving attribution, and that it enables collaboration and faster innovation. It also matters for the Create task, since any borrowed code must be cited even if it's open source.

Open Source vs Open Access

Both appear in the same part of the CED, and both involve the word 'open,' so they blur together. Open source is about software, meaning the code itself is available to view and modify. Open access is about research and information, meaning scholarly articles, data, and resources are freely available to read online without a paywall. If the question is about modifying code, it's open source. If it's about reading research or accessing databases for free, it's open access.

Key things to remember about Open Source

  • Open source software makes its source code publicly available for anyone to view, modify, and redistribute.

  • Open source code is still intellectual property and still has a license; you must follow the license terms and give attribution when you use it.

  • Open source enables collaboration and crowdsourced development, which speeds up innovation because thousands of people can improve the same project.

  • Open source applies to software code, while open access applies to freely available research and information, and Creative Commons applies to creative works like images and music.

  • On the Create performance task, you have to cite any open source code or libraries you use, even though they're free.

Frequently asked questions about Open Source

What is open source in AP Computer Science Principles?

Open source is software whose source code is publicly available for anyone to view, modify, and distribute. AP CSP covers it in Unit 5 (Impact of Computing) as part of intellectual property and legal/ethical concerns.

Does open source mean the software is free to do anything with?

No. Open source software comes with a license that grants permission to use and modify the code, but usually with conditions like crediting the original author or releasing your modified version under the same license. Ignoring those terms is a license violation.

What's the difference between open source and Creative Commons?

Open source licenses apply to software code, while Creative Commons licenses apply to creative content like images, music, videos, and writing. Both let creators share work with permissions attached, but the exam treats them as separate categories.

How is open source different from open access?

Open source means code you can read and modify; open access means research papers and information you can read for free without a paywall. AP CSP multiple-choice questions sometimes test whether you can tell these apart.

Do I have to cite open source code in my Create performance task?

Yes. Any code segment, library, or snippet you didn't write yourself must be acknowledged, even if it's open source and free to use. Failing to cite borrowed code can be treated as plagiarism.