syntax error - ANSWER A mistake in typed code that violates the rules of the programming language. Typically, code with syntax errors will not run.
logic error - ANSWER A mistake in an algorithm or program that causes it to behave unexpectedly or return the incorrect value.
run-time error - A...
AP CSP Exam Prep Correct 100%
syntax error - ANSWER A mistake in typed code that violates the rules of the
programming language. Typically, code with syntax errors will not run.
logic error - ANSWER A mistake in an algorithm or program that causes it to behave
unexpectedly or return the incorrect value.
run-time error - ANSWER A mistake in a program that happens only when the program
is actually run, such as a program attempting to access memory that does not exist.
overflow error - ANSWER Error that results when the number of bits is not enough to
represent the number (like a car's odometer "rolling over")
bit - ANSWER A binary digit, either 0 or 1
byte - ANSWER A sequence of 8 bits
roundoff - ANSWER Error that results when the number of bits is not enough to
represent the number with full precision (like using 3 digits to represent \piπpi as 3.14)
analog data - ANSWER Values that change smoothly, rather than in discrete intervals,
over time. For example, the pitch and volume of a live concert.
lossless - ANSWER Compressing data in a way that preserves all data away and allows
full recovery of the original
lossy - ANSWER Compressing data in a way that discards some data and makes it
impossible to recover the original
metadata - ANSWER Data about data, like descriptive information about a file or a row
in a database.
sequencing - ANSWER The sequential execution of steps in an algorithm or code in a
program (like steps in a recipe)
selection - ANSWER A Boolean condition to determine which of two paths are taken in
an algorithm or program
iteration - ANSWER The repetition of steps in an algorithm or program for a certain
amount of times or until a certain condition is met
linear search - ANSWER An algorithm that iterates through each item in a list until it
finds the target value
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 shantelleG. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for £9.19. You're not tied to anything after your purchase.