Browse papers
LevelAP Computer Science Principles
SubjectAP Computer Science Principles
Year2025 BS
Exam sessionModel questions
Full marks70
Time allowed120 minutes
Questions10, all with step-by-step solutions
A

Multiple Choice

Select the best answer.

10 questions·1 mark each
1Multiple choice1 mark

Sorted list of 1024 elements. Max comparisons for binary search?

  • a

    1024

  • b

    512

  • c

    10

  • d

    11

Correct answer: c

10

log2(1024)=10\log_2(1024)=10.

The correct answer is (c) 10.

algorithmssearch
2Multiple choice1 mark
list <- [10,20,30,40,50]
result <- 0
FOR EACH item IN list
  IF item MOD 3 = 0
    result <- result + item
DISPLAY result

What is displayed?

  • a

    60

  • b

    30

  • c

    150

  • d

    0

Correct answer: b

30

Only 30 is divisible by 3. Result=30.

The correct answer is (b) 30.

data-abstractionlists
3Multiple choice1 mark

Which protocol routes packets across the Internet?

  • a

    TCP/IP

  • b

    HTTP

  • c

    DNS

  • d

    FTP

Correct answer: a

TCP/IP

TCP/IP.

The correct answer is (a) TCP/IP.

internetprotocols
4Multiple choice1 mark

In public-key crypto, how to securely send a message?

  • a

    Encrypt with sender's private key

  • b

    Encrypt with sender's public key

  • c

    Encrypt with receiver's public key

  • d

    Use same shared key

Correct answer: c

Encrypt with receiver's public key

Encrypt with receiver's public key.

The correct answer is (c).

cybersecurityencryption
5Multiple choice1 mark

'Digital divide' refers to:

  • a

    Difference between analog and digital signals

  • b

    Gap between groups with and without access to digital technology and the Internet

  • c

    Division between hardware and software

  • d

    Split between open-source and proprietary software

Correct answer: b

Gap between groups with and without access to digital technology and the Internet

Gap between those with/without access to digital technology.

The correct answer is (b).

computing-impactdigital-divide
6Multiple choice1 mark

Photo dataset: file name, date, GPS, camera model, file size. Which is metadata?

  • a

    Only file name

  • b

    Only GPS coordinates

  • c

    Only file size

  • d

    All of the above are metadata

Correct answer: d

All of the above are metadata

All are metadata (data about data, not the image content itself).

The correct answer is (d).

data-analysismetadata
7Multiple choice1 mark
x <- 1
REPEAT 5 TIMES
  x <- x * 2
DISPLAY x

What is displayed?

  • a

    10

  • b

    16

  • c

    32

  • d

    64

Correct answer: c

32

124816321\to2\to4\to8\to16\to32.

The correct answer is (c) 32.

programmingiteration
8Multiple choice1 mark

Operations proportional to n2n^2. Time complexity?

  • a

    Linear

  • b

    Quadratic

  • c

    Logarithmic

  • d

    Exponential

Correct answer: b

Quadratic

Quadratic: O(n2)O(n^2).

The correct answer is (b) Quadratic.

algorithmsefficiency
9Multiple choice1 mark

Email impersonating bank, mismatched URL asks for credentials. This is:

  • a

    Phishing

  • b

    A DDoS attack

  • c

    A SQL injection

  • d

    Keylogging

Correct answer: a

Phishing

Phishing.

The correct answer is (a) Phishing.

cybersecurityphishing
10Multiple choice1 mark

Best chart for showing 3 budget categories' share of total spending?

  • a

    Scatter plot

  • b

    Line graph

  • c

    Histogram

  • d

    Pie chart

Correct answer: d

Pie chart

Pie chart shows parts of a whole.

The correct answer is (d) Pie chart.

data-analysisvisualization

Frequently asked questions

Where can I find the AP Computer Science Principles AP Computer Science Principles question paper 2025?
The full AP Computer Science Principles AP Computer Science Principles 2025 (Model questions) question paper is available free on Kekkei. You can read every question online and attempt the paper under timed exam conditions.
Does the AP Computer Science Principles 2025 paper come with solutions?
Yes. Every question on this AP Computer Science Principles past paper includes a step-by-step solution, plus instant AI feedback when you attempt it on Kekkei.
How many marks is the AP Computer Science Principles AP Computer Science Principles 2025 paper?
The AP Computer Science Principles AP Computer Science Principles 2025 paper carries 70 full marks and is meant to be completed in 120 minutes, across 10 questions.
Is practising this AP Computer Science Principles past paper free?
Yes — reading and attempting this AP Computer Science Principles past paper on Kekkei is completely free.