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
Document preview thumbnail
Preview 1 out of 3 pages
Exam (elaborations)

AP COMPUTER SCIENCE PRINCIPLES FINAL EXAM

Document preview thumbnail
Preview 1 out of 3 pages

AP COMPUTER SCIENCE PRINCIPLES FINAL EXAM

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.

Document information

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

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

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
3.8
(363)
Sold
2147
Followers
1448
Items
59408
Last sold
3 days ago


Reviews from verified buyers




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