
Review 1
Quiz
•
Other
•
9th - 12th Grade
•
Practice Problem
•
Easy
Joyce Lee
Used 1+ times
FREE Resource
Enhance your content in a minute
34 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
A student wrote the following program to remove all occurrences of the strings "the" and "a" from the list wordList. While debugging the program, the student realizes that the loop never terminates. Which of the following changes can be made so that the program works as intended?
Inserting index ← index + 1 between lines 6 and 7
Inserting index ← index + 1 between lines 7 and 8
Inserting index ← index - 1 between lines 6 and 7
Inserting index ← index - 1 between lines 7 and 8
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The transmission control protocol (TCP) and Internet protocol (IP) are used in Internet communication. Which of the following best describes the purpose of these protocols?
To ensure that communications between devices on the Internet are above a minimum transmission speed
To ensure that private data is inaccessible to unauthorized devices on the Internet
To establish a common standard for sending messages between devices on the Internet
To validate the ownership of encryption keys used in Internet communication
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Consider the following spinner, which is used to determine how pieces are to be moved on a game board. The region labeled "Move 1 space" is six times as large as each of the other two regions.
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
An Internet user has a need to send private data to another user. Which of the following provides the most security when transmitting private data?
Certifying the data with a Creative Commons license before sending it
Sending the data using a high-bandwidth connection
Sending the data using public-key encryption
Sending the data using redundant routing
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The following procedure is intended to return true if at least two of the three parameters are equal in value and is intended to return false otherwise. For which of the following procedure calls does the procedure NOT return the intended value?
AnyPairs ("bat", "cat", "rat")
AnyPairs ("bat", "bat", "rat")
AnyPairs ("bat", "cat", "bat")
AnyPairs ("bat", "cat", "cat")
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
In the following program, assume that the variable n has been initialized with an integer value. Which of the following is NOT a possible value displayed by the program?
too high
in range
too low
out of range
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The following algorithm is intended to determine the average height, in centimeters, of a group of people in a room. Each person has a card, a pencil, and an eraser. Step 2 of the algorithm is missing.
Step 1: All people stand up.
Step 2: (missing step)
Step 3: Each standing person finds another standing person and they form a pair. If a person cannot find an unpaired standing person, that person remains standing and waits until the next opportunity to form pairs.
Step 4: In each pair, one person hands their card to the other person and sits down.
Step 5: At this point, the standing person in each pair is holding two cards. The standing person in each pair replaces the top number on their card with the sum of the top numbers on the two cards and replaces the bottom number on their card with the sum of the bottom numbers on the two cards. The sitting partner’s card is discarded.
Step 6: Repeat steps 3–5 until there is only one person standing.
Step 7: The last person standing divides the top number by the bottom number to determine the average height.
Which of the following can be used as step 2 so that the algorithm works as intended?
Step 2: Each person writes their height, in centimeters, at the top of the card and writes the number 1 at the bottom of the card.
Step 2: Each person writes their height, in centimeters, at the top of the card and writes the number 2 at the bottom of the card.
Step 2: Each person writes the number 1 at the top of the card and writes their height, in centimeters, at the bottom of the card.
Step 2: Each person writes the number 2 at the top of the card and writes their height, in centimeters, at the bottom of the card.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
30 questions
La ciudad
Quiz
•
8th - 12th Grade
30 questions
2nd Summative Test in Research 9 (The Central Limit Theorem)
Quiz
•
9th Grade
30 questions
Soal Program Linear
Quiz
•
11th Grade
33 questions
Simulasi Tes Masuk MA
Quiz
•
9th Grade
29 questions
Encuentra a alguien que... (ES)
Quiz
•
12th Grade
29 questions
Camera Settings & Photoshop Tools Review
Quiz
•
9th - 12th Grade
30 questions
Substantivos e Adjetivos: Quiz Completo
Quiz
•
11th Grade - University
30 questions
Bulding relationships - This or that?
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Other
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
15 questions
Making Inferences
Quiz
•
7th - 12th Grade
18 questions
SAT Prep: Ratios, Proportions, & Percents
Quiz
•
9th - 10th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
12 questions
Exponential Growth and Decay
Quiz
•
9th Grade
