
AP Computer Science Principles Final Exam Review
Quiz by Teresa Elmore
Feel free to use or edit a copy
includes Teacher and Student dashboards
Measure skillsfrom any curriculum
Measure skills
from any curriculum
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
With a free account, teachers can
- edit the questions
- save a copy for later
- start a class game
- automatically assign follow-up activities based on students’ scores
- assign as homework
- share a link with colleagues
- print as a bubble sheet
33 questions
Show answers
- Q1error that results when the number of bits is not enough to hold the number, like a car's odometer "rolling over"Overflow30s
- Q2error that results when the number of bits is not enough to represent the actual number, like 3 digits to represent π as 3.14Round-off30s
- Q3Compressing data in a way that throws some data away and makes it almost impossible to recover the original, great compression, like JPEG imagesLossy30s
- Q4Compressing 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 imagesLossless30s
- Q5data about data, like a camera storing the location, aperture, shutter speed, etc. for a digital photoMetadata30s
- Q6code flows line by line, one after another, like a recipeSequencing30s
- Q7a boolean condition to determine which of two algorithmic paths are taken, aka if-thenSelection30s
- Q8using a looping control structure, like while, for, foreach, repeat, repeat-until, etc.Iteration30s
- Q9polynomial in the number of steps an algorithm takes in the worst case based on the input sizeReasonable time30s
- Q10Usually exponential in the number of steps, like doubling every time your input grows by oneNot reasonable time30s
- Q11using a "rule" to guide an algorithm, like always walking toward the north star if you were stuck in a forestHeuristic30s
- Q12A 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 foreverUndecidable30s
- Q13Going 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 orderLinear vs binary search30s
- Q14Application Programming Interface, how you define libraries and call themAPIs30s
- Q15is any cryptographic system that uses pairs of keys: public keys which may be disseminated widely, and private keys which are known only to the owner.Public key encryption30s