AP Computer Science Principles Exam Questions with Correct Answers
0 view 0 purchase
Module
AP Computer Science
Institution
AP Computer Science
AP Computer Science Principles Exam
Questions with Correct Answers
Consider the following code segment, which uses the variables r, s, and t.
r <-- 1
s <-- 2
t <-- 3
r <-- s
s <-- t
DISPLAY (r)
DISPLAY (s)
What is displayed as a result of running the code segment?
(A) 1 1
...
Which of the following is a true statement about product documentation?
(A) Program documentation should not be changed after it is first written.
(B) Program documentation is only needed for programs in development; it is not needed after a
program is completed.
(C) Program documentation is useful when programmers collaborate but not when a programmer works
individually on a project.
(D) Program documentation is useful during initial program development and also when modifications
are made to existing programs. - ANSWER✔✔-(D)
Which of the following best explains what happens when a new device is connected to the Internet?
(A) A device driver is assigned to the device.
(B) An Internet Protocol (IP) address is assigned to the device.
(C) A packet number is assigned to the device.
(D) A Web site is assigned to the device. - ANSWER✔✔-(B)
Page 2/15
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Emillect. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for £8.34. You're not tied to anything after your purchase.