Search Header Logo

AP CS II Principles 1st Sem

Authored by Colleen Chattaway

Computers

9th - 12th Grade

AP CS II Principles 1st Sem
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

75 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Biologists often attach tracking collars to wild animals. For each animal, the following gelocation data is collected at frequent intervals. The timeThe dateThe location of the animal Which of the following questions about a particular animal could NOT be answered using only the data collected from the tracking collars?

Approximately how many miles did the animal travel in one week?
Does the animal travel in groups with other tracked animals?
Do the movement patterns of the animal vary according to the weather?
In what geographic locations does the animal typically travel?

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following is a true statement about data compression?

Data compression is only useful for files being transmitted over the Internet.
Regardless of the compression technique used, once a data file is compressed, it cannot be restored to its original state.
Sending a compressed version of a file ensures that the contents of the file cannot be intercepted by an unauthorized user.
There are trade-offs involved in choosing a compression technique for storing and transmitting data.

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

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

about.example.com
example.co.uk
example.com.org
example.org

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Under which of the following conditions is it most beneficial to use a heuristic approach to solve a problem?

When the problem can be solved in a reasonable time and an approximate solution is acceptable
When the problem can be solved in a reasonable time and an exact solution is needed
When the problem cannot be solved in a reasonable time and an approximate solution is acceptable
When the problem cannot be solved in a reasonable time and exact solution is needed.

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following are true statements about digital certificates in Web browsers? Digital certificates are used to verify the ownership of encrypted keys used in secured communication.II. Digital certificates are used to verify that the connection to a Web site is fault tolerant.

I only
II only
I and II
Neither I and II

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

A video-streaming Web site uses 32-bit integers to count the number of times each video has been played. In anticipation of some videos being played more times than can be represented with 32 bits, the Web site is planning to change the 64-bit integers for the counter. Which of the following best describes the result of using 64-bit integers instead of 32-bit integers?

2 times as many values can be represented.
32 times as many values can be represented.
232 times as many values can be represented.
322  times as many values can be represented.

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

A programmer completes the user manual for a video game she has developed and realizes she has reversed the roles of goats and sheep throughout the text. Consider the programmer’s goal of changing all occurrences of “goats” to “sheep” and all occurrences of “sheep” to “goats.” The programmer will use the fact that the word “foxes” does not appear anywhere in the original text.Which of the following algorithms can be used to accomplish the programmer’s goal?

First, change all occurrences of “goats” to “sheep.”Then, change all occurrences of “sheep” to “goats.”
First, change all occurrences of “goats” to “sheep.”Then, change all occurrences of “sheep” to “goats.”Last, change all occurrences of “foxes” to “sheep.”
First, change all occurrences of “goats” to “foxes”Then, change all occurrences of “sheep” to “goats.”Last, change all occurrences of “foxes” to “sheep.”
First, change all occurrences of “goats” to “foxes.”Then, change all occurrences of “foxes” to “sheep.”Last, change all occurrences of “sheep” to “goats.”

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?