AP CSP Final Exam Questions With
Revised Answers
What is the best explanation for why digital data is represented in computers in binary? -
answerIt's easier, cheaper, and more reliable to build machines and devices that only have to
distinguish between binary states.
What is the 4-bit binary ...
What is the best explanation for why digital data is represented in computers in binary? -
answer✔✔It's easier, cheaper, and more reliable to build machines and devices that only have to
distinguish between binary states.
What is the 4-bit binary number for the decimal number Ten (10)? - answer✔✔1010
What is the minimum number of bits you would need to encode the 26 letters of the alphabet
plus a space - a total of 27 characters? - answer✔✔5 bits
Number systems with different bases such as binary (base-2), octal (base-8), decimal (base-10),
and hexadecimal (base-16), are all used to view and represent digital data.
Which of the following is NOT true about representing digital data? - answer✔✔When data is
large enough computers switch to using decimal representation instead of binary, because you
can represent larger numbers with fewer digits.
Consider the following three binary numbers:
01010
010000
1110
Which of the following lists the numbers in order from least to greatest? - answer✔✔01010
1110
010000
A middle school is expanding to open a high school next year, doubling the total number of
students. The school keeps a database in which each student's unique ID number is stored as an 8
bit number called studentID. Before the arrival of the new students almost every 8 bit number
has already been assigned to a student. Of the options provided below, which is the smallest
change to the way studentID is represented necessary to ensure each incoming student receives a
unique ID? - answer✔✔Add a bit to studentID to double the number of IDs that the database can
represent.
A user clicks on a website, and it begins to load immediately, but it takes a long time to load
completely and pictures appear slowly, one by one. Which of the following is demonstrated
through this situation? - answer✔✔Low bandwidth, low latency
8 bits is enough to represent 256 different numbers. How many total bits do you need to
represent 512 (twice as many) numbers? - answer✔✔9 bits
ASCII is a character-encoding scheme that uses a numeric value to represent each character. For
example, the uppercase letter "G" is represented by the decimal (base 10) value 71. A partial list
of characters and their corresponding ASCII values are shown in the table below. (See Code.Org
Unit 1 Ch 1 Assessment Question 9)
ASCII characters can also be represented by binary numbers. According to ASCII character
encoding, which of the following letters is represented by the 8-bit binary value: 0100 0010 -
answer✔✔ASCII Character: B
Two students have developed a protocol in which they send 4-bit messages to each other. They
decide to modify their protocol to start sending 8-bit messages instead. How many more values
can be represented in an 8-bit message than a 4-bit message? - answer✔✔2⁴ = 16 times as many
values
Which of the following statements are true about routers and routing on the Internet. Choose two
answers. - answer✔✔A packet traveling between two computers on the Internet may be rerouted
many times along the way or even lost or "dropped".
Routers act independently and route packets as they see fit.
The various protocols in use on the internet are said to operate in layers in which the protocol(s)
at each layer solve one problem related to networked communication, and higher layers are built
on top of, and rely on, the lower layers to do their jobs.
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 Brightstars. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for £8.57. You're not tied to anything after your purchase.