• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 8 pages
Exam (elaborations)

Ap Csp Final Exam Questions & Answers

Document preview thumbnail
Preview 2 out of 8 pages

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

Content preview

AP CSP Final Exam QUESTIONS &
ANSWERS
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

Which of the following BEST describes how protocols on the Internet (e.g. IP, TCP,
HTTP) make use of abstraction to accomplish their respective purposes? - ANSWER
Low level protocols can provide functionality to high level protocols without revealing the
details of how this is accomplished.

According to the domain name system (DNS), which of the following is a subdomain of
the domain example.com? - ANSWER about.example.com

Which of the following is NOT true about TCP/IP packets? - ANSWER TCP guarantees
that no packets are ever dropped

The Internet Engineering Task Force (IETF) defines the protocols and standards for
how the Internet works. The members of the IETF are: - ANSWER A loosely organized
collection of citizens and engineers.

How does a computer resolve a domain name into an IP address? - ANSWER It asks a
DNS server for the corresponding IP address

The figure (See Code.org Unit 1 Lesson 2 Assessment Question 9) represents a
network of physically linked computers labeled A through F. A line between two
computers indicates that the computers can communicate directly with each other. Any
information sent between two computers that are not directly connected must go
through at least one other computer. The weight or cost of sending information from one
computer to another is indicated by the number above the line.

For example, information can be sent directly between computers A, and B and will cost
5. Information sent between computers A and D must go through either computer C
(with total cost 5), or through computer B (with total cost 8)

Computer A sends a packet intended to reach computer F. Along its path it arrives at
Computer C. Which computer should Computer C forward the packet to in order to use
the most cost effective path? - ANSWER Computer D

Document information

Uploaded on
January 6, 2025
Number of pages
8
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
CA$16.83

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

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.
shantelleG
4.1
(119)
Sold
664
Followers
369
Items
18441
Last sold
2 days ago




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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions