AP CSP Practice

AP CSP Practice

10th - 12th Grade

6 Qs

quiz-placeholder

Similar activities

T4 Homework 4 - Images - J277

T4 Homework 4 - Images - J277

10th - 12th Grade

6 Qs

R12 Digital Forensics

R12 Digital Forensics

9th - 12th Grade

11 Qs

Code.org: Unit 2 - Lesson 5-7 Vocabulary

Code.org: Unit 2 - Lesson 5-7 Vocabulary

9th - 12th Grade

10 Qs

12.3.10 Monitoring Data and Metadata Facts

12.3.10 Monitoring Data and Metadata Facts

9th - 12th Grade

10 Qs

Technical Terms - Internet (A-Z) - Download

Technical Terms - Internet (A-Z) - Download

12th Grade

10 Qs

data representation-images

data representation-images

1st - 11th Grade

10 Qs

Metadata

Metadata

3rd Grade - Professional Development

6 Qs

Podcast 101

Podcast 101

10th Grade

10 Qs

AP CSP Practice

AP CSP Practice

Assessment

Quiz

Computers

10th - 12th Grade

Medium

Created by

Jocelyn Hall

Used 83+ times

FREE Resource

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A user wants to save a data file on an online storage site. The user wants to reduce the size of the file, if possible, and wants to be able to completely restore the file to its original version. Which of the following actions best supports the user’s needs?

Compressing the file using a lossless compression algorithm before uploading it

Compressing the file using a lossy compression algorithm before uploading it

Compressing the file using both lossy and lossless compression algorithms before uploading it

Uploading the original file without using any compression algorithm

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Let n be an integer value. Which of the following expressions evaluates to true if and only if n is a two-digit integer (i.e., in the range from 10 to 99, inclusive)?

n = (n MOD 100)

(n ≥ 10) AND (n < 100)

(n < 10) AND (n ≥ 100)

(n > 10) AND (n < 99)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A team of programmers is designing software. One portion of the project presents a problem for which there is not an obvious solution. After some research, the team determines that the problem is undecidable. Which of the following best explains the consequence of the problem being undecidable?

The problem can be solved algorithmically, but it will require an unreasonably long amount of time.

The problem can be solved algorithmically, but it will require an unreasonably large amount of data storage.

There is no possible algorithm that can be used to solve all instances of the problem.

There are several different possible algorithms that can solve the problem, but there is controversy about which is the most efficient.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What are the contents of yourList after the code segment is executed?

[10, 30, 50, 70]

[20, 40, 60, 80]

[10, 30, 50, 70, 20, 40, 60, 80]

[20, 40, 60, 80, 10, 30, 50, 70]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best explains how data is typically assembled in packets for transmission over the Internet?

Each packet contains data to be transmitted, along with metadata containing information used for routing the data.

Each packet contains an encrypted version of the data to be transmitted, along with metadata containing the key needed to decrypt the data.

Each packet contains only the metadata used to establish a direct connection so that the data can be transmitted.

Each packet contains multiple data files bundled together, along with metadata describing how to categorize each data file.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following are true statements about the data that can be represented using binary sequences?


I - Binary sequences can be used to represent strings of characters.

II - Binary sequences can be used to represent colors.

III - Binary sequences can be used to represent audio recordings.

I only

I and II only

II and III only

I, II, and III