1/20
Use learn mode -> multiple choice questions only
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
What will be the value of sum1 after this code runs?
var START = 1;
var END = 4;
function start(){
var sum1 = 0;
for(var i = START; i <= END; i++){
sum1 += i;
}
}10
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(50, Color.purple, 200, 300);
Consider the following array:
var shoppingList = ["notebooks", "pencils", "calculator", "backpack", "markers"];Which line of code will correctly change "markers" to "colored pencils"?
shoppingList[4] = "colored pencils";
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, II, and III
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
II only
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
III only
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.81 GPA and misses 3 days of school
If x represents the area of the number line colored blue, which inequality accurately reflects the value of x?
x < 2
Karel the Dog is instructed to move forward one space. Then, if Karel is standing on a ball, Karel will turn right. Otherwise, Karel will move forward two spaces. Given the starting point below, where will Karel end up?Starting Point:
Which of the following statements are true about the Internet?
I - The entire global population has Internet access
II - Widespread use of the Internet has led to concerns around privacy and copyright
III - Internet communication uses standard protocols that are used by all devices on the Internet
IV - The Internet connects devices and networks all over the world
II, III, and IV
Which binary value is equal to the decimal number 1210/12_10?
1100_2
Consider the following program code:
var sum = 0;
for(var i = 4; i > 0; i--){
sum += i;
}
println(sum);What is the result of running this program code if sum is initialized to 1 instead?
11
Consider the following program code:
x = 9
y = 3
temp = x
x = y
y = tempWhat are the values of x and y as a result of this program code?
x has a value of 3 / y has a value of 9
What will the following code print to the screen?
println(15 + 3);18
Which of the following lists the types of copyright license from least restrictive to most restrictive?
Public Domain, Some Rights Reserved, All Rights Reserved
Which of the following best explains what happens when a new device is connected to the Internet?
An Internet Protocol (IP) address is assigned to the device.
Which of the following is a benefit of the fault-tolerant nature of Internet routing?
The ability to provide data transmission even when some connections between routers have failed
What is the latency of a system?
The time it takes for a bit to travel from sender to receiver
Which of the following best describes the difference between the domain and path of a URL?
The domain specifies where the browser’s request should be sent. The path specifies exactly what file is being requested.
What does URL stand for?
Uniform Resource Locator
Anything physical that lets a user interact with your idea is called a
Prototype