AP Computer Science Principles Final Exam Review Correct 100%
0 view 0 purchase
Course
APCSP
Institution
APCSP
Overflow - ANSWER error that results when the number of bits is not enough to hold the number, like a car's odometer "rolling over"
Round-off - ANSWER error that results when the number of bits is not enough to represent the actual number, like 3 digits to represent π as 3.14
Lossy - ANSWER ...
AP Computer Science Principles Final
Exam Review Correct 100%
Overflow - ANSWER error that results when the number of bits is not enough to hold the
number, like a car's odometer "rolling over"
Round-off - ANSWER error that results when the number of bits is not enough to
represent the actual number, like 3 digits to represent π as 3.14
Lossy - ANSWER Compressing data in a way that throws some data away and makes it
almost impossible to recover the original, great compression, like JPEG images
Lossless - ANSWER Compressing data in a way that preserves all data away and
allows full recovery of the original, good compression -- usually not as good as lossy,
like PNG images
Metadata - ANSWER data about data, like a camera storing the location, aperture,
shutter speed, etc. for a digital photo
Sequencing - ANSWER code flows line by line, one after another, like a recipe
Selection - ANSWER a boolean condition to determine which of two algorithmic paths
are taken, aka if-then
Iteration - ANSWER using a looping control structure, like while, for, foreach, repeat,
repeat-until, etc.
Reasonable time - ANSWER polynomial in the number of steps an algorithm takes in
the worst case based on the input size
Not reasonable time - ANSWER Usually exponential in the number of steps, like
doubling every time your input grows by one
Heuristic - ANSWER using a "rule" to guide an algorithm, like always walking toward the
north star if you were stuck in a forest
Undecidable - ANSWER A problem that is so difficult, we can't ever create an algorithm
that would be able to answer yes or no for all inputs, like determining if a user's program
run on some input would always stop and not run forever
Linear vs binary search - ANSWER Going one by one vs starting in the middle and
going left/right like looking for a word in the dictionary -- binary search requires the list to
be sorted in order
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 shantelleG. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $9.99. You're not tied to anything after your purchase.