Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

AP COMPUTER SCIENCE PRINCIPLES FINAL EXAM

Rating
3.0
(1)
Sold
1
Pages
3
Grade
A+
Uploaded on
23-01-2026
Written in
2025/2026

AP COMPUTER SCIENCE PRINCIPLES FINAL EXAM

Institution
APCSP
Course
APCSP

Content preview

AP COMPUTER SCIENCE PRINCIPLES FINAL EXAM

Laura will go to her friend's house if she has less than two hours of homework or if it is
the weekend. Otherwise she will stay home and study.

In which of the following cases will Laura stay home to study?

a. Laura has 1.5 hours of homework on a Tuesday
b. Laura has 4 hours of homework on a Saturday
c. Laura has 2.5 hours of homework on a Thursday
d. Laura has 1 hour of homework on a Saturday - Answers -C

If x represents the area of the number line colored yellow, which inequality accurately
reflects the value of x? (the image has an open circle on the 5, the arrow pointing
towards the right).

a. x<5
b. x>5
c. x>=5
d. x<=5 - Answers -B

Which of the following statements are true?

I. The internet connects devices and networks all over the world
II. There are no negative consequences of the internet. It is purely positive
III. The internet helps people communicate
IV. The internet helps people collaborate to solve problems - Answers -I, II, and IV

Consider the following program:

var i= 1;
var sum = 0;
while(i < 5){
sum +=
}
println(sum);

Which is the result of running this program?
a. 0 is printed
b. 15 is printed
c. 10 is printed
d. The program results in an infinite loop - Answers -D.

Which of the following successfully switches the values of the variables x and y? temp
may be used as a temporary variable if necessary.

Written for

Institution
APCSP
Course
APCSP

Document information

Uploaded on
January 23, 2026
Number of pages
3
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$11.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF


Also available in package deal

Reviews from verified buyers

Showing all reviews
9 hours ago

3.0

1 reviews

5
0
4
0
3
1
2
0
1
0
Trustworthy reviews on Stuvia

All reviews are made by real Stuvia users after verified purchases.

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
GEEKA YALA UNIVERSITY
Follow You need to be logged in order to follow users or courses
Sold
2098
Member since
4 year
Number of followers
1446
Documents
53693
Last sold
6 hours ago

3.8

358 reviews

5
177
4
61
3
48
2
17
1
55

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions