Learn AP Comp Sci

Problem of the Day

Monday, January 19, 2026


Problem:

Open-source projects often make their code available online at GitHub where they can be forked by programmers who want to contribute to improving the project. After writing code for a forked project, a programmer typically informs the project leader by

  1. emailing the maintainer
  2. issuing a pull-request
  3. performing a git commit
  4. cloning the repository

(Note: This question includes topics that are not currently part of the AP Computer Science A core curriculum.)

Show solution:

The correct answer is b. A forked project modified by a contributor might include patched code or implementation of new features. A pull request is a formal notification to the project maintainer that a modified version of the code has been written, and is available for possible inclusion in the project. (It is up to the maintainer whether or not this new code will be accepted.)