AP English Language and Composition Practice Quiz: Citation ethics and minimal documentation
Written by AP Content Team, Verified for 2026 AP Exams, Last updated: May 2026
Test your understanding with short quizzes. This quiz has 10 questions to check your progress.
Question 1 of 10
All Questions (10)
A) To avoid plagiarism and acknowledge the intellectual property of others.
B) To increase the file size of the project with additional comments.
C) To prove that your code is more complex than it actually is.
D) To satisfy a requirement of the programming language's compiler.
Correct Answer: A
Essential Knowledge 1 states that citation is important to respect the intellectual property of others, give credit where it is due, and avoid plagiarism. The other options are incorrect and unrelated to the ethical purpose of citation.
A) A 50-line custom sorting algorithm copied from a programming blog.
B) A background image downloaded from an artist's personal website.
C) The use of a standard `for` loop to iterate through a list.
D) An open-source library for data visualization that they imported into their project.
Correct Answer: C
Essential Knowledge 2 clarifies that content considered 'minimal' or part of a programming language's standard library, such as a `for` loop, does not require citation. A complex algorithm, an artist's image, and an entire library are all significant works by others that require attribution.
A) They can use the code freely without any acknowledgment since it is open-source.
B) They must contact the original author to negotiate a payment for its use.
C) They must understand and follow the license terms, which includes providing proper credit to the original creator.
D) They should rewrite the code in their own style to avoid any licensing issues.
Correct Answer: C
Essential Knowledge 3 emphasizes that it is the creator's responsibility to understand and adhere to the terms of the license for any third-party material. Since the license requires attribution, the developer is obligated to provide it.
A) Pasting the code into their project without any comments or attribution.
B) Changing the variable names in the copied code to make it look original.
C) Adding a comment next to the code block citing the source URL and the original author.
D) Deleting the code after understanding how it works and trying to rewrite it from memory.
Correct Answer: C
According to Essential Knowledge 1, respecting intellectual property involves citing the original source. Adding a comment with the source information is the correct way to give credit and avoid plagiarism. Options A and B are clear examples of plagiarism.
A) Any code segment that is less than 10 lines long.
B) Using fundamental building blocks and standard library functions of a programming language.
C) Any piece of code that the programmer fully understands.
D) Code that is publicly available on the internet for anyone to see.
Correct Answer: B
Essential Knowledge 2 defines minimal use in the context of standard library functions and basic language structures (like loops or conditional statements). The length of the code, the programmer's understanding, or its public availability do not determine whether it requires citation; the origin and nature of the code do.
A) Only the `print()` function.
B) Only the Python script and the background song.
C) Only the background song.
D) The Python script, the background song, and the `print()` function.
Correct Answer: B
The Python script is a significant work from a repository (EK1) and the song's license explicitly requires attribution (EK3). The `print()` function is a standard, minimal part of the language and does not require citation (EK2). Therefore, both the script and the song must be cited.
A) The original creator of the artifact.
B) The company that owns the programming language.
C) The programmer who is incorporating the artifact into their new work.
D) The end-users who will run the final program.
Correct Answer: C
Essential Knowledge 3 clearly states that it is the creator's (the programmer incorporating the work) responsibility to understand and adhere to the license terms for any third-party material they use.
A) An `if-else` statement to control program flow.
B) A mathematical formula, such as the Pythagorean theorem (a² + b² = c²).
C) A unique and complex data compression algorithm developed by a university research team and published in a paper.
D) A variable named `userScore` initialized to zero.
Correct Answer: C
The unique and complex algorithm is a significant piece of intellectual property created by others and requires citation (EK1). The `if-else` statement and variable declaration are minimal, standard parts of programming (EK2). A common mathematical formula is considered common knowledge and does not require citation in a programming context.
A) Since the code is only three lines, it qualifies as 'minimal' and can be used without citation.
B) The programmer should cite the source because the intellectual contribution of the unique logic is significant, regardless of its length.
C) The programmer can use the code without citation as long as it was posted on a public forum.
D) The programmer must pay the original author before using the code, as its cleverness implies commercial value.
Correct Answer: B
This question tests the nuance of Essential Knowledge 2. The line between minimal and citable work can be subjective, but it is based on intellectual contribution, not just length. A short but unique and complex algorithm is not 'minimal' in the same way a standard language feature is. The ethical action is to cite the source of the clever logic.
A) Program efficiency and code readability.
B) Legal compliance with licenses and ethical acknowledgment of creators.
C) Software compatibility and user interface design.
D) Project budget and marketing strategy.
Correct Answer: B
The Learning Objective for this topic focuses on the legal and ethical considerations of integrating others' work. Proper citation directly addresses both: it fulfills the legal requirements of many licenses and satisfies the ethical obligation to give credit to the original creator.