100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

AP Computer Science Principles Exam Questions with Verified Answers

Rating
-
Sold
-
Pages
11
Grade
A+
Uploaded on
18-05-2025
Written in
2024/2025

AP Computer Science Principles Exam Questions with Verified Answers

Institution
AP Computer Science
Course
AP Computer Science









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
AP Computer Science
Course
AP Computer Science

Document information

Uploaded on
May 18, 2025
Number of pages
11
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

AP Computer Science Principles Exam
Questions with Verified Answers
OverflowA-ACORRECTAANSWERSA-
errorAthatAresultsAwhenAtheAnumberAofAbitsAisAnotAenoughAtoAholdAtheAnumber,AlikeAaAcar'sA
odometerA"rollingAover"
Round-offA-ACORRECTAANSWERSA-
errorAthatAresultsAwhenAtheAnumberAofAbitsAisAnotAenoughAtoArepresentAtheAactualAnumber,A
likeA3AdigitsAtoArepresentAπAasA3.14
LossyA-ACORRECTAANSWERSA-
CompressingAdataAinAaAwayAthatAthrowsAsomeAdataAawayAandAmakesAitAalmostAimpossible
AtoArecoverAtheAoriginal,AgreatAcompression,AlikeAJPEGAimages

LosslessA-ACORRECTAANSWERSA-
CompressingAdataAinAaAwayAthatApreservesAallAdataAawayAandAallowsAfullArecoveryAofAtheA
original,AgoodAcompressionA--AusuallyAnotAasAgoodAasAlossy,AlikeAPNGAimages
MetadataA-ACORRECTAANSWERSA-
dataAaboutAdata,AlikeAaAcameraAstoringAtheAlocation,Aaperture,AshutterAspeed,Aetc.AforAaAdi
gitalAphoto
SequencingA-ACORRECTAANSWERSA-
codeAflowsAlineAbyAline,AoneAafterAanother,AlikeAaArecipe
SelectionA-ACORRECTAANSWERSA-
aAbooleanAconditionAtoAdetermineAwhichAofAtwoAalgorithmicApathsAareAtaken,AakaAif-then
IterationA-ACORRECTAANSWERSA-
usingAaAloopingAcontrolAstructure,AlikeAwhile,Afor,Aforeach,Arepeat,Arepeat-until,Aetc.
ReasonableATimeA-ACORRECTAANSWERSA-
polynomialAinAtheAnumberAofAstepsAanAalgorithmAtakesAinAtheAworstAcaseAbasedAonAtheAinp
utAsize
NotAreasonableAtimeA-ACORRECTAANSWERSA-
UsuallyAexponentialAinAtheAnumberAofAsteps,AlikeAdoublingAeveryAtimeAyourAinputAgrowsAby
Aone

HeuristicA-ACORRECTAANSWERSA-
usingAaA"rule"AtoAguideAanAalgorithm,AlikeAalwaysAwalkingAtowardAtheAnorthAstarAifAyouAwer
eAstuckAinAaAforest
UndecidableA-ACORRECTAANSWERSA-
AAproblemAthatAisAsoAdifficult,AweAcan'tAeverAcreateAanAalgorithmAthatAwouldAbeAableAtoAans
werAyesAorAnoAforAallAinputs,AlikeAdeterminingAifAaAuser'sAprogramArunAonAsomeAinputAwould
AalwaysAstopAandAnotArunAforever

LinearASearchA-ACORRECTAANSWERSA-
GoingAoneAbyAoneAvsAstartingAinAtheAmiddleAandAgoingAleft/rightAlikeAlookingAforAaAwordAinAt
heAdictionary
BinaryASearchA-ACORRECTAANSWERSA-
requiresAtheAlistAtoAbeAsortedAinAorderAandAthenAcuttingAtheAlistAinAhalf
APIsA-ACORRECTAANSWERSA-ApplicationAProgrammingAInterface

, CitizenAScienceA-ACORRECTAANSWERSA-
LotsAofApeopleAtoAhelpAwithAaAscientificAproject,AlikeAaskingAeveryoneAaroundAtheAworldAtoA
countAtheAbutterfliesAtheyAseeAoneAday
CloudAComputingA-ACORRECTAANSWERSA-
UsingAdistributedAcalculationsAand/orAstorageAforAbigAdataAorAaAwebAapplication
CrowdsourcingA-ACORRECTAANSWERSA-
AskingAlotsAofAusersAonlineAtoAhelpAwithAsomething,AlikeAfundingAaAproject,AorArunningASET
I@HomeAtoAhelpAlookAforAextraterrestrialAsignals
CreativeACommonsA-ACORRECTAANSWERSA-
AnAalternativeAtoAcopyrightAthatAallowsApeopleAtoAdeclareAhowAtheyAwantAtheirAartisticAcrea
tionsAtoAbeAshared,Aremixed,AusedAinAnoncommercialAcontexts,AandAhowAtheApolicyAshould
ApropagateAwithAremixedAversions

OpenAAccessA-ACORRECTAANSWERSA-
AApolicyAthatAallowsApeopleAtoAhaveAreadAaccessAtoAthings,Ae.g.,AlibrariesAorAonlineAdata
Moore'sALawA-ACORRECTAANSWERSA-
TheA#AofAtransistorsAonAaAchipAdoublesAeveryAtwoAyears
Peer-to-peerANetworksA-ACORRECTAANSWERSA-
AAsystemAwhereAoneAuser'sAcomputerAconnectsAthroughAtheAInternetAtoAanotherAuser'sAco
mputerAwithoutAgoingAthroughAanAintermediaryA"centralized"AcomputerAtoAmanageAtheAcon
nection
DigitalADivideA-ACORRECTAANSWERSA-
TheAideaAthatAsomeAcommunitiesA/ApopulationsAhaveAlessAaccessAtoAcomputingAthanAothe
rs
ISPA-ACORRECTAANSWERSA-InternetAServiceAProvider
HowAdoesAinternetAcommunicationAarriveAatAitsAdestination?A-ACORRECTAANSWERSA-
SpeechAonAtheAInternetAgoesAfromAtheAsourceAtoAanAISP,AintoAtheAcloud,AoutAofAtheAcloudAt
oAanotherAISP,AandAtoAitsAdestination
HowAcanAtheAgovernmentAcontrolAspeechAonAtheAInternet?A-ACORRECTAANSWERSA-
1)AItAcanAtryAtoAcontrolAtheAspeakerAorAtheAspeaker'sAISP,AbyAcriminalizingAcertainAkindsAofA
speech.AButAthatAwon'tAworkAifAtheAspeakerAisn'tAinAtheAsameAcountryAasAtheAlistener.A
2)ItAcanAtryAtoAcontrolAtheAlistener,AbyAprohibitingApossessionAofAcertainAkindsAofAmaterials.
AInAtheAU.S.,ApossessionAofAcopyrightedAsoftwareAwithoutAanAappropriateAlicenseAisAillegal,

AasAisApossessionAofAotherAcopyrightedAmaterialAwithAtheAintentAtoAprofitAfromAredistributing

Ait.A

3)ATheAgovernmentAcanAtryAtoAcontrolAtheAintermediaries.
HowAcanAInternetApostersAevadedAbeingAconvictedAforAdefamation/slanderAonAtheAWeb?A-
ACORRECTAANSWERSA-

TheApostersAcouldAevadeAresponsibilityAasAlongAasAtheyAremainedAanonymous,AasAtheyAe
asilyAcouldAonAtheAInternet.
WhatAhasACongressAgivenAISPsArelatingAtoAanAInternetADefamationAcase?A-
ACORRECTAANSWERSA-

CongressAhadAgivenAtheAISPsAaAcompleteAwaiverAofAresponsibilityAforAtheAconsequencesA
ofAfalseAandAdamag-AingAstatements,AevenAwhenAtheAISPAknewAtheyAwereAfalse.
InternetAProtocolAHourglassA-ACORRECTAANSWERSA-
EachAprotocolAinterfacesAonlyAtoAthoseAinAtheAlayersAimmediatelyAaboveAandAbelowAit,Aand

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
YourBestAcademics Oxford University
View profile
Follow You need to be logged in order to follow users or courses
Sold
33
Member since
9 months
Number of followers
4
Documents
4665
Last sold
1 week ago
A+ Your Best Academics

Thank you for visiting this page, here you will find all sort of documents, package deals and flashcards offered by Learn logic.

3.0

2 reviews

5
1
4
0
3
0
2
0
1
1

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions