AP CSP Unit 1 Test
How many total numbers can be represented with an 8-bit binary (base-2) system?
256 (2^8)
Convert the binary (base-2) number 1001 to decimal (base-10).
9
Convert the decimal (base-10) number 20 to binary (base-2).
10100
our computer uses 4 bits to represent decimal numbers (0, 1, 2, 3 and so on) in binary. What is the SMALLEST number for which an overflow error occur?
16 (4 to the second power= 4x4=16)
Best describe how computing devices represent information
A computer represents data as bits which is either a 0 or a 1
Which of the following binary (base-2) numbers is LARGEST? A. 11000000 B. 01111111 C. 00000001 D. 10111111
A. 11000000
What is NOT true of how computers represent complex information?
Abstraction helps represent complex information by surfacing complexity that might otherwise be hidden
Arman takes a picture with his smartphone which he subsequently posts online. Beatrice finds the picture online and posts a copy of it on her website with an attached Creative Commons license. Which of the following best describes who owns the photo?
Arman owns the photo because he was the original creator and did not license the work.
Which of the following is true of intellectual property?
Creative Commons enables content creators to freely distribute their otherwise copyrighted work.
What is true about lossy and lossless compression algorithms?
Lossy compression algorithms are typically better than lossless compression algorithms at reducing the number of bits needed to represent a piece of data.
Ryan is designing an app that needs to quickly send low quality photos between users. Most smartphones take much higher quality photos than Ryan needs for his app. Which answer best describes the type of compression Ryan should choose and why?
Lossy compression since it typically results in smaller data sizes.
Jorge is sending a large image file to a friend as part of a shared classroom project. Which of the following is most likely true if Jorge opts to compress the image before sending it?
The image will require fewer bits in order to be represented.
When visiting a museum Lian takes a photo of a painting with a smartphone which stores the photo as an image file. Which of the following best describes the differences between the painting itself and the photo of the painting stored on the smartphone?
The photo is a digital representation of the analog painting
Lucy is completing a project as part of a science class using materials she found online. Which of the following is MOST LIKELY to lead to legal consequences
Using images posted online by another student without permission or citation.
How do computers represent numbers?
With a fixed number of bits some numbers are too large to represent in a computer which will lead to overflow errors.