
Traversal & String Method Review
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Medium
Donna Panter
Used 87+ times
FREE Resource
Enhance your content in a minute
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The process of accessing every item in a list is considered which of the following?
for Loops
traversals
while Loops
appendItems
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A program is designed to determine the minimum value in a list of positive numbers called numList. Which of the following can be used to replace <MISSING CODE> so that the program works as intended for every possible list of positive numbers?
0
1000000
numList.length
numList[0]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the values of count1 and count2 as a result of executing the code segment?
count1 = 2,
count2 = 2
count1 = 2,
count2 = 3
count1 = 3,
count2 = 2
count1 = 5,
count2 = 0
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following will result in ONLY all the items in list being printed to the console if placed where the program reads <INSERT CODE> and the program is run?
i < list[list.length]
i < list.length
i < list[0]
i < list[1]
5.
MULTIPLE CHOICE QUESTION
0 sec • 1 pt
ages and names contain information about students in a classroom. A programmer has already written the code with that information.
Which of the following programs will result in filteredNames only containing the names of students who are 17 or older?
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If the program is run, what will be displayed in the console?
[apple, dream]
[bug, car, ear]
[bug, car, ear, food]
[apple, dream, food]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A program is designed to determine the minimum value in a list of positive numbers called numList. Which of the following can be used to replace <MISSING CODE> so that the program works as intended for every possible list of positive numbers?
0
1000000
numList.length
numList[0]
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
15 questions
MIT APP - QUIZ
Quiz
•
10th Grade
20 questions
Sistem Komputer
Quiz
•
10th Grade
15 questions
Bài 22-Kiểu dữ liệu danh sách
Quiz
•
10th Grade
20 questions
Câu hỏi ôn tập GK2
Quiz
•
9th Grade
20 questions
Skill Competition Quiz 2024
Quiz
•
10th Grade - University
20 questions
CSS - Operating System
Quiz
•
11th Grade
20 questions
Operator Aritmetika dan Perbandingan
Quiz
•
10th Grade
20 questions
Processing- The CPU Quiz
Quiz
•
10th Grade - University
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade
