AP Computer Science Principles -
Semester I Exam 2026 Questions and
Answers
Abstraction - Correct answer-Removing unnecessary details to focus on the
essential characteristics. To break problems up into separate parts which can then
be solved separately and recombined to form a complete solution. To focus on and
use something based only on what it does and without concern for how that
functionality is accomplished.
Pulling out specific differences to make one solution work for multiple problems
Aggregation - Correct answer-A computation in which rows from a data set are
grouped together and used to compute a single value of more significant meaning
or measurement. Common aggregations include: Average, Count, Sum, Max,
Median, etc.
©COPYRIGHT 2025, ALL RIGHTS RESERVED 1
, For example, if some dataset contained information about how many hours of
television people watched and included their age, you could "aggregate the data by
age" and compute the average hours watched for each age group. You could also
"aggregate by hours of TV watched" and compute the average age for each number
of hours
Algorithm - Correct answer-A precise sequence of instructions for processes that
can be executed by a computer and are implemented using programming
languages. (NOTE: this is the definition from the AP CS Principles framework)
API - Correct answer-a collection of commands made available to a programmer
ASCII - Correct answer-American Standard Code for Information Interchange.
ASCII is the universally recognized raw text format that any computer can
understand
Asymmetric encryption - Correct answer-a type of cryptographic based on
algorithms that require two keys -- one of which is secret (or private) and one of
which is public (freely known to others)
Bandwidth - Correct answer-Bandwidth is normally expressed in bits per second.
It's the amount of data that can be transferred during a second.
©COPYRIGHT 2025, ALL RIGHTS RESERVED 2
Semester I Exam 2026 Questions and
Answers
Abstraction - Correct answer-Removing unnecessary details to focus on the
essential characteristics. To break problems up into separate parts which can then
be solved separately and recombined to form a complete solution. To focus on and
use something based only on what it does and without concern for how that
functionality is accomplished.
Pulling out specific differences to make one solution work for multiple problems
Aggregation - Correct answer-A computation in which rows from a data set are
grouped together and used to compute a single value of more significant meaning
or measurement. Common aggregations include: Average, Count, Sum, Max,
Median, etc.
©COPYRIGHT 2025, ALL RIGHTS RESERVED 1
, For example, if some dataset contained information about how many hours of
television people watched and included their age, you could "aggregate the data by
age" and compute the average hours watched for each age group. You could also
"aggregate by hours of TV watched" and compute the average age for each number
of hours
Algorithm - Correct answer-A precise sequence of instructions for processes that
can be executed by a computer and are implemented using programming
languages. (NOTE: this is the definition from the AP CS Principles framework)
API - Correct answer-a collection of commands made available to a programmer
ASCII - Correct answer-American Standard Code for Information Interchange.
ASCII is the universally recognized raw text format that any computer can
understand
Asymmetric encryption - Correct answer-a type of cryptographic based on
algorithms that require two keys -- one of which is secret (or private) and one of
which is public (freely known to others)
Bandwidth - Correct answer-Bandwidth is normally expressed in bits per second.
It's the amount of data that can be transferred during a second.
©COPYRIGHT 2025, ALL RIGHTS RESERVED 2