Search Header Logo

AP COMPUTER SCIENCE FINAL

Authored by Adam Dennison

Computers

11th Grade

Used 17+ times

AP COMPUTER SCIENCE FINAL
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the value of sum1 after this code runs?

4

1

40

10

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If we want to draw a circle using our helpful drawCircle function at position (200, 300) with a radius of 50 and color purple, which is the correct function call?

As a reminder, here’s the function header for drawCircle:

function drawCircle(radius, color, x, y)

drawCircle(200, 300, 50, Color.purple);

drawCircle(50, Color.purple, 200, 300);

drawCircle(200, 300, Color.purple, 50);

drawCircle(radius, color, x, y);

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider the following array:

var shoppingList = ["notebooks", "pencils", "calculator", "backpack",

"markers"];

Which line of code will correctly change "markers" to "colored pencils"?

shoppingList["markers"] = "colored pencils";

shoppingList["colored pencils"] = "markers";

shoppingList[4] = "colored pencils";

shoppingList[5] = "colored pencils";

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why do we compress data?

I. To save memory space on devices

II. To speed up the time it takes to send a file over the internet

III. The computation it takes to decompress data is cheaper than the storage space required to store uncompressed data

I only

I and II

I, II, and III

III only

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following are true about Internet routing?

I. For any two points on the Internet, there exists only one path between the two points

II. Routing on the Internet is fault-tolerant and redundant

I only

II only

Both I and II

Neither I and II

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements are true about using visualizations to display a dataset?

I. Visualizations are visually appealing but don’t help the viewer understand relationships that exist in the data

II. Visualizations like graphs, charts, or visualizations with pictures are useful for conveying information, while tables just filled with text are not useful.

III. Patterns that exist in the data can be found more easily by using a visualization

I and II

II and III

I, II, and III

III only

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Alma will make the honor roll if she has at least a 3.80 GPA and misses less than 5 days of school in a year. In which of the following cases will Alma make honor roll?

Alma has a 3.84 GPA and misses 5 days of school

Alma has a 3.78 GPA and misses 2 days of school

Alma has a 3.68 GPA and misses 6 days of school

Alma has a 3.81 GPA and misses 3 days of school

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?