AP Computer Science Principles Final/AP Practice
Questions With Complete Solutions
0 MOD 4 Correct Answer 0
10 MOD 2 Correct Answer 0
20 MOD 0 Correct Answer error
20 MOD 4 Correct Answer 0
4 MOD 20 Correct Answer 4
As computing advances, what also happens? Correct Answer
our ability to use programming to think creatively in many fields
As more and more devices are connected to the internet, the way
of using the internet where people give permission to devices to
access the internet is often called what? Correct Answer the
internet of things
At all levels of a hierarchy, what is true? Correct Answer
protocols are followed
Converting data is often what? Correct Answer costly
Give an example of something that uses asymmetric encryption?
Correct Answer a credit card transaction
Give an example of something that uses both types of
encryption. Correct Answer SSL/TLS
,Give three examples of a time when you would use iteration in
an algorithm. Correct Answer you want to do something a
certain number of times
you want to do something until a condition is true
you have a collection of data and you need to see each element
in the collection
Give two examples of algorithms that run in reasonable time.
Correct Answer linear search and binary search
Given one problem, what could be true in regards to algorithms?
Correct Answer there could be more than one algorithm that
could solve it
How are abstractions described? Correct Answer in terms of
level or layer
How are algorithms denoted? Correct Answer using Big O
notation
How are algorithms described? Correct Answer using
mathematical patterns
How are IPv6 addresses usually written? Correct Answer in
hexadecimal notation
How can you determine if a number is even or odd? Correct
Answer by using x MOD 2, if the answer is 1, it is odd, if the
answer is 0, it is even
, How do computers help in the process of combining data in
creative ways? Correct Answer they combine data sources
cluster data
classify data
find trends in data
How do you fix semantic errors? Correct Answer display what
is going on in the program or consider redesigning
How do you fix syntax errors? Correct Answer refer to
program documentation
How do you remove items from the list by their location?
Correct Answer by using the REMOVE command
How is bandwidth calculated? Correct Answer amount of bits /
latency
How is data being transferred over the internet secured? Correct
Answer SSL/TLS
How is the flow of data on the Internet typically measured?
Correct Answer as bandwidth
How long are IPv6 addresses in length? Correct Answer 16
bytes
How long is an IPv4 address in length? Correct Answer 4 bytes
If a list has ten elements, how many iterations could a linear
search possibly take? Correct Answer ten
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 or Stuvia-credit 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 Classroom. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $12.99. You're not tied to anything after your purchase.