U5 Arrays/Lists Homework
Quiz
•
Computers
•
10th - 12th Grade
•
Medium
Jessica Fletcher
Used 19+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
List myList contains integer values. Which of the following code segments will remove all negative values from myList?
I only
II only
I and II
Neither I nor II
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The code segment finds the sum of all numbers, num, in the list numList. what code segment will find the product of all numbers, num, in list numList?
3.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Consider a program that attempts to store the sum of all elements in listA that are greater than the previous element. Choose corrections that must be made in order to make the code run as expected.
SELECT TWO ANSWERS.
4.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
The code displays whether a number, x, is even. Choose two things that are true about the program.
SELECT TWO ANSWERS.
The program uses Boolean algebra.
The program demonstrates searching for an item.
The program, for certain values of x, will display both "EVEN" and "NOT EVEN".
The program provides a definite answer to the question, "Is x even?".
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If myList contains the values ['b', 'i', 'n', 'a', 'r', 'y'], what does mystery(myList) display?
binary
bnry
ia
iay
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Determine the value of count if the values in numList are 1, 5, 6, 3, 3, 1.
1
2
3
4
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Determine the value of count if the values in numList are 1, 5, 6, 3, 3, 1.
1
2
3
4
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
10 questions
ICT as Platform for Change
Quiz
•
11th - 12th Grade
10 questions
emtech
Quiz
•
12th Grade
10 questions
Visual Basic 2010
Quiz
•
8th Grade - University
12 questions
1.2.4. Types of Programming Language
Quiz
•
12th Grade
11 questions
Types of Mass Media
Quiz
•
10th Grade - Professi...
10 questions
Contact Center Sevices
Quiz
•
7th - 10th Grade
15 questions
SOAL AIJ
Quiz
•
11th Grade
8 questions
Basic computer
Quiz
•
9th - 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
