What will be the value of sum1 after this code runs?
AP COMPUTER SCIENCE FINAL

Quiz
•
Computers
•
11th Grade
•
Medium
Adam Dennison
Used 16+ times
FREE Resource
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
TMK Tahun 6 - Pengaturcaraan

Quiz
•
KG - 12th Grade
20 questions
iGCSE Computer Science: Internet & WWW

Quiz
•
9th - 12th Grade
20 questions
1.4.2 The Internet and the WWW

Quiz
•
10th - 11th Grade
20 questions
software

Quiz
•
9th - 12th Grade
20 questions
Technology Innovations

Quiz
•
5th - 12th Grade
20 questions
Introduction to TCP/IP

Quiz
•
11th Grade
23 questions
Web Design Part 2

Quiz
•
9th - 12th Grade
20 questions
The Internet

Quiz
•
11th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University