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 Study Guide Solutions

Rating
-
Sold
-
Pages
24
Grade
A+
Uploaded on
29-10-2024
Written in
2024/2025

AP Computer Science Principles EXAM Study Guide Solutions 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 ©EMILLECT 2024/2025 ACADEMIC YEAR. ALL RIGHTS RESERVED FIRST PUBLISH OCTOBER 2024 Page 2/24 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 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 - ANSWER-requires the list to be sorted in order and then cutting the list in half APIs - ANSWER-Application Programming Interface Citizen Science - ANSWER-Lots of people to help with a scientific project, like asking everyone around the world to count the butterflies they see one day ©EMILLECT 2024/2025 ACADEMIC YEAR. ALL RIGHTS RESERVED FIRST PUBLISH OCTOBER 2024 Page 3/24 Cloud Computing - ANSWER-Using distributed calculations and/or storage for big data or a web application Crowdsourcing - ANSWER-Asking lots of users online to help with something, like funding a project, or running SETI@Home to help look for extraterrestrial signals Creative Commons - ANSWER-An alternative to copyright that allows people to declare how they want their artistic creations to be shared, remixed, used in noncommercial contexts, and how the policy should propagate with remixed versions Open Access - ANSWER-A policy that allows people to have read access to things, e.g., libraries or online data Moore's Law - ANSWER-The # of transistors on a chip doubles every two years Peer-to-peer Networks - ANSWER-A system where one user's computer connects through the Internet to another user's computer without going through an intermediary "centralized" computer to manage the connection Digital Divide - ANSWER-The idea that some communities / populations have less access to computing than others ISP - ANSWER-Internet Service Provider ©EMILLECT 2024/2025 ACADEMIC YEAR. ALL RIGHTS RESERVED FIRST PUBLISH OCTOBER 2024 Page 4/24 How does internet communication arrive at its destination? - ANSWER-Speech on the Internet goes from the source to an ISP, into the cloud, out of the cloud to another ISP, and to its destination How can the government control speech on the Internet? - ANSWER-1) It can try to control the speaker or the speaker's ISP, by criminalizing certain kinds of speech. But that won't work if the speaker isn't in the same country as the listener. 2)It can try to control the listener, by prohibiting possession of certain kinds of materials. In the U.S., possession of copyrighted software without an appropriate license is illegal, as is possession of other copyrighted material with the intent to profit from redistributing it. 3) The government can try to control the intermediaries. How can Internet posters evaded being convicted for defamation/slander on the Web? - ANSWER- The posters could evade responsibility as long as they remained anonymous, as they easily could on the Internet. What has Congress given ISPs relating to an Internet Defamation case? - ANSWER-Congress had given the ISPs a complete waiver of responsibility for the consequences of false and damag- ing statements, even when the ISP knew they were false. Internet Protocol Hourglass - ANSWER-Each protocol interfaces only to those in the layers immediately above and below it, and all data is turned into IP bit packets in order to pass from an application to one of the physical media that make up the network. ©EMILLECT 2024/2025 ACADEMIC YEAR. ALL RIGHTS RESERVED FIRST PUBLISH OCTOBER 2024 Page 5/24 -Email, Web, Phone -SMTP, HTTP -TCP, UDP -IP -Wire, Fiber, Radio TCP - ANSWER-Transmission Control Protocol Guarantees reliable transmission by breaking messages into packets, keeping track of which packets have been received successfully, resending any that have been lost, and specifying the order for reassembling the data on the other end. UDP - ANSWER-User Datagram Protocol provides timely but unreliable message delivery HTTP - ANSWER-HyperText Transport Protocol which is used for sending and receiving web pages SMTP - ANSWER-Simple Mail Transport Protocol used for sending email. ©EMILLECT 2024/2025 ACADEMIC YEAR. ALL RIGHTS RESERVED FIRST PUBLISH OCTOBER 2024 Page 6/24 What does "End to End" mean in regards to the Internet? - ANSWER-"End to End," in the Internet, means that the switches making up the core of the network should be dumb—optimized to carry out their single limited function of passing packets. RFC - ANSWER-Request for Comment Standards adopted through a remarkable process of consensus- building, nonhierarchical in the extreme. Someone posts a proposal, and a cycle of comment and revision, of buy-in and objection, eventually converges on something useful, if not universally regarded as perfect. Shortcut for going from binary to hexadecimal - ANSWER-To translate a binary numeral (like ) to hexadecimal, start by splitting it into groups of four bits, from rig

Show more Read less
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
October 29, 2024
Number of pages
24
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

©EMILLECT 2024/2025 ACADEMIC YEAR. ALL RIGHTS RESERVED

FIRST PUBLISH OCTOBER 2024




AP Computer Science Principles EXAM

Study Guide Solutions


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

Page 1/24

, ©EMILLECT 2024/2025 ACADEMIC YEAR. ALL RIGHTS RESERVED

FIRST PUBLISH OCTOBER 2024




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 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 - ANSWER✔✔-requires the list to be sorted in order and then cutting the list in half


APIs - ANSWER✔✔-Application Programming Interface


Citizen Science - ANSWER✔✔-Lots of people to help with a scientific project, like asking everyone around

the world to count the butterflies they see one day

Page 2/24

, ©EMILLECT 2024/2025 ACADEMIC YEAR. ALL RIGHTS RESERVED

FIRST PUBLISH OCTOBER 2024




Cloud Computing - ANSWER✔✔-Using distributed calculations and/or storage for big data or a web

application


Crowdsourcing - ANSWER✔✔-Asking lots of users online to help with something, like funding a project,

or running SETI@Home to help look for extraterrestrial signals


Creative Commons - ANSWER✔✔-An alternative to copyright that allows people to declare how they

want their artistic creations to be shared, remixed, used in noncommercial contexts, and how the policy

should propagate with remixed versions


Open Access - ANSWER✔✔-A policy that allows people to have read access to things, e.g., libraries or

online data


Moore's Law - ANSWER✔✔-The # of transistors on a chip doubles every two years


Peer-to-peer Networks - ANSWER✔✔-A system where one user's computer connects through the

Internet to another user's computer without going through an intermediary "centralized" computer to

manage the connection


Digital Divide - ANSWER✔✔-The idea that some communities / populations have less access to

computing than others


ISP - ANSWER✔✔-Internet Service Provider




Page 3/24

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.
Emillect West Virginia University
View profile
Follow You need to be logged in order to follow users or courses
Sold
28
Member since
1 year
Number of followers
2
Documents
3004
Last sold
1 month ago
GOLDEN ORCHIDS STORE.

On this page, you find all documents, package deals, and flashcards offered by seller Emillect.

3.0

4 reviews

5
1
4
0
3
2
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